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

--- Comment #4 from Cary Coutant <ccoutant at gmail dot com> ---
(In reply to Cary Coutant from comment #3)
> (In reply to Rafael Ávila de Espíndola from comment #1)
> > The issue in gold can be avoided by making the declaration hidden:
> > 
> >         .section bar, "a"
> >         .hidden __start_bar
> >         .quad __start_bar
> > 
> > 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.

-- 
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