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.27/master updated. glibc-2.27-3-gc8ad6ac
- From: ldv at sourceware dot org
- To: glibc-cvs at sourceware dot org
- Date: 6 Feb 2018 10:47:38 -0000
- Subject: GNU C Library master sources branch release/2.27/master updated. glibc-2.27-3-gc8ad6ac
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.27/master has been updated
via c8ad6ac1d1ac7600138b9dbd0b92e88c36cc999c (commit)
via ce8a6550fa33363f9c5043fe1b3e9900c1145888 (commit)
from bdac1623cca4c3d1683e24cc7d093201c5d9fa26 (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=c8ad6ac1d1ac7600138b9dbd0b92e88c36cc999c
commit c8ad6ac1d1ac7600138b9dbd0b92e88c36cc999c
Author: Dmitry V. Levin <ldv@altlinux.org>
Date: Tue Feb 6 09:31:30 2018 +0000
NEWS: add an entry for bug 22638
diff --git a/NEWS b/NEWS
index 0f7b0d5..4bb08b1 100644
--- a/NEWS
+++ b/NEWS
@@ -5,6 +5,14 @@ See the end for copying conditions.
Please send GNU C library bug reports via <https://sourceware.org/bugzilla/>
using `glibc' in the "product" field.
+Version 2.27.1
+
+The following bugs are resolved with this release:
+
+ [22638] sparc: static binaries are broken if glibc is built by gcc
+ configured with --enable-default-pie
+
+
Version 2.27
Major new features:
http://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=ce8a6550fa33363f9c5043fe1b3e9900c1145888
commit ce8a6550fa33363f9c5043fe1b3e9900c1145888
Author: H.J. Lu <hjl.tools@gmail.com>
Date: Mon Feb 5 05:46:38 2018 -0800
sparc: Check PIC instead of SHARED in start.S [BZ #22638]
Since start.o may be compiled as PIC, we should check PIC instead of
SHARED.
[BZ #22638]
* sysdeps/sparc/sparc32/start.S (_start): Check PIC instead of
SHARED.
* sysdeps/sparc/sparc64/start.S (_start): Likewise.
(cherry picked from commit 371b220f6208968d5f4bffc9f66bf885930a42a5)
diff --git a/ChangeLog b/ChangeLog
index 76e2767..6b1369a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
+
+ [BZ #22638]
+ * sysdeps/sparc/sparc32/start.S (_start): Check PIC instead of
+ SHARED.
+
2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
* version.h (RELEASE): Set to "stable".
diff --git a/sysdeps/sparc/sparc32/start.S b/sysdeps/sparc/sparc32/start.S
index 1db7327..46ba8b6 100644
--- a/sysdeps/sparc/sparc32/start.S
+++ b/sysdeps/sparc/sparc32/start.S
@@ -42,7 +42,7 @@
.global _start
.type _start,#function
_start:
-#ifdef SHARED
+#ifdef PIC
SETUP_PIC_REG(l7)
#endif
@@ -57,7 +57,7 @@ _start:
add %sp, 23*4, %o2
/* Load the addresses of the user entry points. */
-#ifndef SHARED
+#ifndef PIC
sethi %hi(main), %o0
sethi %hi(__libc_csu_init), %o3
sethi %hi(__libc_csu_fini), %o4
diff --git a/sysdeps/sparc/sparc64/start.S b/sysdeps/sparc/sparc64/start.S
index e1865f1..75ff509 100644
--- a/sysdeps/sparc/sparc64/start.S
+++ b/sysdeps/sparc/sparc64/start.S
@@ -42,7 +42,7 @@
.global _start
.type _start,#function
_start:
-#ifdef SHARED
+#ifdef PIC
SETUP_PIC_REG(l7)
#endif
@@ -58,7 +58,7 @@ _start:
add %sp, STACK_BIAS+23*8, %o2
/* Load the addresses of the user entry points. */
-#ifndef SHARED
+#ifndef PIC
sethi %hi(main), %o0
sethi %hi(__libc_csu_init), %o3
sethi %hi(__libc_csu_fini), %o4
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 6 ++++++
NEWS | 8 ++++++++
sysdeps/sparc/sparc32/start.S | 4 ++--
sysdeps/sparc/sparc64/start.S | 4 ++--
4 files changed, 18 insertions(+), 4 deletions(-)
hooks/post-receive
--
GNU C Library master sources