[PATCH] gold/arm: define $a/$d markers in .plt

David Miller davem@davemloft.net
Thu Apr 26 00:08:00 GMT 2012


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.



More information about the Binutils mailing list