[PATCH] D29663: [ELF] - Added partial support for --emit-relocs (no --gc-section case, no /DISCARD/ support) #3

George Rimar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 7 09:40:07 PST 2017


grimar created this revision.

-q, --emit-relocs - Generate relocations in output

This patch is extracted from https://reviews.llvm.org/D28612/https://reviews.llvm.org/D29636,

Simplest implementation: no GC case, no "/DISCARD/" linkerscript command support.

Relative to PR31579.


https://reviews.llvm.org/D29663

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: D29663.87472.patch
Type: text/x-patch
Size: 10558 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170207/caea5293/attachment.bin>


More information about the llvm-commits mailing list