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: [PATCH] gold/arm: define $a/$d markers in .plt


On Thu, Apr 19, 2012 at 5:39 PM, Cary Coutant <ccoutant@google.com> wrote:
> I'd argue that if those symbols need to be referenced by name, they
> should be defined as STB_GLOBAL instead of STB_LOCAL. I could be
> wrong, though. If I am, sorry, I guess you'll need to revert to the
> separate method you had before.

These are forced-local cases.  They are considered global at link time,
but must not be global in the dynamic symbol table.  I verified that my
change is indeed a regression for a direct reference to _GLOBAL_OFFSET_TABLE_.

I'm not going to bother reworking the patch yet again until we hear from
Ian that one flavor or another would actually be accepted.


Thanks,
Roland


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