[lld] r261838 - [ELF2] - Basic implementation of -r/--relocatable

George Rimar via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 1 07:37:07 PST 2016


> I believe that the resulting object files with this patch contains some linker-synthesized symbols such as __init_array_start or __start_<section-name>. Is this expected?

So, returning to this,
gold also generates __start_/_end_?<section-name> for relocatable output.

and also such symbols as:

 __preinit_array_start
__preinit_array_end
 __init_array_start
__init_array_end
__fini_array_start
__fini_array_end?

So that is not an issue.

I am working on another patches for -r thought. I will also publish a patch with testcases for above symbols soon.

George.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160301/6f55eea4/attachment.html>


More information about the llvm-commits mailing list