[lld] r261838 - [ELF2] - Basic implementation of -r/--relocatable
Joerg Sonnenberger via llvm-commits
llvm-commits at lists.llvm.org
Tue Mar 1 07:58:21 PST 2016
On Tue, Mar 01, 2016 at 03:37:07PM +0000, George Rimar via llvm-commits wrote:
> > 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.
That sounds like a bug to me. I would strongly expect them to be *not*
generated and wouldn't be surprised if it creates problems down the
line.
Joerg
More information about the llvm-commits
mailing list