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


From: Cary Coutant <ccoutant@google.com>
Date: Wed, 25 Apr 2012 14:59:00 -0700

> Sorry, I don't really understand the issue. You've explained that
> dynamic relocations for STB_LOCAL symbols need to have st_value in
> r_addend, and that you have a test for forced_local() in the
> Scan::global() code. But that test is an assertion,

Look 3 lines above the assertion, I test for forced_local in the
actual if() statement as well.  Which in effect does already what
you're suggesting, which is use a relative relocation in these
situations and thus end up triggering all of the symbolless logic.


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