glibc/sysdeps/unix/sysv/linux/arm
Florian Weimer ce1e5b1122 arm: Guard ucontext _rtld_global_ro access by SHARED, not PIC macro
Due to PIE-by-default, PIC is now defined in more cases.  libc.a
does not have _rtld_global_ro, and statically linking setcontext
fails.  SHARED is the right condition to use, so that libc.a
references _dl_hwcap instead of _rtld_global_ro.

For static PIE support, the !SHARED case would still have to be made
PIC.  This patch does not achieve that.

Fixes commit 23645707f1
("Replace --enable-static-pie with --disable-default-pie").

Reviewed-by: Siddhesh Poyarekar <siddhesh@sourceware.org>
Reviewed-by: Szabolcs Nagy <szabolcs.nagy@arm.com>
2021-12-17 11:48:44 +01:00
..
be math: Remove the error handling wrapper from hypot and hypotf 2021-12-13 10:08:46 -03:00
bits nptl: Add rseq registration 2021-12-09 09:49:32 +01:00
le math: Remove the error handling wrapper from hypot and hypotf 2021-12-13 10:08:46 -03:00
sys Add PTRACE_GET_RSEQ_CONFIGURATION from Linux 5.13 to sys/ptrace.h 2021-08-09 16:51:38 +00:00
Implies
Makefile nptl: Remove remaining code from libpthread 2021-05-21 22:35:01 +02:00
Versions
____longjmp_chk.S arm: Fix an incorrect check in ____longjmp_chk [BZ #27709] 2021-04-12 14:28:07 +01:00
aeabi_read_tp.S
arch-syscall.h Update syscall lists for Linux 5.15 2021-11-10 15:21:19 +00:00
arm-features.h
atomic-machine.h
c++-types.data
clone.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
dl-cache.h
dl-machine.h
dl-procinfo.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
dl-procinfo.h Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
fixup-asm-unistd.h
getcontext.S arm: Guard ucontext _rtld_global_ro access by SHARED, not PIC macro 2021-12-17 11:48:44 +01:00
ioperm.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
kernel-features.h
kernel_stat.h linux: Set default kernel_stat.h to LFS 2021-02-11 07:58:05 -03:00
ldconfig.h
ldsodefs.h
libc-do-syscall.S
libc_sigaction.c signal: Add __libc_sigaction 2021-03-18 15:54:39 -03:00
localplt.data mtrace: Wean away from malloc hooks 2021-07-22 18:38:06 +05:30
makecontext.c
profil-counter.h
readelflib.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
register-dump.h Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
setcontext.S arm: Guard ucontext _rtld_global_ro access by SHARED, not PIC macro 2021-12-17 11:48:44 +01:00
shlib-versions
sigcontextinfo.h Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
sigrestorer.S
swapcontext.S
syscall.S
syscalls.list linux: Add prlimit64 C implementation 2021-11-30 13:13:03 -03:00
sysdep.S
sysdep.h Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
time64-compat.h y2038: Add support for 64-bit time on legacy ABIs 2021-06-15 10:42:11 -03:00
tls.h
ucontext_i.sym
vfork.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30