bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug gold/19140] __star_* and __stop_* symbols show up in dynamic reloca


From: ccoutant at gmail dot com
Subject: [Bug gold/19140] __star_* and __stop_* symbols show up in dynamic relocation
Date: Fri, 16 Oct 2015 22:02:59 +0000

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.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]