aboutsummaryrefslogtreecommitdiff
path: root/lang/gcc46/files
diff options
context:
space:
mode:
authorGerald Pfeifer <gerald@FreeBSD.org>2010-09-12 01:18:02 +0000
committerGerald Pfeifer <gerald@FreeBSD.org>2010-09-12 01:18:02 +0000
commit901b86a525efb59cec6bc8ceda24f447e43f982f (patch)
tree469dcee0ab9ea320c56fb4a7e96cf34940ad4580 /lang/gcc46/files
parent0b4cd1cc9e397d174419016b8ce6cdbd8111f603 (diff)
downloadports-901b86a525efb59cec6bc8ceda24f447e43f982f.tar.gz
ports-901b86a525efb59cec6bc8ceda24f447e43f982f.zip
Update to the 20100911 snapshot of GCC 4.6.0. This brings one fix for
FreeBSD/ia64 that I made upstream and together with another, which is a local patch for now, ia64 can become part of ONLY_FOR_ARCHS.
Notes
Notes: svn path=/head/; revision=261003
Diffstat (limited to 'lang/gcc46/files')
-rw-r--r--lang/gcc46/files/patch-unwind-ia64.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/lang/gcc46/files/patch-unwind-ia64.h b/lang/gcc46/files/patch-unwind-ia64.h
new file mode 100644
index 000000000000..265c82c77042
--- /dev/null
+++ b/lang/gcc46/files/patch-unwind-ia64.h
@@ -0,0 +1,19 @@
+2010-09-12 Gerald Pfeifer <gerald@pfeifer.com>
+
+ PR target/45650
+ * config/ia64/unwind-ia64.h: Do not mark _Unwind_FindTableEntry
+ hidden on FreeBSD.
+
+Index: gcc/config/ia64/unwind-ia64.h
+===================================================================
+--- gcc/config/ia64/unwind-ia64.h (revision 164211)
++++ gcc/config/ia64/unwind-ia64.h (working copy)
+@@ -40,4 +40,7 @@
+ extern struct unw_table_entry *
+ _Unwind_FindTableEntry (void *pc, unsigned long *segment_base,
+ unsigned long *gp, struct unw_table_entry *ent)
+- __attribute__ ((__visibility__ ("hidden")));
++#ifndef __FreeBSD__
++ __attribute__ ((__visibility__ ("hidden")))
++#endif
++ ;