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.15-517-g18c9d62
- From: davem at sourceware dot org
- To: glibc-cvs at sourceware dot org
- Date: 28 Mar 2012 21:26:45 -0000
- Subject: GNU C Library master sources branch, master, updated. glibc-2.15-517-g18c9d62
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 18c9d62b9c575a54f26ca5aebeb03dd7322fc180 (commit)
from fb289bde9a171c5f7fbcd1230018562dc0bd8ded (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=18c9d62b9c575a54f26ca5aebeb03dd7322fc180
commit 18c9d62b9c575a54f26ca5aebeb03dd7322fc180
Author: David S. Miller <davem@davemloft.net>
Date: Wed Mar 28 14:25:42 2012 -0700
Make sparc's -fPIC addition to ASFLAGS-.os more robust.
* sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
* sysdeps/sparc/sparc32/Makefile: rather than here...
* sysdeps/sparc/sparc64/Makefile: and here.
diff --git a/ChangeLog b/ChangeLog
index 03b7795..9069eb3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2012-03-28 David S. Miller <davem@davemloft.net>
+
+ * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
+ * sysdeps/sparc/sparc32/Makefile: rather than here...
+ * sysdeps/sparc/sparc64/Makefile: and here.
+
2012-03-28 Ulrich Drepper <drepper@gmail.com>
* malloc/mallocbug.c: Avoid warnings about unused variables.
diff --git a/sysdeps/sparc/Makefile b/sysdeps/sparc/Makefile
index 1dd70e8..3f0c096 100644
--- a/sysdeps/sparc/Makefile
+++ b/sysdeps/sparc/Makefile
@@ -15,3 +15,6 @@ ifeq ($(subdir),csu)
CPPFLAGS-crti.S += -fPIC
CPPFLAGS-crtn.S += -fPIC
endif
+
+# The assembler on SPARC needs the -fPIC flag even when it's assembler code.
+ASFLAGS-.os += -fPIC
diff --git a/sysdeps/sparc/sparc32/Makefile b/sysdeps/sparc/sparc32/Makefile
index 9cb518f..fb7132e 100644
--- a/sysdeps/sparc/sparc32/Makefile
+++ b/sysdeps/sparc/sparc32/Makefile
@@ -47,6 +47,3 @@ $(divrem:%=$(sysdep_dir)/sparc/sparc32/%.S): $(sysdep_dir)/sparc/sparc32/divrem.
mv -f $@-tmp $@
sysdep-realclean := $(sysdep-realclean) $(divrem:%=sysdeps/sparc/sparc32/%.S)
-
-# The assembler on SPARC needs the -fPIC flag even when it's assembler code.
-ASFLAGS-.os = -fPIC
diff --git a/sysdeps/sparc/sparc64/Makefile b/sysdeps/sparc/sparc64/Makefile
index fb00032..2b7b830 100644
--- a/sysdeps/sparc/sparc64/Makefile
+++ b/sysdeps/sparc/sparc64/Makefile
@@ -7,9 +7,6 @@ ifeq ($(subdir),string)
sysdep_routines += align-cpy
endif
-# The assembler on SPARC needs the -fPIC flag even when it's assembler code.
-ASFLAGS-.os = -fPIC
-
ifeq ($(have-as-vis3),yes)
ASFLAGS-.o += -Wa,-Av9d
ASFLAGS-.os += -Wa,-Av9d
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 6 ++++++
sysdeps/sparc/Makefile | 3 +++
sysdeps/sparc/sparc32/Makefile | 3 ---
sysdeps/sparc/sparc64/Makefile | 3 ---
4 files changed, 9 insertions(+), 6 deletions(-)
hooks/post-receive
--
GNU C Library master sources