Skip to content
  1. Sep 13, 2013
    • Rui Ueyama's avatar
      [PECOFF] Fix alignment bug. · a8ce9529
      Rui Ueyama authored
      There was a bug that if a section has an alignment requirement and there are
      multiple symbols at offset 0 in the section, only the last atom at offset 0
      would be aligned properly. That bug would move only the last symbol to an
      alignment boundary, leaving other symbols unaligned, although they should be at
      the same location. That caused a mysterious SEGV error of the resultant
      executable.
      
      With this patch, we manage all symbols at the same location properly, rather
      than keeping the last one.
      
      llvm-svn: 190724
      a8ce9529
    • Rui Ueyama's avatar
      [PECOFF] Fix atom default alignment. · 1ea9b977
      Rui Ueyama authored
      Alignment(1) does not mean that the atom should be aligned on a 1 byte
      boundary but on a 2^1 boundary. So, atoms without any specific alignment
      requirements should have Alignment(0).
      
      llvm-svn: 190723
      1ea9b977
    • Joerg Sonnenberger's avatar
      Add test case for the not-yet implemented copy relocations. · 3c6b0561
      Joerg Sonnenberger authored
      llvm-svn: 190714
      3c6b0561
    • Shankar Easwaran's avatar
      [lld][ELF] Handle multiple weak symbols · 2a92c18b
      Shankar Easwaran authored
      This handles multiple weak symbols which appear back to back. This fix is needed
      which otherwise will lead to symbols getting initialized to arbitrary values.
      
      There was a constructor/destructor test that really triggered this to be fixed
      on X86_64.
      
      Adds a test.
      
      llvm-svn: 190658
      2a92c18b
  2. Sep 12, 2013
  3. Sep 11, 2013
  4. Sep 10, 2013
  5. Sep 09, 2013
  6. Sep 08, 2013
  7. Sep 07, 2013
  8. Sep 06, 2013
  9. Sep 05, 2013
  10. Sep 04, 2013
    • Shankar Easwaran's avatar
      [lld][ELF] Differentiate between Note sections(RW/RO) · 8c705690
      Shankar Easwaran authored
      It looks like there is a possibility of seeing RO/RW note sections
      and we would need to create an appropriate RO/RW segment associated
      with them.
      
      Adds a test too.
      
      llvm-svn: 189907
      8c705690
    • Rui Ueyama's avatar
      [PECOFF] Ignore options starting with -? · 959aebf8
      Rui Ueyama authored
      The compiler is allowed to add a linker option starting with -?<name> to
      .drectve section. If the linker can interpret -<name>, it's processed as if
      there's no question mark there. If not, such option is silently ignored.
      
      This is a COFF's feature to allow the compiler to emit new linker options
      while keeping compatibility with older linkers.
      
      llvm-svn: 189897
      959aebf8
Loading