glibc/ports/sysdeps/hppa
Guy Martin daf75146de Don't use broken DL_AUTO_FUNCTION_ADDRESS()
On hppa and ia64, the macro DL_AUTO_FUNCTION_ADDRESS() uses the
variable fptr[2] in it's own scope.

The content of fptr[] is thus undefined right after the macro exits.
Newer gcc's (>= 4.7) reuse the stack space of this variable triggering
a segmentation fault in dl-init.c:69.

To fix this we rewrite the macros to make the call directly to init
and fini without needing to pass back a constructed function pointer.
2013-11-21 15:52:31 -05:00
..
bits
fpu
hppa1.1
nptl
__longjmp.c
abort-instr.h
add_n.S
bsd-_setjmp.S
bsd-setjmp.S
configure
configure.ac
crti.S
crtn.S
dl-fptr.c
dl-fptr.h
dl-irel.h
dl-lookupcfg.h
dl-machine.h
dl-symaddr.c
dl-tls.h
dl-trampoline.S
entry.h
frame.h
gccframe.h
get-rounding-mode.h
jmpbuf-offsets.h
jmpbuf-unwind.h
ldsodefs.h
libc-tls.c
libgcc-compat.c
lshift.S
machine-gmon.h
Makefile
math_private.h
memusage.h
mp_clz_tab.c
preconfigure
rshift.S
setjmp.S
shlib-versions
stackinfo.h
start.S
sub_n.S
sysdep.h
tininess.h
tls-macros.h
tst-audit.h
udiv_qrnnd.S
Versions