diff options
author | Alan Modra <amodra@gmail.com> | 2018-04-27 18:36:39 +0930 |
---|---|---|
committer | Alan Modra <amodra@gcc.gnu.org> | 2018-04-27 18:36:39 +0930 |
commit | ae0432915e80ae0fb4d8d7c26341685f0822ffe1 (patch) | |
tree | 80fbc8778f922eb906de1c7d0f705476561a8904 | |
parent | 038acbbaa8abcf66c2341e648651b0af8f7102d2 (diff) | |
download | gcc-ae0432915e80ae0fb4d8d7c26341685f0822ffe1.zip gcc-ae0432915e80ae0fb4d8d7c26341685f0822ffe1.tar.gz gcc-ae0432915e80ae0fb4d8d7c26341685f0822ffe1.tar.bz2 |
PR85532, crtend.o built without --enable-initfini-array has bad .eh_frame
PR libgcc/85532
* config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add
-fno-asynchronous-unwind-tables.
From-SVN: r259702
-rw-r--r-- | libgcc/ChangeLog | 6 | ||||
-rw-r--r-- | libgcc/config/rs6000/t-crtstuff | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog index e5f44b3..7e7c90b 100644 --- a/libgcc/ChangeLog +++ b/libgcc/ChangeLog @@ -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. diff --git a/libgcc/config/rs6000/t-crtstuff b/libgcc/config/rs6000/t-crtstuff index 0b2601b..d5ff959 100644 --- a/libgcc/config/rs6000/t-crtstuff +++ b/libgcc/config/rs6000/t-crtstuff @@ -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 |