Skip to content
  1. Aug 31, 2013
  2. Aug 29, 2013
  3. Aug 28, 2013
  4. Aug 27, 2013
  5. Aug 25, 2013
    • Shankar Easwaran's avatar
      [lld][ELF] process fini_array sections · be81dd75
      Shankar Easwaran authored
      This change processes fini_array section in addition to processing
      init_array sections. This also makes functions registered at compile
      time for initialization and finalization to be run during execution
      
      llvm-svn: 189196
      be81dd75
  6. Aug 24, 2013
  7. Aug 23, 2013
    • Tim Northover's avatar
      Check for "asserts" rather than "debug" on test · 274a023d
      Tim Northover authored
      The debug flag being checked for seems to be controlled by whether the
      build is asserts/non-asserts rather than debug/non-debug. Mostly these
      correlate, but not necessarily.
      
      As far as I can tell with various combinations of debug/assetions this
      change makes no difference on autotools builds, but fixes a check-all
      failure with CMake.
      
      llvm-svn: 189147
      274a023d
    • 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] 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
  8. Aug 22, 2013
  9. Aug 13, 2013
  10. Aug 12, 2013
    • Rui Ueyama's avatar
      [PECOFF] Fixed base images now have the IMAGE_FILE_RELOCS_STRIPPED flag · 43e5fd22
      Rui Ueyama authored
      Patch by Ron Ofir.
      
      llvm-svn: 188187
      43e5fd22
    • Rui Ueyama's avatar
      [PECOFF] Trim at most one character from imported symbols. · f1ffe8ab
      Rui Ueyama authored
      The import name is not always the same as the symbol name. If the name/type
      field in the import header is NOPREFIX or UNDECORATE, we need to strip some
      characters from symbol to get its import name.
      
      The Microsoft PE/COFF spec is vague if symbol contains more than two
      consecutive characters to be stripped. We used to strip all characters,
      but it doesn't seem right as we couldn't link against the system library
      because of this name mangling. Looks like we shouldn't strip more than one
      character.
      
      llvm-svn: 188154
      f1ffe8ab
  11. Aug 09, 2013
    • Daniel Dunbar's avatar
      [tests] Update to use lit_config and lit package, as appropriate. · bc7bfb1b
      Daniel Dunbar authored
      llvm-svn: 188093
      bc7bfb1b
    • Rui Ueyama's avatar
      [PECOFF] Create __ImageBase symbol. · 908606d0
      Rui Ueyama authored
      __ImageBase is a symbol having 4 byte integer equal to the image base address
      of the resultant executable. The linker is expected to create the symbol as if
      it were read from a file.
      
      In order to emit the symbol contents only when the symbol is actually
      referenced, we created a pseudo library file to wrap the linker generated
      symbol. The library file member is emitted to the output only when the member
      is actually referenced, which is suitable for our purpose.
      
      llvm-svn: 188052
      908606d0
    • Rui Ueyama's avatar
      [PECOFF] Support COMDAT section that contains mergeable atoms. · dd72278f
      Rui Ueyama authored
      The COMDAT section is a section with a special attribute to tell the linker
      whether the symbols in the section are allowed to be merged or not. This patch
      add a function to interpret the COMDAT data and set "merge" attribute to the
      atoms accordingly.
      
      LLD supports multiple policies to merge atoms; atoms can be merged by name or
      by content. COFF supports them, and in addition to that, it supports
      choose-the-largest-atom policy, which LLD currently does not support. I simply
      mapped it to merge-by-name attribute for now, but we eventually have to support
      that policy in the core linker.
      
      llvm-svn: 188025
      dd72278f
    • Michael J. Spencer's avatar
      Update to llvm changes. · 238cc72e
      Michael J. Spencer authored
      llvm-svn: 188021
      238cc72e
  12. Aug 08, 2013
  13. Aug 02, 2013
  14. Jul 31, 2013
  15. Jul 30, 2013
  16. Jul 29, 2013
  17. Jul 27, 2013
  18. Jul 26, 2013
  19. Jul 25, 2013
Loading