[PATCH] D13385: [ELF2] Add -init and -fini switches

Igor Kudrin via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 2 07:49:16 PDT 2015


ikudrin created this revision.
ikudrin added reviewers: rafael, ruiu.
ikudrin added a subscriber: llvm-commits.
ikudrin added a project: lld.

Add DT_INIT and DT_FINI entries to the dynamic table section if corresponding symbols are defined, "_init" and "_fini" respectively.
Symbol names can be overridden by using -init and -fini command line switches.

http://reviews.llvm.org/D13385

Files:
  ELF/Config.h
  ELF/Driver.cpp
  ELF/Options.td
  ELF/OutputSections.cpp
  ELF/OutputSections.h
  ELF/Writer.cpp
  test/elf2/init-fini.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D13385.36364.patch
Type: text/x-patch
Size: 6630 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151002/3d74b017/attachment-0001.bin>


More information about the llvm-commits mailing list