Skip to content
  1. Apr 05, 2017
  2. Apr 04, 2017
    • Rafael Espindola's avatar
      Don't resolve hidden undef to a DSO. · 8465d083
      Rafael Espindola authored
      The ELF spec says:
      
      all of the non-default visibility attributes, when applied to a symbol
      reference, imply that a definition to satisfy that reference must be
      provided within the current executable or shared object.
      
      But we were trying to resolve those undef references to shared
      symbols. That causes odd results like creating a got entry with
      a relocation pointing to 0.
      
      llvm-svn: 299464
      8465d083
    • James Henderson's avatar
      [ELF] Fail the link early if the map file path is invalid · b7a90ef4
      James Henderson authored
      As with the changes made in r297645, we do not want a potentially long link to
      be run, if it will ultimately fail because the map file is not writable. This
      change reuses the same functionality as the output file path check. See
      https://reviews.llvm.org/D30449 for further justification and explanations.
      
      Reviewers: ruiu
      
      Differential Revision: https://reviews.llvm.org/D31603
      
      llvm-svn: 299420
      b7a90ef4
    • Peter Smith's avatar
      [ELF] Rename ARM Thunks in anticipation of Range Thunks · 6308ac22
      Peter Smith authored
          
      The existing names for the ARM and Thumb Thunks highlight their current
      use as interworking Thunks. These Thunks can also be used for range
      extension Thunks where there is no state change. This change makes the name
      more generic so it is suitable for range extension.
      
      Differential Revision: https://reviews.llvm.org/D31605
      
      llvm-svn: 299418
      6308ac22
  3. Apr 03, 2017
  4. 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
  5. Mar 31, 2017
Loading