gcc/libgcc/config/rs6000/t-crtstuff
Alan Modra ae0432915e 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
2018-04-27 18:36:39 +09:30

7 lines
342 B
Plaintext

# If .sdata is enabled __CTOR_{LIST,END}__ go into .sdata instead of
# .ctors.
# 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 -fno-asynchronous-unwind-tables