https://sourceware.org/bugzilla/show_bug.cgi?id=19140

--- Comment #5 from Rafael Ávila de Espíndola <rafael.espindola at gmail dot 
com> ---
 > > > Produces a R_X86_64_RELATIVE. Unfortunately that doesn't work with bfd.
> > 
> > It works in my experiments.
> 
> I should qualify that by saying it "works" in the sense that I see an
> absolute R_X86_64_64 relocation instead of RELATIVE, but it ought to have
> the same effect.

That would still be a problem if multiple shared libraries have sections with
the same name.

Given that with gold one can use ".hidden __start_foo" to get the desired
result, I would call the current behavior odd but workable, so no need to
change.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to