freebsd-ports/lang/gcc48/files/patch-unwind-ia64.h
Gerald Pfeifer ac60120ca5 Reintroduce, adjusted to current upstream changes, my hack to get
to the unwinder interface to get FreeBSD/ia64 build. [1]

Update to the 20121216 snapshot of GCC 4.8.0.

Submitted by:	Anton Shterenlikht <mexas@bristol.ac.uk> [1]
2012-12-18 04:47:15 +00:00

20 lines
711 B
C

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