[PATCH] D29636: [ELF] - Added partial support for --emit-relocs (no --gc-section case) #2

George Rimar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 7 05:51:20 PST 2017


grimar created this revision.

It is close to https://reviews.llvm.org/D29273, but has different implementation of filtering out
.rel[a] sections if target section was discarded.

Also testcase was simplified.


https://reviews.llvm.org/D29636

Files:
  ELF/Config.h
  ELF/Driver.cpp
  ELF/InputFiles.cpp
  ELF/InputSection.cpp
  ELF/LinkerScript.cpp
  ELF/Options.td
  ELF/OutputSections.cpp
  ELF/Writer.cpp
  test/ELF/Inputs/emit-relocs.s
  test/ELF/emit-relocs-gc.s
  test/ELF/emit-relocs.s
  test/ELF/linkerscript/emit-reloc-discard.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D29636.87406.patch
Type: text/x-patch
Size: 11419 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170207/7ac2cc3b/attachment.bin>


More information about the llvm-commits mailing list