aboutsummaryrefslogtreecommitdiffstats
path: root/testing/gcc/pt_gnu_eh_frame.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2009-08-04 09:30:34 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2009-08-04 09:37:58 +0000
commitb7e4c1252df98efa06db0f35ab9d567eb73542df (patch)
tree1c0ff250e29ce8e7bbc91d416827129c4156b1cb /testing/gcc/pt_gnu_eh_frame.patch
parentc47e236bc441bc6e479a211e7f93402627ab1351 (diff)
downloadaports-b7e4c1252df98efa06db0f35ab9d567eb73542df.tar.bz2
aports-b7e4c1252df98efa06db0f35ab9d567eb73542df.tar.xz
testing/gcc: new test aport for version 4.4.1
Diffstat (limited to 'testing/gcc/pt_gnu_eh_frame.patch')
-rw-r--r--testing/gcc/pt_gnu_eh_frame.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/testing/gcc/pt_gnu_eh_frame.patch b/testing/gcc/pt_gnu_eh_frame.patch
new file mode 100644
index 0000000000..3e029104aa
--- /dev/null
+++ b/testing/gcc/pt_gnu_eh_frame.patch
@@ -0,0 +1,12 @@
+--- gcc-4.3.2/gcc/crtstuff.c.orig Mon Nov 17 16:02:38 2008
++++ gcc-4.3.2/gcc/crtstuff.c Mon Nov 17 16:02:52 2008
+@@ -94,8 +94,7 @@
+ #include <link.h>
+ /* uClibc pretends to be glibc 2.2 and DT_CONFIG is defined in its link.h.
+ But it doesn't use PT_GNU_EH_FRAME ELF segment currently. */
+-# if !defined(__UCLIBC__) \
+- && (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ > 2) \
++# if (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ > 2) \
+ || (__GLIBC__ == 2 && __GLIBC_MINOR__ == 2 && defined(DT_CONFIG)))
+ # define USE_PT_GNU_EH_FRAME
+ # endif