Skip to content
  1. Oct 26, 2016
  2. Oct 25, 2016
  3. Oct 24, 2016
    • Peter Collingbourne's avatar
      ELF: Simplify handling of *_start/*_end symbols. · 0fab40b9
      Peter Collingbourne authored
      We were previously using the (static) addSynthetic function to create
      *_start/*_end symbols. This function was doing almost the same thing as
      addOptionalSynthetic, except that it would also create the symbol in the
      case where it is unreferenced. Because the symbol has hidden visibility,
      creating it in that case would have no effect other than adding another
      entry to the static symbol table. Remove addSynthetic and change callers to
      use addOptionalSynthetic instead.
      
      Differential Revision: https://reviews.llvm.org/D25545
      
      llvm-svn: 285021
      0fab40b9
  4. Oct 21, 2016
    • Rafael Espindola's avatar
      Compact SymbolBody from 56 to 48 bytes. · ca656239
      Rafael Espindola authored
      llvm-svn: 284878
      ca656239
    • Rafael Espindola's avatar
      Use a CachedHashString for comdats too. · 8b2c8536
      Rafael Espindola authored
      We were already using it in the larger sets/maps. This provides about
      1% speedup in linking xul and chromium.
      
      llvm-svn: 284862
      8b2c8536
    • Peter Smith's avatar
      [ELF] Add sh_link field to .ARM.exidx sections for relocatable links · 580ba95b
      Peter Smith authored
          
      When doing a relocatable link the .ARM.exidx sections with the
      SHF_LINK_ORDER flag set need to set the sh_link field to the executable
      section they describe. We find the appropriate OutputSection by
      following the sh_link field of the .ARM.exidx InputSections.
          
      The getOutputSectionName() function rules make sure that when there are
      multiple .ARM.exidx InputSections in an OutputSection they all have the
      same sh_link field.
      
      Differential revision: https://reviews.llvm.org/D25825
      
      llvm-svn: 284820
      580ba95b
    • George Rimar's avatar
      [ELF] Add DebugInfoDWARF dependency · 032fa656
      George Rimar authored
      rL284708 introduces a link error when building with BUILD_SHARED_LIBS:
      
      undefined reference to `llvm::DWARFContext::parseCompileUnits()'
      undefined reference to `llvm::DWARFContextInMemory::DWARFContextInMemory(
                                  llvm::object::ObjectFile const&,
                                  llvm::LoadedObjectInfo const*)'
      The functions are available in libDebugInfoDWARF, from llvm.
      
      Patch by Visoiu Mistrih Francis
      
      Differential revision: https://reviews.llvm.org/D25843
      
      llvm-svn: 284810
      032fa656
    • Simon Atanasyan's avatar
      [ELF][MIPS] Put local GOT entries accessed via a 16-bit index first · bed04bf1
      Simon Atanasyan authored
      Some MIPS relocations used to access GOT entries are able to manipulate
      16-bit index. The other ones like R_MIPS_CALL_HI16/LO16 can handle
      32-bit indexes. 16-bit relocations are generated by default. The 32-bit
      relocations are generated by -mxgot flag passed to compiler. Usually
      these relocation are not mixed in the same code but files like crt*.o
      contain 16-bit relocations so even if all "user's" code compiled with
      -mxgot flag a few 16-bit relocations might come to the linking phase.
      
      Now LLD does not differentiate local GOT entries accessed via a 16-bit
      and 32-bit indexes. That might lead to relocation's overflow if 16-bit
      entries are allocated to far from the beginning of the GOT.
      
      The patch introduces new "part" of MIPS GOT dedicated to the local GOT
      entries accessed by 32-bit relocations. That allows to put local GOT
      entries accessed via a 16-bit index first and escape relocation's overflow.
      
      Differential revision: https://reviews.llvm.org/D25833
      
      llvm-svn: 284809
      bed04bf1
    • Rui Ueyama's avatar
      Simplify. NFC. · 34b411f0
      Rui Ueyama authored
      llvm-svn: 284806
      34b411f0
    • Rui Ueyama's avatar
      Add comments. · 865d9865
      Rui Ueyama authored
      llvm-svn: 284805
      865d9865
    • Rui Ueyama's avatar
      Simplify by merging a lambda with addSymbol. NFC. · 27956275
      Rui Ueyama authored
      llvm-svn: 284804
      27956275
    • Rui Ueyama's avatar
      Do not create .shstrtab and use .strtab instead. · a9a2adcf
      Rui Ueyama authored
      In-memory ELF object files created here are consumed immediately,
      so as long as the generated files are syntactically correct, we don't
      care about the details.
      
      llvm-svn: 284803
      a9a2adcf
    • Rui Ueyama's avatar
      Attempt to fix buildbots. · b60d2cf4
      Rui Ueyama authored
      llvm-svn: 284790
      b60d2cf4
  5. Oct 20, 2016
Loading