mirror of git://sourceware.org/git/glibc.git
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
|
||
---|---|---|
.. | ||
be | ||
bits | ||
le | ||
sys | ||
Implies | ||
Makefile | ||
Versions | ||
____longjmp_chk.S | ||
aeabi_read_tp.S | ||
arch-syscall.h | ||
arm-features.h | ||
atomic-machine.h | ||
c++-types.data | ||
clone.S | ||
dl-cache.h | ||
dl-machine.h | ||
dl-procinfo.c | ||
dl-procinfo.h | ||
fixup-asm-unistd.h | ||
getcontext.S | ||
ioperm.c | ||
kernel-features.h | ||
kernel_stat.h | ||
ldconfig.h | ||
ldsodefs.h | ||
libc-do-syscall.S | ||
libc_sigaction.c | ||
localplt.data | ||
makecontext.c | ||
profil-counter.h | ||
readelflib.c | ||
register-dump.h | ||
setcontext.S | ||
shlib-versions | ||
sigcontextinfo.h | ||
sigrestorer.S | ||
swapcontext.S | ||
syscall.S | ||
syscalls.list | ||
sysdep.S | ||
sysdep.h | ||
time64-compat.h | ||
tls.h | ||
ucontext_i.sym | ||
vfork.S |