[PATCH] D17774: [ELF] - do not create special symbols when creating relocatable output

George Rimar via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 1 09:50:59 PST 2016


grimar created this revision.
grimar added reviewers: ruiu, rafael.
grimar added subscribers: llvm-commits, grimar.

__start_/_end_​<section-name> symbols and such ones like :
 __preinit_array_start/end
 __init_array_start/end
__fini_array_start/end

should not be created by linker when creating relocatable files.
Patch fixes that, testcase is provided.

http://reviews.llvm.org/D17774

Files:
  ELF/Writer.cpp
  test/ELF/relocatable-symbols.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D17774.49504.patch
Type: text/x-patch
Size: 6306 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160301/c0e36ec6/attachment.bin>


More information about the llvm-commits mailing list