summaryrefslogtreecommitdiff
path: root/lang/gcc46/files/patch-unwind-ia64.h
blob: 5e264fe251002b5a6dad3d3ff4b8bad62bc2d26f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
2010-09-12  Gerald Pfeifer  <gerald@pfeifer.com>

       PR target/45650
       * config/ia64/unwind-ia64.h: Do not mark _Unwind_FindTableEntry
       hidden on FreeBSD.

--- UTC
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
+                        ;