This is the mail archive of the glibc-cvs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

GNU C Library master sources branch hjl/pie/gprof created. glibc-2.26-113-gf19721b


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, hjl/pie/gprof has been created
        at  f19721b98346b9493f3ecb5cd41527e102c7fedf (commit)

- Log -----------------------------------------------------------------
http://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=f19721b98346b9493f3ecb5cd41527e102c7fedf

commit f19721b98346b9493f3ecb5cd41527e102c7fedf
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Wed Aug 16 14:15:43 2017 -0700

    Support -pg with GCC defaulting to PIE
    
    -pg and -pie are mutually exclusive since they need different crt1.o,
    gcrrt1.o vs Scrt1.o.  Make -pg overrdies -pie.
    
    	* Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
    	the startup object.

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))\

-----------------------------------------------------------------------


hooks/post-receive
-- 
GNU C Library master sources


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]