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
This commit is contained in:
Alan Modra 2018-04-27 18:36:39 +09:30 committed by Alan Modra
parent 038acbbaa8
commit ae0432915e
2 changed files with 7 additions and 1 deletions

View 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.

View 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