aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-11-27 23:33:31 +0000
committerUlrich Drepper <drepper@redhat.com>2000-11-27 23:33:31 +0000
commitd6b544fe2361df88d93e68b86ddaea5a49b4094d (patch)
tree7ec42d6120e857b054e923808d99c9da93a2f881
parenta1620a4c559b148324f98cc959c481ece926f4a5 (diff)
downloadglibc-d6b544fe2361df88d93e68b86ddaea5a49b4094d.tar
glibc-d6b544fe2361df88d93e68b86ddaea5a49b4094d.tar.gz
glibc-d6b544fe2361df88d93e68b86ddaea5a49b4094d.tar.bz2
glibc-d6b544fe2361df88d93e68b86ddaea5a49b4094d.zip
Update.
* sysdeps/powerpc/Makefile (CFLAGS-initfini.s): Add -O1 to avoid the problems introduced when the user selects -O3.
-rw-r--r--ChangeLog3
-rw-r--r--sysdeps/powerpc/Makefile2
2 files changed, 4 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index d06348d9a6..205c02c8f1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
2000-11-27 Ulrich Drepper <drepper@redhat.com>
+ * sysdeps/powerpc/Makefile (CFLAGS-initfini.s): Add -O1 to avoid
+ the problems introduced when the user selects -O3.
+
* iconv/gconv.h (__gconv_info): Define __data element using __flexarr.
* misc/sys/cdefs.h: Define __flexarr.
Proposed by Joseph S. Myers <jsm28@cam.ac.uk>.
diff --git a/sysdeps/powerpc/Makefile b/sysdeps/powerpc/Makefile
index ef5d33eaf9..a29e387d83 100644
--- a/sysdeps/powerpc/Makefile
+++ b/sysdeps/powerpc/Makefile
@@ -27,7 +27,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
+CFLAGS-initfini.s = -g0 -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.