aboutsummaryrefslogtreecommitdiffstats
path: root/lang/gcc6-devel/files/patch-unwind-ia64.h
blob: 82e103a543c5ba02381c195bc1813df9d09dc46c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
2012-12-17  Gerald Pfeifer  <gerald@pfeifer.com>
            Anton Shterenlikht  <mexas@bristol.ac.uk>

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

--- UTC
Index: libgcc/config/ia64/unwind-ia64.h
===================================================================
--- libgcc/config/ia64/unwind-ia64.h
+++ libgcc/config/ia64/unwind-ia64.h    (working copy)
@@ -49,4 +49,7 @@
 extern struct unw_table_entry *
 _Unwind_FindTableEntry (void *pc, unw_word *segment_base,
            unw_word *gp, struct unw_table_entry *ent)
-           __attribute__ ((__visibility__ ("hidden")));
+#ifndef __FreeBSD__
+           __attribute__ ((__visibility__ ("hidden")))
+#endif
+           ;