glibc/sysdeps
Fangrui Song 094618d401 x86_64: Remove unneeded static PIE check for undefined weak diagnostic
https://sourceware.org/bugzilla/show_bug.cgi?id=21782 dropped an ld
diagnostic for R_X86_64_PC32 referencing an undefined weak symbol in
-pie links.  Arguably keeping the diagnostic like other ports is more
correct, since statically resolving movl foo(%rip), %eax to the
link-time zero address produces a corrupted output.

It turns out that --enable-static-pie builds do not depend on the ld
behavior. GCC generates GOT indirection for weak declarations for
-fPIE/-fPIC, so what ld does with the PC-relative relocation doesn't
really matter.

Reviewed-by: H.J. Lu <hjl.tools@gmail.com>
(cherry picked from commit 115d242456)
2021-08-18 13:45:27 -07:00
..
aarch64 aarch64: Fix DT_AARCH64_VARIANT_PCS handling [BZ #26798] 2020-11-04 12:23:20 +00:00
alpha Add libm_alias_finite for _finite symbols 2020-01-03 10:02:04 -03:00
arm arm: CVE-2020-6096: Fix multiarch memcpy for negative length [BZ #25620] 2020-07-14 15:46:21 -04:00
csky Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
generic mips: Fix bracktrace result for signal frames 2020-03-30 23:18:26 +02:00
gnu Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
hppa Add new file missed in previous hppa commit. 2020-05-04 21:56:38 +02:00
htl htl: Add internal version of __pthread_mutex_timedlock 2020-01-13 20:41:07 +01:00
hurd Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
i386 x86: Check IFUNC definition in unrelocated executable [BZ #20019] 2021-01-13 14:02:11 -08:00
ia64 Linux: Use system call tables during build 2020-01-02 10:18:23 +01:00
ieee754 math/test-sinl-pseudo: Use stack protector only if available 2020-03-11 12:25:15 +01:00
init_array Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
m68k Add libm_alias_finite for _finite symbols 2020-01-03 10:02:04 -03:00
mach htl: Add internal version of __pthread_mutex_timedlock 2020-01-13 20:41:07 +01:00
microblaze Linux: Use system call tables during build 2020-01-02 10:18:23 +01:00
mips MIPS: Fix circular definition of __LDBL_MANT_DIG__ in ieee754.h 2020-01-08 14:28:23 -05:00
nios2 Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
nptl nptl: Avoid using PTHREAD_MUTEX_DEFAULT in macro definition [BZ #25271] 2020-01-30 15:54:49 +01:00
posix posix: Fix system error return value [BZ #25715] 2020-03-24 09:15:19 -03:00
powerpc powerpc64: Workaround sigtramp vdso return call 2021-03-08 11:16:27 -03:00
pthread Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
riscv Add libm_alias_finite for _finite symbols 2020-01-03 10:02:04 -03:00
s390 S390: Also check vector support in memmove ifunc-selector [BZ #27511] 2021-03-26 11:01:51 +01:00
sh sh: Add sh4 fpu Implies folder 2020-11-27 09:34:02 -03:00
sparc Add libm_alias_finite for _finite symbols 2020-01-03 10:02:04 -03:00
unix sh: Add sh4 fpu Implies folder 2020-11-27 09:34:02 -03:00
wordsize-32 Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
wordsize-64 Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
x86 x86: Set header.feature_1 in TCB for always-on CET [BZ #27177] 2021-01-13 08:21:58 -08:00
x86_64 x86_64: Remove unneeded static PIE check for undefined weak diagnostic 2021-08-18 13:45:27 -07:00