[PATCH] hppa: Fix setting of __libc_stack_end

Mike Frysinger vapier@gentoo.org
Wed Mar 15 20:44:00 GMT 2017


On 20 Feb 2017 20:31, John David Anglin wrote:
> 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
> 
> I don't have write permission, so somebody should commit this for me. Thanks.

pushed now.  should i cherry pick back to 2.25 too ?
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: Digital signature
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20170315/5c0685a4/attachment.sig>


More information about the Libc-alpha mailing list