Skip to content
  1. Aug 27, 2013
  2. Aug 26, 2013
  3. Aug 25, 2013
  4. Aug 24, 2013
  5. Aug 23, 2013
    • Shankar Easwaran's avatar
      [lld][ELF] Dont ignore zero sized sections. · f9fe6250
      Shankar Easwaran authored
      There may be relocations that may be pointing to the section
      even if the section sizes are 0. We shouldnot ignore them
      for that regard.
      
      llvm-svn: 189139
      f9fe6250
    • Shankar Easwaran's avatar
      [lld][ELF][Cleanup] Section associated with the relocation traversed · 78457803
      Shankar Easwaran authored
      There is no change in functionality, this uses the defined way to access
      the relocation section that belongs to a particular section.
      
      llvm-svn: 189138
      78457803
    • Shankar Easwaran's avatar
      [lld][ELF] Rename typeTLV content type for ELF · d9e0a493
      Shankar Easwaran authored
      typeTLV content type is used by Darwin to represent thread local
      storage. A new contentType has to be made to represent ELF
      thread local storage data. These have been set to
      
      - typeThreadZeroFill (represents TBSS storage)
      - typeThreadData     (represents TDATA storage)
      
      llvm-svn: 189137
      d9e0a493
    • Shankar Easwaran's avatar
      [lld] handle typeZeroFill atoms in ELF/Native/YAML · d17ba4bd
      Shankar Easwaran authored
      BSS atoms dont take any file space in the Input file. They are associated
      with a contentType(typeZeroFill). Similiar zero fill types also exist which
      have the same meaning in terms of occupying file space in the Input.
      
      These atoms have to be handled seperately when writing to the
      lld's intermediate file or the lld test infrastructure.
      
      Also adds a test.
      
      llvm-svn: 189136
      d17ba4bd
  6. Aug 22, 2013
  7. Aug 13, 2013
  8. Aug 12, 2013
  9. Aug 09, 2013
  10. Aug 07, 2013
  11. Aug 03, 2013
    • Rui Ueyama's avatar
      Remove unused using's. · 05f1ae98
      Rui Ueyama authored
      llvm-svn: 187690
      05f1ae98
    • Rui Ueyama's avatar
      [PECOFF] Move more code from Atoms.h to ReaderCOFF.cpp. · 707754f3
      Rui Ueyama authored
      llvm-svn: 187688
      707754f3
    • Rui Ueyama's avatar
      [PECOFF] Remove special treatment of "--" option. · 35947af0
      Rui Ueyama authored
      Thanks to Hans' patch (r187675), OptTable now handles "--", so we don't
      need this code in LLD.
      
      llvm-svn: 187683
      35947af0
    • Rui Ueyama's avatar
      [PECOFF] Remove COFFDefinedFileAtom::originalOffset(). · f6e90afb
      Rui Ueyama authored
      The aim of this patch is to reduce the dependency from COFFDefinedAtom
      to COFF structs defined in llvm/Object/COFF.h. Currently many attributes
      of the atom are computed in the atom. That provide a simple interface but
      does not work well in some cases.
      
      There are some cases that the same type atom is created from different
      parts of a COFF file. One example is the BSS atom, which can be created
      from the defined symbol in the .bss section or from the undefined symbol.
      Computing attributes from different sources in the atom complicates the
      code. We should compute it outside the atom.
      
      In the next patch, I'll move more code from Atoms.h to ReaderCOFF.cpp.
      
      llvm-svn: 187681
      f6e90afb
  12. Aug 02, 2013
    • Rui Ueyama's avatar
      [PECOFF] Handle .drectve section. · 4ecc59af
      Rui Ueyama authored
      Summary:
      The .drectve section contains linker command line options, and the linker is
      expected to interpret them as if they were given via the command line. In this
      patch, the command line parser in the driver is called from the object file
      reader to parse the string.
      
      I think this patch is important, because this is the first step towards mutable
      TargetInfo. We had a discussion about that on llvm-commits mailing list before.
      I haven't removed "const" from the function signature yet. Instead, I just use
      cast to remove "const". This is a temporary aid for an experiment. If we don't
      see any issue with this mutable TargetInfo appraoch, I'll change the function
      signature, and rename the class LinkerContext from TargetInfo.
      
      Reviewers: kledzik
      
      CC: llvm-commits
      
      Differential Revision: http://llvm-reviews.chandlerc.com/D1246
      
      llvm-svn: 187677
      4ecc59af
Loading