diff options
author | John David Anglin <dave.anglin@bell.net> | 2017-02-20 20:31:57 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2017-03-15 13:37:16 -0700 |
commit | 5d20a49aaccef5ef7adac93d5ca159f6b7ba0105 (patch) | |
tree | 0f9cfa81c4af16b30206cd8cae602dcc7f23d937 /ChangeLog | |
parent | 3ab2021feae3b5ae6ef0a7fd30eeef2cfa688a17 (diff) | |
download | glibc-5d20a49aaccef5ef7adac93d5ca159f6b7ba0105.zip glibc-5d20a49aaccef5ef7adac93d5ca159f6b7ba0105.tar.gz glibc-5d20a49aaccef5ef7adac93d5ca159f6b7ba0105.tar.bz2 |
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
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -1,3 +1,8 @@ +2017-03-15 John David Anglin <danglin@gcc.gnu.org> + + * sysdeps/hppa/dl-machine.h (DL_STACK_END): Define. + (RTLD_START): Don't record stack end address in _dl_start_user. + 2017-03-15 Alexey Neyman <stilor@att.net> [BZ #21088] |