Index: config/ia64/unwind-ia64.h
===================================================================
--- config/ia64/unwind-ia64.h	(revision 164202)
+++ 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
+                        ;
