2
0
mirror of git://sourceware.org/git/glibc.git synced 2025-03-25 13:51:04 +08:00
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
..
2013-10-30 17:32:08 +10:00
2013-10-30 17:32:08 +10:00
2013-08-21 19:48:48 +02:00
2013-10-30 17:32:08 +10:00
2013-10-30 17:32:08 +10:00
2013-11-13 12:58:56 -06:00
2013-09-04 15:25:42 +00:00
2013-08-21 19:48:48 +02:00