PATCH: target/18380: [3.4 regression]: _Unwind_FindTableEntry shouldn't be exported from libunwind.so.7
H. J. Lu
hjl@lucon.org
Mon Nov 8 17:48:00 GMT 2004
On Mon, Nov 08, 2004 at 08:31:19AM -0500, Jakub Jelinek wrote:
> Hi!
>
> Is
> 46: 0000000000001b20 160 FUNC GLOBAL DEFAULT 10 _Unwind_FindTableEntry
> exported from libunwind.so.7 on purpose or by mistake?
> If the latter, we should IMHO make it hidden ASAP.
>
> Jakub
H.J.
----
2004-11-08 H.J. Lu <hongjiu.lu@intel.com>
PR target/18380
* config/ia64/unwind-ia64.h (_Unwind_FindTableEntry): Mark it
hidden.
* unwind-dw2.c (_Unwind_FindTableEntry): Removed.
--- gcc/config/ia64/unwind-ia64.h.unwind 2003-03-17 16:36:00.000000000 -0800
+++ gcc/config/ia64/unwind-ia64.h 2004-11-08 09:18:09.350497373 -0800
@@ -28,4 +28,5 @@ struct unw_table_entry
extern struct unw_table_entry *
_Unwind_FindTableEntry (void *pc, unsigned long *segment_base,
- unsigned long *gp);
+ unsigned long *gp)
+ __attribute__ ((__visibility__ ("hidden")));
--- gcc/unwind-dw2.c.unwind 2004-09-30 18:19:47.000000000 -0700
+++ gcc/unwind-dw2.c 2004-11-08 09:15:47.317877129 -0800
@@ -1375,7 +1375,6 @@ uw_identify_context (struct _Unwind_Cont
alias (_Unwind_Backtrace);
alias (_Unwind_DeleteException);
alias (_Unwind_FindEnclosingFunction);
-alias (_Unwind_FindTableEntry);
alias (_Unwind_ForcedUnwind);
alias (_Unwind_GetDataRelBase);
alias (_Unwind_GetTextRelBase);
More information about the Gcc
mailing list