https://sourceware.org/bugzilla/show_bug.cgi?id=22269
Szabolcs Nagy <nszabolcs at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |nszabolcs at gmail dot com
--- Comment #36 from Szabolcs Nagy <nszabolcs at gmail dot com> ---
on arm with -static -pie
extern int foo __attribute ((weak));
int
_start ()
{
if (&foo)
return foo;
}
has a R_*_RELATIVE reloc which is wrong in pie for undef weak syms.
i think the ld-elf/pr22269-1.rd test should reject relative relocs too.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
bug-binutils mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-binutils