PR85532, crtend.o built without --enable-initfini-array has bad .eh_frame
authorAlan Modra <amodra@gmail.com>
Fri, 27 Apr 2018 09:06:39 +0000 (18:36 +0930)
committerAlan Modra <amodra@gcc.gnu.org>
Fri, 27 Apr 2018 09:06:39 +0000 (18:36 +0930)
PR libgcc/85532
* config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add
-fno-asynchronous-unwind-tables.

From-SVN: r259702

libgcc/ChangeLog
libgcc/config/rs6000/t-crtstuff

index e5f44b346aa5b9b2e862ea9a6edc751881d962db..7e7c90b7388c1bca022282c4a57bfb23a0951621 100644 (file)
@@ -1,3 +1,9 @@
+2018-04-27  Alan Modra  <amodra@gmail.com>
+
+       PR libgcc/85532
+       * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add
+       -fno-asynchronous-unwind-tables.
+
 2018-04-25  Chung-Ju Wu  <jasonwucj@gmail.com>
 
        * config/nds32/sfp-machine.h: Fix settings for NDS32_ABI_2FP_PLUS.
index 0b2601b05bdd8b7478430f7afb1e59c3153a4c54..d5ff95965f35ce11ffe044266ad1f68fae5d2ae2 100644 (file)
@@ -3,4 +3,4 @@
 # Do not build crtend.o with -Os as that can result in references to
 # out-of-line register save/restore functions, which may be unresolved
 # as crtend.o is linked after libgcc.a.  See PR45053.
-CRTSTUFF_T_CFLAGS = -msdata=none -O2
+CRTSTUFF_T_CFLAGS = -msdata=none -O2 -fno-asynchronous-unwind-tables