Skip to content
  1. Nov 23, 2016
  2. Nov 22, 2016
  3. Nov 21, 2016
    • Rafael Espindola's avatar
      Use the correct page size. · 28d5f059
      Rafael Espindola authored
      Config->MaxPageSize is what we use for the segment alignment, so that
      is the one that we have to use for placing the header.
      
      llvm-svn: 287569
      28d5f059
    • Rafael Espindola's avatar
      Fix address computation for headers. · 1c57007e
      Rafael Espindola authored
      If the linker script has SECTIONS, the address computation is now
      always done in LinkerScript::assignAddresses, like for any other
      section.
      
      Before fixHeaders would do a tentative computation that
      assignAddresses would sometimes override.
      
      This patch also splits the cases where assignAddresses needs to add
      the headers to the first PT_LOAD and the address computation. The net
      effect is that we no longer create an empty page for no reason in the
      included test case, which matches bfd behavior.
      
      llvm-svn: 287565
      1c57007e
    • Rui Ueyama's avatar
      Move a function definition to SyntheticSections.cpp. · b38ddb15
      Rui Ueyama authored
      This should have been moved along with r287554.
      
      llvm-svn: 287564
      b38ddb15
Loading