mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-25 04:43:33 +00:00
901b86a525
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.
20 lines
697 B
C
20 lines
697 B
C
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
|
|
+ ;
|