+2014-10-28 Joseph Myers <joseph@codesourcery.com>
+
+ [BZ #14132]
+ * sysdeps/generic/unwind-dw2-fde.c
+ (__register_frame_info_bases_internal): Do not declare.
+ (__register_frame_info_table_bases_internal): Likewise.
+ (__deregister_frame_info_bases_internal): Likewise.
+ (__register_frame_info_bases): Declare and use hidden_proto before
+ definition. Use hidden_def instead of INTDEF.
+ (__register_frame_info_table_bases): Likewise.
+ (__deregister_frame_info_bases): Likewise.
+ (__register_frame_info): Do not use INTUSE.
+ (__register_frame): Likewise.
+ (__register_frame_info_table): Likewise.
+ (__register_frame_table): Likewise.
+ (__deregister_frame_info): Likewise.
+ (__deregister_frame): Likewise.
+
2014-10-27 Gratian Crisan <gratian.crisan@ni.com>
* sysdeps/unix/sysv/linux/arm/kernel-features.h
#define __gthread_mutex_lock(m) __libc_lock_lock (*(m))
#define __gthread_mutex_unlock(m) __libc_lock_unlock (*(m))
-void __register_frame_info_bases_internal (void *begin, struct object *ob,
- void *tbase, void *dbase);
-void __register_frame_info_table_bases_internal (void *begin,
- struct object *ob,
- void *tbase, void *dbase);
-void *__deregister_frame_info_bases_internal (void *begin);
+void __register_frame_info_bases (void *begin, struct object *ob,
+ void *tbase, void *dbase);
+hidden_proto (__register_frame_info_bases)
+void __register_frame_info_table_bases (void *begin,
+ struct object *ob,
+ void *tbase, void *dbase);
+hidden_proto (__register_frame_info_table_bases)
+void *__deregister_frame_info_bases (void *begin);
+hidden_proto (__deregister_frame_info_bases)
#else
__gthread_mutex_unlock (&object_mutex);
}
-INTDEF(__register_frame_info_bases)
+hidden_def (__register_frame_info_bases)
void
__register_frame_info (void *begin, struct object *ob)
{
- INTUSE(__register_frame_info_bases) (begin, ob, 0, 0);
+ __register_frame_info_bases (begin, ob, 0, 0);
}
void
return;
ob = (struct object *) malloc (sizeof (struct object));
- INTUSE(__register_frame_info_bases) (begin, ob, 0, 0);
+ __register_frame_info_bases (begin, ob, 0, 0);
}
/* Similar, but BEGIN is actually a pointer to a table of unwind entries
__gthread_mutex_unlock (&object_mutex);
}
-INTDEF(__register_frame_info_table_bases)
+hidden_def (__register_frame_info_table_bases)
void
__register_frame_info_table (void *begin, struct object *ob)
{
- INTUSE(__register_frame_info_table_bases) (begin, ob, 0, 0);
+ __register_frame_info_table_bases (begin, ob, 0, 0);
}
void
__register_frame_table (void *begin)
{
struct object *ob = (struct object *) malloc (sizeof (struct object));
- INTUSE(__register_frame_info_table_bases) (begin, ob, 0, 0);
+ __register_frame_info_table_bases (begin, ob, 0, 0);
}
/* Called from crtbegin.o to deregister the unwind info for an object. */
__gthread_mutex_unlock (&object_mutex);
return (void *) ob;
}
-INTDEF(__deregister_frame_info_bases)
+hidden_def (__deregister_frame_info_bases)
void *
__deregister_frame_info (void *begin)
{
- return INTUSE(__deregister_frame_info_bases) (begin);
+ return __deregister_frame_info_bases (begin);
}
void
{
/* If .eh_frame is empty, we haven't registered. */
if (*(uword *) begin != 0)
- free (INTUSE(__deregister_frame_info_bases) (begin));
+ free (__deregister_frame_info_bases (begin));
}
\f