This is the mail archive of the
glibc-cvs@sourceware.org
mailing list for the glibc project.
GNU C Library master sources branch release/2.22/master updated. glibc-2.22-81-g4b59550
- From: aurel32 at sourceware dot org
- To: glibc-cvs at sourceware dot org
- Date: 1 Jul 2016 12:45:45 -0000
- Subject: GNU C Library master sources branch release/2.22/master updated. glibc-2.22-81-g4b59550
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".
The branch, release/2.22/master has been updated
via 4b59550eadd3692e4d327363328a41aa5da89af1 (commit)
from 19e9aaec52a4b61d208ace8ca952216b7d5c7175 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=4b59550eadd3692e4d327363328a41aa5da89af1
commit 4b59550eadd3692e4d327363328a41aa5da89af1
Author: John David Anglin <dave.anglin@bell.net>
Date: Tue Jun 21 18:35:22 2016 -0400
hppa: fix loading of global pointer in _start [BZ #20277]
The patched change fixes a regression for executables compiled with the
-p option and linked with gcrt1.o. The executables crash on startup.
This regression was introduced in 2.22 and was noticed in the gcc testsuite.
(cherry picked from commit 9765ffa71030efd8bb4f2ea4ed6e020fcb4bb714)
diff --git a/ChangeLog b/ChangeLog
index 32e3164..320cf00 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2016-06-30 John David Anglin <danglin@gcc.gnu.org>
+
+ [BZ #20277]
+ * sysdeps/hppa/start.S (_start): Correct loading of global pointer
+ when SHARED is defined.
+
2016-06-21 Aurelien Jarno <aurelien@aurel32.net>
* sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
diff --git a/NEWS b/NEWS
index b0b981b..923468d 100644
--- a/NEWS
+++ b/NEWS
@@ -26,7 +26,7 @@ Version 2.22.1
17905, 18420, 18421, 18480, 18589, 18743, 18778, 18781, 18787, 18796,
18870, 18887, 18921, 18928, 18969, 18985, 19003, 19018, 19048, 19058,
19174, 19178, 19182, 19243, 19573, 19590, 19682, 19791, 19822, 19853,
- 19879, 19779, 20010, 20112.
+ 19879, 19779, 20010, 20112, 20277.
* The getnetbyname implementation in nss_dns had a potentially unbounded
alloca call (in the form of a call to strdupa), leading to a stack
diff --git a/sysdeps/hppa/start.S b/sysdeps/hppa/start.S
index cc4f243..d20caba 100644
--- a/sysdeps/hppa/start.S
+++ b/sysdeps/hppa/start.S
@@ -131,8 +131,10 @@ _start:
stw %sp, -60(%sp)
#ifdef SHARED
+ /* load global */
addil LT'.Lp__global, %r19
ldw RT'.Lp__global(%r1), %dp
+ ldw 0(%dp), %dp
#else
/* load global */
ldil L%$global$, %dp
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 6 ++++++
NEWS | 2 +-
sysdeps/hppa/start.S | 2 ++
3 files changed, 9 insertions(+), 1 deletions(-)
hooks/post-receive
--
GNU C Library master sources