about summary refs log tree commit diff
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2005-08-04 21:35:51 +0000
committerRoland McGrath <roland@gnu.org>2005-08-04 21:35:51 +0000
commit8dd5f2edc74be8a6270e706a1f999c8af6be90fb (patch)
tree816c90fc8d41c8648f4785489d36e169e61bf4e8
parentc1950ac6f8b8443e67e39777a265f1c23cc129ec (diff)
downloadglibc-8dd5f2edc74be8a6270e706a1f999c8af6be90fb.tar.gz
glibc-8dd5f2edc74be8a6270e706a1f999c8af6be90fb.tar.xz
glibc-8dd5f2edc74be8a6270e706a1f999c8af6be90fb.zip
[BZ #1137]
2005-08-03  Dwayne Grant McConnell  <dgm69@us.ibm.com>
	* sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s):
	Use +=, not =, to append.  Remove duplicate flags.
	* sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
	Likewise.  Fix comments.

	[BZ #1137]
-rw-r--r--ChangeLog8
-rw-r--r--sysdeps/powerpc/powerpc32/Makefile2
-rw-r--r--sysdeps/powerpc/powerpc64/Makefile6
3 files changed, 12 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index 2d95a12d29..2b40ce1111 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2005-08-03  Dwayne Grant McConnell  <dgm69@us.ibm.com>
+
+	* sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s):
+	Use +=, not =, to append.  Remove duplicate flags.
+	* sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
+	Likewise.  Fix comments.
+
 2005-08-01  Ulrich Drepper  <drepper@redhat.com>
 
 	* sysdeps/unix/sysv/linux/sigwait.c (do_sigwait): Restart system
@@ -34,6 +41,7 @@
 
 2005-07-28  Thomas Schwinge  <schwinge@nic-nac-project.de>
 
+	[BZ #1137]
 	* misc/error.c [_LIBC]: Include <stdbool.h> and <stdint.h>.
 
 2005-07-28  Ulrich Drepper  <drepper@redhat.com>
diff --git a/sysdeps/powerpc/powerpc32/Makefile b/sysdeps/powerpc/powerpc32/Makefile
index 82b4fc95f9..1d58a063d6 100644
--- a/sysdeps/powerpc/powerpc32/Makefile
+++ b/sysdeps/powerpc/powerpc32/Makefile
@@ -21,7 +21,7 @@ ifeq ($(subdir),csu)
 ifneq ($(elf),no)
 # The initfini generation code doesn't work in the presence of -fPIC, so
 # we use -fpic instead which is much better.
-CFLAGS-initfini.s = -g0 -fpic -O1
+CFLAGS-initfini.s += -fpic -O1
 
 # There is no benefit to using sdata for these objects, and the user
 # of the library should be able to control what goes into sdata.
diff --git a/sysdeps/powerpc/powerpc64/Makefile b/sysdeps/powerpc/powerpc64/Makefile
index 3ced6568df..cf29148ff3 100644
--- a/sysdeps/powerpc/powerpc64/Makefile
+++ b/sysdeps/powerpc/powerpc64/Makefile
@@ -12,9 +12,9 @@ endif
 
 ifeq ($(subdir),csu)
 ifneq ($(elf),no)
-# The initfini generation code doesn't work in the presence of -g1 or
-# higher, so we use -g0.
-CFLAGS-initfini.s = -g0 -fpic -O1
+# The initfini generation code doesn't work in the presence of -fPIC, so
+# we use -fpic instead which is much better.
+CFLAGS-initfini.s += -fpic -O1
 endif
 endif