From 0d8e7cbba68c73e1583f5778e24d688db6705c7a Mon Sep 17 00:00:00 2001 From: Alexey Neyman Date: Tue, 23 May 2017 00:04:09 -0700 Subject: Add patch from GCC #80037 Fixes #719. Signed-off-by: Alexey Neyman diff --git a/patches/gcc/4.8.5/111-alpha-bad-eh_frame.patch b/patches/gcc/4.8.5/111-alpha-bad-eh_frame.patch new file mode 100644 index 0000000..93f6e94 --- /dev/null +++ b/patches/gcc/4.8.5/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 diff --git a/patches/gcc/4.9.4/111-alpha-bad-eh_frame.patch b/patches/gcc/4.9.4/111-alpha-bad-eh_frame.patch new file mode 100644 index 0000000..93f6e94 --- /dev/null +++ b/patches/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 diff --git a/patches/gcc/5.4.0/111-alpha-bad-eh_frame.patch b/patches/gcc/5.4.0/111-alpha-bad-eh_frame.patch new file mode 100644 index 0000000..93f6e94 --- /dev/null +++ b/patches/gcc/5.4.0/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 diff --git a/patches/gcc/6.3.0/111-alpha-bad-eh_frame.patch b/patches/gcc/6.3.0/111-alpha-bad-eh_frame.patch new file mode 100644 index 0000000..93f6e94 --- /dev/null +++ b/patches/gcc/6.3.0/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 diff --git a/patches/gcc/7.1.0/111-alpha-bad-eh_frame.patch b/patches/gcc/7.1.0/111-alpha-bad-eh_frame.patch new file mode 100644 index 0000000..93f6e94 --- /dev/null +++ b/patches/gcc/7.1.0/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 -- cgit v0.10.2-6-g49f6