summaryrefslogtreecommitdiff
path: root/packages/gcc/4.9.4/111-alpha-bad-eh_frame.patch
diff options
context:
space:
mode:
authorAlexey Neyman <stilor@att.net>2017-05-12 05:00:32 (GMT)
committerAlexey Neyman <stilor@att.net>2017-07-08 17:56:29 (GMT)
commit5935d586e140b35398f45772d5749924dea7da57 (patch)
tree371d497ec06cba5afca65a5616bcb37f280481b7 /packages/gcc/4.9.4/111-alpha-bad-eh_frame.patch
parentd589df4ebebdd9e89a66dc788e23b3c3db5f23d5 (diff)
Convert gcc to new framework.
Signed-off-by: Alexey Neyman <stilor@att.net>
Diffstat (limited to 'packages/gcc/4.9.4/111-alpha-bad-eh_frame.patch')
-rw-r--r--packages/gcc/4.9.4/111-alpha-bad-eh_frame.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/packages/gcc/4.9.4/111-alpha-bad-eh_frame.patch b/packages/gcc/4.9.4/111-alpha-bad-eh_frame.patch
new file mode 100644
index 0000000..93f6e94
--- /dev/null
+++ b/packages/gcc/4.9.4/111-alpha-bad-eh_frame.patch
@@ -0,0 +1,13 @@
+https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80037
+
+diff --git a/libgcc/config/alpha/t-alpha b/libgcc/config/alpha/t-alpha
+index 0b6ffb1..0c2f840 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