]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Prevent erroneous inline optimization of initfini.s on PowerPC64.
authorRyan S. Arnold <rsa@us.ibm.com>
Tue, 3 May 2011 22:26:17 +0000 (17:26 -0500)
committerRyan S. Arnold <rsa@us.ibm.com>
Tue, 3 May 2011 22:26:17 +0000 (17:26 -0500)
ChangeLog
sysdeps/powerpc/powerpc64/Makefile

index 66482ff8e16775c47f5842dc126d6d853c93a3fa..5913162b1630f72df2c3c60100c82f36d1265a38 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2011-05-03  Ryan S. Arnold  <rsa@us.ibm.com>
+
+       * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s): Add
+       -fno-inline to prevent potential erroneous optimization where init is
+       inlined to branch directly to fini.
+
 2011-02-23  Andreas Schwab  <schwab@redhat.com>
            Ulrich Drepper  <drepper@gmail.com>
 
index 78d4f07e575fab67e985ae9998deacb6301bcf7a..fe96aae4d43edc6919b363c0c615c0af5a6b5cde 100644 (file)
@@ -28,7 +28,7 @@ elide-routines.os += hp-timing
 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 += -fpic -O1
+CFLAGS-initfini.s += -fpic -O1 -fno-inline
 endif
 endif