glibc/sysdeps/generic
Carlos O'Donell da53d6dbc2 Run check-localpltk/textrel/execstack over ld.so.
For maximum paranoia we run ld.so through the normal set
of tests for all of the shared libraries. This includes
running ld.so through check-localplt, check-textrel, and
check-execstack. While none of these should trigger any
failures given the way ld.so is built, it might possibly
fail if a developer does something wrong. This paranoia
was triggered by a discussion over the use of __strcpy
vs. strcpy [1] and if the symbol could leak and use the
libc.so version.

The check-localplt test fails right away because localplt.data
needs updating for all arches. By default we add 6 new symbols:
__tls_get_addr, __libc_memalign, malloc, calloc, realloc and
free. Other machines like i386, power, and s390 require some
different symbol sets e.g. ___tls_get_addr vs. __tls_get_addr
for i386.

Verified for i386
Verified for x86_64
Verified for ppc32
Verified for ppc64
Verified for ppc64le
Verified for arm
Verified for aarch64
Verified for s390
Verified for s390x
Guessed for alpha
Guessed for ia64
Guessed for m68k
Guessed for microblaze
Guessed for sparc32
Guessed for sparc64
Defaults for sh
Defaults for mips
Defaults for hppa
Defaults for tile

Machine manintainers notified to double check the data
used in localplt.data.

[1] https://sourceware.org/ml/libc-alpha/2014-10/msg00548.html
2014-11-06 15:48:44 -05:00
..
bits Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
net Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
netinet Combine __USE_BSD and __USE_SVID into __USE_MISC. 2014-02-12 23:41:01 +00:00
nfs Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
sys Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
_G_config.h
_itoa.h Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
a.out.h
abort-instr.h Use __builtin_trap for ABORT_INSTRUCTION. 2014-07-31 13:07:19 -07:00
aio_misc.h Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
allocalim.h
asm-syntax.h
confstr.h
device-nrs.h Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
dirstream.h Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
dl-cache.h Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
dl-dtprocnum.h Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
dl-fptr.h Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
dl-hash.h Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
dl-irel.h Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
dl-librecon.h Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
dl-lookupcfg.h Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
dl-machine.h Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
dl-osinfo.h Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
dl-procinfo.c
dl-procinfo.h Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
dl-sysdep.h Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
dl-tls.h
dwarf2.h Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
elide.h Add fallback file for elide.h 2014-06-14 09:27:09 -07:00
eloop-threshold.h Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
entry.h
errqueue.h
exit-thread.h Clean up __exit_thread. 2014-05-13 09:49:20 -07:00
fd_to_filename.h Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
fips-private.h Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
fork.h
fpu_control.h Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
frame.h Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
framestate.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
gcc-compat.h ARM: Disable compat mcount code when unneeded. 2014-01-10 13:32:35 -08:00
gccframe.h Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
get-rounding-mode.h Add missing #include in get-rounding-mode.h 2014-06-23 14:07:59 -07:00
gmp-mparam.h Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
hp-timing-common.h Unify hp-timing implementations 2014-07-03 08:38:30 -07:00
hp-timing.h Always provide HP_SMALL_TIMING_AVAIL 2014-07-03 08:38:36 -07:00
ifreq.h Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
ifunc-sel.h
intr-msg.h
inttypes.h Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
ldconfig.h Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
ldsodefs.h Remove INTDEF / INTUSE / INTVARDEF (bug 14132). 2014-11-05 23:35:36 +00:00
libc-mmap.h Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
libcidn.abilist
libm-test-ulps
libnss_compat.abilist
libnss_db.abilist
libnss_dns.abilist
libnss_files.abilist
libnss_hesiod.abilist
libnss_nis.abilist
libnss_nisplus.abilist
local-setxid.h
localplt.data Run check-localpltk/textrel/execstack over ld.so. 2014-11-06 15:48:44 -05:00
machine-gmon.h Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
machine-lock.h Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
machine-sp.h Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
Makefile Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
malloc-machine.h Avoid comma operator warnings. 2014-02-07 15:26:28 -08:00
malloc-sysdep.h Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
math_ldbl_opt.h
math_ldbl.h
math_private.h Add generic HAVE_RM_CTX implementation 2014-06-23 17:29:00 +01:00
math-tests.h Add fenv test support for targets which don't have FP traps. 2014-04-17 09:39:27 +01:00
memcopy.h Add comment for MEMCPY_OK_FOR_FWD_MEMMOVE 2014-07-05 01:09:15 +05:30
memusage.h Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
not-cancel.h Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
nscd-types.h Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
pagecopy.h Fix -Wundef warning on PAGE_COPY_THRESHOLD 2014-07-03 01:49:43 +05:30
paths.h
profil-counter.h Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
pty-private.h Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
register-dump.h Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
rtld-lowlevel.h
safe-fatal.h Add __safe_fatal and use it in __pthread_unwind forwarder fallback. 2014-07-31 14:00:33 -07:00
sigcontextinfo.h Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
siglist.h Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
sigset-cvt-mask.h Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
stackguard-macros.h
stackinfo.h Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
stdint.h S390: Define SIZE_MAX as unsigned long (BZ #16712). 2014-03-24 16:59:01 +01:00
symbol-hacks.h More fixes for unsafe compiler optimization 2014-04-30 08:41:42 -05:00
sysdep-cancel.h
sysdep.h Remove configure tests for assembler CFI support. 2014-06-26 17:33:32 +00:00
testrtsig.h Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
thread_state.h Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
tininess.h Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
tls-macros.h
tls.h Remove second argument from TLS_INIT_TP macro 2014-05-27 14:48:46 +02:00
tst-audit.h
tst-stack-align.h Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
unsecvars.h
unwind-dw2-fde-glibc.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
unwind-dw2-fde.c Don't use INTDEF/INTUSE in unwind-dw2-fde.c (bug 14132). 2014-10-28 17:12:57 +00:00
unwind-dw2-fde.h Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
unwind-dw2.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
unwind-pe.c
unwind-pe.h Fix Wundef warning for __cplusplus 2014-07-09 10:36:23 +05:30
unwind.h Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
utmp-equal.h Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00