about summary refs log tree commit diff
path: root/ChangeLog
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 13:37:16 -0700
commit5d20a49aaccef5ef7adac93d5ca159f6b7ba0105 (patch)
tree0f9cfa81c4af16b30206cd8cae602dcc7f23d937 /ChangeLog
parent3ab2021feae3b5ae6ef0a7fd30eeef2cfa688a17 (diff)
downloadglibc-5d20a49aaccef5ef7adac93d5ca159f6b7ba0105.tar.gz
glibc-5d20a49aaccef5ef7adac93d5ca159f6b7ba0105.tar.xz
glibc-5d20a49aaccef5ef7adac93d5ca159f6b7ba0105.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
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog5
1 files changed, 5 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 48d285f49c..f8b2e60bd6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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]