From 7d66e2655f500058cc7c82f855a23838af598ac5 Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Fri, 26 May 2017 11:45:59 -0700 Subject: [PATCH] re PR libgcc/80037 (Bad .eh_frame data in crtend.o) PR libgcc/80037 * config/alpha/t-alpha (CRTSTUFF_T_CFLAGS): New. From-SVN: r248522 --- libgcc/ChangeLog | 5 +++++ libgcc/config/alpha/t-alpha | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog index 1d05cef858c..8e807eb1494 100644 --- a/libgcc/ChangeLog +++ b/libgcc/ChangeLog @@ -1,3 +1,8 @@ +2017-05-26 Richard Henderson + + PR libgcc/80037 + * config/alpha/t-alpha (CRTSTUFF_T_CFLAGS): New. + 2017-05-17 Andreas Tobler * config/arm/unwind-arm.h: Make _Unwind_GetIP, _Unwind_GetIPInfo and diff --git a/libgcc/config/alpha/t-alpha b/libgcc/config/alpha/t-alpha index 0b6ffb1ba34..0c2f8405c93 100644 --- a/libgcc/config/alpha/t-alpha +++ b/libgcc/config/alpha/t-alpha @@ -1,2 +1,6 @@ # This is a support routine for longlong.h, used by libgcc2.c. LIB2ADD += $(srcdir)/config/alpha/qrnnd.S + +# When GAS-generated unwind tables are created, they get created +# after the __FRAME_END__ terminator, which causes an ld error. +CRTSTUFF_T_CFLAGS = -fno-unwind-tables -- 2.30.2