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, master, updated. glibc-2.11-385-g1d4bf31


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  1d4bf3155f06d7e807985589665c967d1af36517 (commit)
       via  7e2b0c8562b35155820f87b5ff02a8b6850344cc (commit)
      from  c98d4212d0d7c9dfc34cf18ea95740370bca5aad (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://sources.redhat.com/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=1d4bf3155f06d7e807985589665c967d1af36517

commit 1d4bf3155f06d7e807985589665c967d1af36517
Author: Roland McGrath <roland@redhat.com>
Date:   Mon Apr 19 15:38:48 2010 -0700

    Link elf/noload test against -ldl.

diff --git a/ChangeLog b/ChangeLog
index aa33b21..8b04cf9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2010-04-19  Roland McGrath  <roland@redhat.com>
 
+	* elf/Makefile ($(objpfx)noload): Depend on libdl.so.
+
 	* Makeconfig (as-needed, no-as-needed): New variables.
 	(link-libc): Add ld.so inside --as-needed.
 
diff --git a/elf/Makefile b/elf/Makefile
index d57c7fe..e600cc3 100644
--- a/elf/Makefile
+++ b/elf/Makefile
@@ -1,4 +1,4 @@
-# Copyright (C) 1995-2007, 2008, 2009 Free Software Foundation, Inc.
+# Copyright (C) 1995-2007,2008,2009,2010 Free Software Foundation, Inc.
 # This file is part of the GNU C Library.
 
 # The GNU C Library is free software; you can redistribute it and/or
@@ -654,7 +654,7 @@ $(objpfx)vismain: $(addprefix $(objpfx),vismod1.so vismod2.so)
 $(objpfx)vismain.out: $(addprefix $(objpfx),vismod3.so)
 vismain-ENV = LD_PRELOAD=$(addprefix $(objpfx),vismod3.so)
 
-$(objpfx)noload: $(objpfx)testobj1.so
+$(objpfx)noload: $(objpfx)testobj1.so $(common-objpfx)dlfcn/libdl.so
 LDFLAGS-noload = -rdynamic
 $(objpfx)noload.out: $(objpfx)testobj5.so
 

http://sources.redhat.com/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=7e2b0c8562b35155820f87b5ff02a8b6850344cc

commit 7e2b0c8562b35155820f87b5ff02a8b6850344cc
Author: Roland McGrath <roland@redhat.com>
Date:   Mon Apr 19 15:31:43 2010 -0700

    Link as-needed against ld.so.

diff --git a/ChangeLog b/ChangeLog
index 6a01632..aa33b21 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2010-04-19  Roland McGrath  <roland@redhat.com>
 
+	* Makeconfig (as-needed, no-as-needed): New variables.
+	(link-libc): Add ld.so inside --as-needed.
+
 	* stdio-common/tst-fmemopen.c (TEST_FILE): Macro removed.
 	(main): Take arguments.  Construct test file name from ARGV[0].
 
diff --git a/Makeconfig b/Makeconfig
index cd77fe1..c5a58f2 100644
--- a/Makeconfig
+++ b/Makeconfig
@@ -387,6 +387,14 @@ ifeq ($(elf),yes)
 have-initfini = yes
 endif
 
+ifeq ($(have-as-needed),yes)
+as-needed := -Wl,--as-needed
+no-as-needed := -Wl,--no-as-needed
+else
+as-needed :=
+no-as-needed :=
+endif
+
 # Installed name of the startup code.
 ifneq ($(have-initfini),yes)
 # When not having init/fini, there is just one startfile, called crt0.o.
@@ -484,7 +492,8 @@ ifeq ($(elf),yes)
 # run the linked programs.
 link-libc = -Wl,-rpath-link=$(rpath-link) \
 	    $(common-objpfx)libc.so$(libc.so-version) \
-	    $(common-objpfx)$(patsubst %,$(libtype.oS),c) $(gnulib)
+	    $(common-objpfx)$(patsubst %,$(libtype.oS),c) \
+	    $(as-needed) $(common-objpfx)elf/ld.so $(no-as-needed) $(gnulib)
 # This is how to find at build-time things that will be installed there.
 rpath-dirs = math elf dlfcn nss nis rt resolv crypt
 endif

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

Summary of changes:
 ChangeLog    |    5 +++++
 Makeconfig   |   11 ++++++++++-
 elf/Makefile |    4 ++--
 3 files changed, 17 insertions(+), 3 deletions(-)


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]