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-179-g44f0a71
- From: drepper at sourceware dot org
- To: glibc-cvs at sourceware dot org
- Date: 18 Aug 2011 01:36:47 -0000
- Subject: GNU C Library master sources branch, master, updated. glibc-2.14-179-g44f0a71
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 44f0a71e58c854d6554a31cd1c3962926b49ee90 (commit)
from 8de79a248cc1a4148e1e826ed416bb6faee4857b (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=44f0a71e58c854d6554a31cd1c3962926b49ee90
commit 44f0a71e58c854d6554a31cd1c3962926b49ee90
Author: Ulrich Drepper <drepper@gmail.com>
Date: Wed Aug 17 21:36:23 2011 -0400
Add rules to build libresolv with SSP flags
diff --git a/ChangeLog b/ChangeLog
index 189424c..60ecaad 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2011-08-17 Ulrich Drepper <drepper@gmail.com>
+
+ * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
+ * resolv/Makefile: Define CFLAGS-libresolv.
+
2011-08-17 Andreas Schwab <schwab@redhat.com>
* nss/makedb.c (compute_tables): Make variables used in nested
@@ -18,7 +23,7 @@
specifies first scope to show.
(dl_open_worker): Update callers. Move printing scope of new
object to before the relocation.
- * rtld.c (dl_main): Update _dl_show_scope call.
+ * elf/rtld.c (dl_main): Update _dl_show_scope call.
* sysdeps/generic/ldsodefs.h: Update declaration.
* elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
@@ -56,7 +61,7 @@
2011-08-13 Ulrich Drepper <drepper@gmail.com>
- * elf/dl-open.c: Rename show_scope to _dl_schow_scope and export.
+ * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
(dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
* elf/rtld.c (dl_main): Set l_name of vDSO.
Call _dl_show_scope when DL_DEBUG_SCOPES.
diff --git a/Makeconfig b/Makeconfig
index cc5c3a9..feca603 100644
--- a/Makeconfig
+++ b/Makeconfig
@@ -708,7 +708,9 @@ CPPFLAGS = $($(subdir)-CPPFLAGS) $(+includes) $(defines) \
override CFLAGS = -std=gnu99 $(gnu89-inline-CFLAGS) \
$(filter-out %frame-pointer,$(+cflags)) $(+gccwarn-c) \
$(sysdep-CFLAGS) $(CFLAGS-$(suffix $@)) $(CFLAGS-$(<F)) \
- $(CFLAGS-$(@F))
+ $(CFLAGS-$(@F)) \
+ $(foreach lib,$(libof-$(basename $(@F))) \
+ $(libof-$(<F)) $(libof-$(@F)),$(CFLAGS-$(lib)))
override CXXFLAGS = $(c++-sysincludes) \
$(filter-out %frame-pointer,$(+cflags)) $(sysdep-CFLAGS) \
$(CFLAGS-$(suffix $@)) $(CFLAGS-$(<F)) $(CFLAGS-$(@F))
diff --git a/resolv/Makefile b/resolv/Makefile
index 42e3505..ec3788f 100644
--- a/resolv/Makefile
+++ b/resolv/Makefile
@@ -76,6 +76,9 @@ CPPFLAGS += -Dgethostbyname=res_gethostbyname \
-Dgetnetbyname=res_getnetbyname \
-Dgetnetbyaddr=res_getnetbyaddr
+ifeq (yes,$(have-ssp))
+CFLAGS-libresolv += -fstack-protector
+endif
CFLAGS-res_hconf.c = -fexceptions
# The BIND code elicits some harmless warnings.
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 9 +++++++--
Makeconfig | 4 +++-
resolv/Makefile | 3 +++
3 files changed, 13 insertions(+), 3 deletions(-)
hooks/post-receive
--
GNU C Library master sources