This is the mail archive of the
glibc-cvs@sourceware.org
mailing list for the glibc project.
GNU C Library master sources branch master updated. glibc-2.26-424-gf6c5e5b
- From: hjl at sourceware dot org
- To: glibc-cvs at sourceware dot org
- Date: 29 Sep 2017 23:20:56 -0000
- Subject: GNU C Library master sources branch master updated. glibc-2.26-424-gf6c5e5b
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, master has been updated
via f6c5e5bce0a71680f90a4d6983b7233d461b5f86 (commit)
from 2f92505d207aa2baca29f96bf1a1ea0baea3787e (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=f6c5e5bce0a71680f90a4d6983b7233d461b5f86
commit f6c5e5bce0a71680f90a4d6983b7233d461b5f86
Author: H.J. Lu <hjl.tools@gmail.com>
Date: Fri Sep 29 16:20:26 2017 -0700
arm: Check PIC instead of SHARED in start.S
Since start.o may be compiled as PIC, we should check PIC instead of
SHARED.
* sysdeps/arm/start.S (_start): Check PIC instead of SHARED.
diff --git a/ChangeLog b/ChangeLog
index ffe4ce1..728df95 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
+
+ * sysdeps/arm/start.S (_start): Check PIC instead of SHARED.
+
2017-09-29 Joseph Myers <joseph@codesourcery.com>
* sysdeps/x86_64/fpu/libm-test-ulps: Update.
diff --git a/sysdeps/arm/start.S b/sysdeps/arm/start.S
index 4973878..a5c678b 100644
--- a/sysdeps/arm/start.S
+++ b/sysdeps/arm/start.S
@@ -89,7 +89,7 @@ _start:
/* Push rtld_fini */
push { a1 }
-#ifdef SHARED
+#ifdef PIC
ldr sl, .L_GOT
adr a4, .L_GOT
add sl, sl, a4
@@ -127,7 +127,7 @@ _start:
/* should never get here....*/
bl abort
-#ifdef SHARED
+#ifdef PIC
.align 2
.L_GOT:
.word _GLOBAL_OFFSET_TABLE_ - .L_GOT
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 4 ++++
sysdeps/arm/start.S | 4 ++--
2 files changed, 6 insertions(+), 2 deletions(-)
hooks/post-receive
--
GNU C Library master sources