|
From: | nszabolcs at gmail dot com |
Subject: | [Bug ld/22269] Undefined weak symbols isn't resolved to 0 in static PIE |
Date: | Mon, 21 Oct 2019 18:08:26 +0000 |
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.
[Prev in Thread] | Current Thread | [Next in Thread] |