Skip to content
  1. Apr 03, 2017
  2. Apr 01, 2017
    • Rui Ueyama's avatar
      Change the error format to report corrupted .eh_frame. · 3a965f7e
      Rui Ueyama authored
      llvm-svn: 299289
      3a965f7e
    • Rui Ueyama's avatar
      Change the error message format for duplicate symbols. · 810ce10b
      Rui Ueyama authored
      This patch is intended to improve readability of "duplicate symbol"
      error messages.
      
      Without this patch:
      
        /ssd/clang/bin/ld.lld: error: /ssd/llvm-project/lld/ELF/Relocations.cpp:1054: duplicate symbol 'lld::elf::demangle(llvm::StringRef)'
        /ssd/clang/bin/ld.lld: error: /ssd/llvm-project/lld/ELF/Strings.cpp:93: previous definition was here
      
      With this patch:
      
        /ssd/clang/bin/ld.lld: error: duplicate symbol: lld::elf::demangle(llvm::StringRef)
        >>> defined at Strings.cpp:93 (/ssd/llvm-project/lld/ELF/Strings.cpp:93)
        >>>            Strings.cpp.o:(lld::elf::demangle(llvm::StringRef)) in archive lib/liblldELF.a
        >>> defined at Relocations.cpp:1054 (/ssd/llvm-project/lld/ELF/Relocations.cpp:1054)
        >>>            Relocations.cpp.o:(.text+0x4C30) in archive lib/liblldELF.a
      
      Discussion thread:
      http://lists.llvm.org/pipermail/llvm-dev/2017-March/111459.html
      
      Differential Revision: https://reviews.llvm.org/D31507
      
      llvm-svn: 299280
      810ce10b
  3. Mar 31, 2017
  4. Mar 30, 2017
  5. Mar 29, 2017
  6. Mar 28, 2017
    • Rui Ueyama's avatar
      Do not set entsize for .gnu.hash. · 486369fc
      Rui Ueyama authored
      .gnu.hash happen to contain only 32-bit integers for 32-bit arch,
      but the section contents are not uniform array members, so setting
      entsize doesn't make much sense. This behavior seems to have been
      blindly copied from GNU linkers.
      
      llvm-svn: 298934
      486369fc
  7. Mar 27, 2017
    • Rui Ueyama's avatar
      Sort. · 70c8efd0
      Rui Ueyama authored
      llvm-svn: 298829
      70c8efd0
    • Rui Ueyama's avatar
      Simplify. NFC. · ceb5bd59
      Rui Ueyama authored
      This patch calls getAddend on a relocation only when the relocation is RELA.
      That doesn't really improve runtime performance but should improve
      readability as the code now matches the function description.
      
      llvm-svn: 298828
      ceb5bd59
  8. Mar 26, 2017
Loading