From 8dd5f2edc74be8a6270e706a1f999c8af6be90fb Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Thu, 4 Aug 2005 21:35:51 +0000 Subject: [PATCH] [BZ #1137] 2005-08-03 Dwayne Grant McConnell * 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] --- ChangeLog | 8 ++++++++ sysdeps/powerpc/powerpc32/Makefile | 2 +- sysdeps/powerpc/powerpc64/Makefile | 6 +++--- 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 + + * 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 * sysdeps/unix/sysv/linux/sigwait.c (do_sigwait): Restart system @@ -34,6 +41,7 @@ 2005-07-28 Thomas Schwinge + [BZ #1137] * misc/error.c [_LIBC]: Include and . 2005-07-28 Ulrich Drepper 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