ARM long branch stubs: shared libs
Daniel Jacobowitz
drow@false.org
Wed Apr 1 15:41:00 GMT 2009
On Thu, Mar 12, 2009 at 03:48:13PM +0100, Christophe LYON wrote:
> Here is a slightly updated patch, which preserves the original behavior
> with undefined symbols when not generating a shared lib.
Sorry for not responding earlier.
> + else if (hash->root.root.type == bfd_link_hash_undefweak)
> /* For a shared library, these will need a PLT stub,
> which is treated separately.
> For absolute code, they cannot be handled. */
> continue;
> + else if (hash->root.root.type == bfd_link_hash_undefined)
> + {
Why should undefined and weak undefined symbols be handled
differently? That's usually a mistake. Take your test case for this
issue and mark the undefined symbol with ".weak".
--
Daniel Jacobowitz
CodeSourcery
More information about the Binutils
mailing list