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-121-g34d6a3c
- From: hjl at sourceware dot org
- To: glibc-cvs at sourceware dot org
- Date: 17 Aug 2017 11:56:16 -0000
- Subject: GNU C Library master sources branch master updated. glibc-2.26-121-g34d6a3c
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 34d6a3cbf2be45aa039a7eb9f0084a4b710437b8 (commit)
from bb6274ee1293a6bc76d9d7c889783303de181295 (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=34d6a3cbf2be45aa039a7eb9f0084a4b710437b8
commit 34d6a3cbf2be45aa039a7eb9f0084a4b710437b8
Author: H.J. Lu <hjl.tools@gmail.com>
Date: Thu Aug 17 04:55:44 2017 -0700
Support mcount/gprof test with GCC defaulting to PIE
The mcount/gprof test should be linked with gcrt1.o, not Scrt1.o.
* Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
the startup object.
diff --git a/ChangeLog b/ChangeLog
index 4505dce..f11f6e1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2017-08-17 H.J. Lu <hongjiu.lu@intel.com>
+
+ * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
+ the startup object.
+
2017-08-17 Florian Weimer <fweimer@redhat.com>
* include/sys/socket.h (__opensock): Remove internal_function.
diff --git a/Makeconfig b/Makeconfig
index 5f24691..b51904b 100644
--- a/Makeconfig
+++ b/Makeconfig
@@ -409,7 +409,7 @@ ifndef +link-pie
+link-pie-before-libc = $(CC) -pie -Wl,-O1 -nostdlib -nostartfiles -o $@ \
$(sysdep-LDFLAGS) $(LDFLAGS) $(LDFLAGS-$(@F)) \
$(combreloc-LDFLAGS) $(relro-LDFLAGS) $(hashstyle-LDFLAGS) \
- $(addprefix $(csu-objpfx),S$(start-installed-name)) \
+ $(firstword $(CRT-$(@F)) $(csu-objpfx)S$(start-installed-name)) \
$(+preinit) $(+prectorS) \
$(filter-out $(addprefix $(csu-objpfx),start.o \
S$(start-installed-name))\
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 5 +++++
Makeconfig | 2 +-
2 files changed, 6 insertions(+), 1 deletions(-)
hooks/post-receive
--
GNU C Library master sources