This is the mail archive of the
mailing list for the binutils project.
Re: [PATCH] gold/arm: define $a/$d markers in .plt
From: Cary Coutant <email@example.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.