aboutsummaryrefslogtreecommitdiff
path: root/scripts/cpp
diff options
context:
space:
mode:
authorJohn David Anglin <dave.anglin@bell.net>2017-02-20 20:31:57 -0500
committerMike Frysinger <vapier@gentoo.org>2017-03-15 16:13:00 -0700
commit883dae86d69153092f73a223f226c85fa4fb9a35 (patch)
treea669b78bdd1130577313a95195e34af686dcf6a4 /scripts/cpp
parent32b4c41fb6d814551fa6d6e5e07ecbe2119407a7 (diff)
downloadglibc-883dae86d69153092f73a223f226c85fa4fb9a35.tar.xz
glibc-883dae86d69153092f73a223f226c85fa4fb9a35.zip
hppa: Fix setting of __libc_stack_end
The binutils package was recently changed to fix -z relro support on hppa. See ld/21000 for details: https://sourceware.org/bugzilla/show_bug.cgi?id=21000 This exposed a problem with the _dl_start_user function in the RTLD_START define. We need to set __libc_stack_end before it is made read only. For this, we need to define DL_STACK_END. The offset of 0x160 gives the same stack end as the code in _dl_start_user. A build log with the attached patch is here: https://buildd.debian.org/status/fetch.php?pkg=glibc&arch=hppa&ver=2.24-9&stamp=1487639205&raw=0 (cherry picked from commit 5d20a49aaccef5ef7adac93d5ca159f6b7ba0105) (cherry picked from commit 8b3caa41b9cb82651e72a0c87aa56719c134000e)
Diffstat (limited to 'scripts/cpp')
0 files changed, 0 insertions, 0 deletions