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.14-17-gdecd4e5
- From: roland at sourceware dot org
- To: glibc-cvs at sourceware dot org
- Date: 11 Jun 2011 06:37:47 -0000
- Subject: GNU C Library master sources branch, master, updated. glibc-2.14-17-gdecd4e5
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 decd4e50b6faa6b148fe7ef99536ba9f95183a00 (commit)
from 5615eaf26469f20c2d8c3be5770e12564a1edfff (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=decd4e50b6faa6b148fe7ef99536ba9f95183a00
commit decd4e50b6faa6b148fe7ef99536ba9f95183a00
Author: Roland McGrath <roland@hack.frob.com>
Date: Fri Jun 10 23:37:35 2011 -0700
Better detect total failure of linker script generation.
diff --git a/ChangeLog b/ChangeLog
index 8d30749..604619f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
2011-06-10 Roland McGrath <roland@hack.frob.com>
+ * Makerules (shlib.lds): Fail if the linker script comes out empty.
+ * elf/Makefile ($(objpfx)ld.so): Likewise.
+
* Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
Don't list ld.so twice in dependencies.
diff --git a/Makerules b/Makerules
index 82ffa1e..6b4b0e1 100644
--- a/Makerules
+++ b/Makerules
@@ -510,6 +510,7 @@ $(common-objpfx)shlib.lds: $(common-objpfx)config.make $(..)Makerules
__libc_thread_subfreeres : { *(__libc_thread_subfreeres) }\
PROVIDE(__stop___libc_thread_subfreeres = .);\
/DISCARD/ : { *(.gnu.glibc-stub.*) }@'
+ test -s $@T
mv -f $@T $@
common-generated += shlib.lds
diff --git a/elf/Makefile b/elf/Makefile
index 844c9ca..5c05738 100644
--- a/elf/Makefile
+++ b/elf/Makefile
@@ -413,6 +413,7 @@ $(objpfx)ld.so: $(objpfx)librtld.os $(ld-map)
sed -e '/^=========/,/^=========/!d;/^=========/d' \
-e 's/\. = .* + SIZEOF_HEADERS;/& _begin = . - SIZEOF_HEADERS;/' \
> $@.lds
+ test -s $@.lds
$(LINK.o) -nostdlib -nostartfiles -shared -o $@ \
$(LDFLAGS-rtld) -Wl,-z,defs $(z-now-$(bind-now)) \
$(filter-out $(map-file),$^) $(load-map-file) \
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 3 +++
Makerules | 1 +
elf/Makefile | 1 +
3 files changed, 5 insertions(+), 0 deletions(-)
hooks/post-receive
--
GNU C Library master sources