This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Sort relocs output by ld -r


On Wed, Mar 18, 2015 at 06:34:10AM -0700, H.J. Lu wrote:
> On Wed, Mar 18, 2015 at 6:20 AM, Alan Modra <amodra@gmail.com> wrote:
> > a127494f Use dynamic text relocs for protected vars
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> 
> I believe you should fix linker and glibc properly instead.
> But it is your call.

This is really a fall-back.  I agree that your fix is the way to go,
but wish there was some inexpensive way for the linker to detect
shared libs that can support protected visibility data in .dynbss.

-- 
Alan Modra
Australia Development Lab, IBM


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]