* gthr-gnat.c: Add visibility #pragmas.
* gthr-gnat.h : Likewise.
* gthr.h: Likewise.
* libgcc2.c (__ffsSI2): Move prototype to libgcc2.h.
(__ffsDI2): Likewise.
(__clzSI2): Likewise.
(__ctzSI2): Likewise.
(__ctzDI2): Likewise.
(__popcountSI2): Likewise.
(__popcountDI2): Likewise.
(__paritySI2): Likewise.
(__parityDI2): Likewise.
* libgcc2.h: Add visibility #pragmas.
(__clzDI2): Add prototype.
(__clzSI2): Likewise.
(__ctzSI2): Likewise.
(__ffsDI2): Likewise.
(__ffsSI2): Likewise.
(__ctzDI2): Likewise.
(__popcountSI2): Likewise.
(__popcountDI2): Likewise.
(__paritySI2): Likewise.
(__parityDI2): Likewise.
* unwind-dw2-fde.h: Add visibility #pragmas.
* unwind.h: Likewise.
From-SVN: r85489
+2004-08-03 Mark Mitchell <mark@codesourcery.com>
+
+ * gthr-gnat.c: Add visibility #pragmas.
+ * gthr-gnat.h : Likewise.
+ * gthr.h: Likewise.
+ * libgcc2.c (__ffsSI2): Move prototype to libgcc2.h.
+ (__ffsDI2): Likewise.
+ (__clzSI2): Likewise.
+ (__ctzSI2): Likewise.
+ (__ctzDI2): Likewise.
+ (__popcountSI2): Likewise.
+ (__popcountDI2): Likewise.
+ (__paritySI2): Likewise.
+ (__parityDI2): Likewise.
+ * libgcc2.h: Add visibility #pragmas.
+ (__clzDI2): Add prototype.
+ (__clzSI2): Likewise.
+ (__ctzSI2): Likewise.
+ (__ffsDI2): Likewise.
+ (__ffsSI2): Likewise.
+ (__ctzDI2): Likewise.
+ (__popcountSI2): Likewise.
+ (__popcountDI2): Likewise.
+ (__paritySI2): Likewise.
+ (__parityDI2): Likewise.
+ * unwind-dw2-fde.h: Add visibility #pragmas.
+ * unwind.h: Likewise.
+
2004-08-03 David Edelsohn <edelsohn@gnu.org>
Dale Johannesen <dalej@apple.com>
Roger Sayle <roger@eyesopen.com>
This exception does not however invalidate any other reasons why
the executable file might be covered by the GNU General Public License. */
-
#include "gthr-gnat.h"
+#pragma GCC visibility push(default)
+
#ifdef __cplusplus
#define UNUSED(x)
#else
__gnat_task_unlock ();
return 0;
}
+
+#pragma GCC visibility pop
#ifndef GCC_GTHR_GNAT_H
#define GCC_GTHR_GNAT_H
+#pragma GCC visibility push(default)
+
/* Just provide compatibility for mutex handling. */
typedef int __gthread_mutex_t;
extern int __gthread_mutex_lock (__gthread_mutex_t *);
extern int __gthread_mutex_unlock (__gthread_mutex_t *);
+#pragma GCC visibility pop
+
#endif /* ! GCC_GTHR_GNAT_H */
#ifndef GCC_GTHR_H
#define GCC_GTHR_H
+#pragma GCC visibility push(default)
+
/* If this file is compiled with threads support, it must
#define __GTHREADS 1
to indicate that threads support is present. Also it has define
#include "gthr-single.h"
#endif
+#pragma GCC visibility pop(default)
+
#endif /* ! GCC_GTHR_H */
\f
#ifdef L_ffssi2
#undef int
-extern int __ffsSI2 (UWtype u);
int
__ffsSI2 (UWtype u)
{
\f
#ifdef L_ffsdi2
#undef int
-extern int __ffsDI2 (DWtype u);
int
__ffsDI2 (DWtype u)
{
\f
#ifdef L_clzsi2
#undef int
-extern int __clzSI2 (UWtype x);
int
__clzSI2 (UWtype x)
{
\f
#ifdef L_clzdi2
#undef int
-extern int __clzDI2 (UDWtype x);
int
__clzDI2 (UDWtype x)
{
\f
#ifdef L_ctzsi2
#undef int
-extern int __ctzSI2 (UWtype x);
int
__ctzSI2 (UWtype x)
{
\f
#ifdef L_ctzdi2
#undef int
-extern int __ctzDI2 (UDWtype x);
int
__ctzDI2 (UDWtype x)
{
\f
#ifdef L_popcountsi2
#undef int
-extern int __popcountSI2 (UWtype x);
int
__popcountSI2 (UWtype x)
{
\f
#ifdef L_popcountdi2
#undef int
-extern int __popcountDI2 (UDWtype x);
int
__popcountDI2 (UDWtype x)
{
\f
#ifdef L_paritysi2
#undef int
-extern int __paritySI2 (UWtype x);
int
__paritySI2 (UWtype x)
{
\f
#ifdef L_paritydi2
#undef int
-extern int __parityDI2 (UDWtype x);
int
__parityDI2 (UDWtype x)
{
#ifndef GCC_LIBGCC2_H
#define GCC_LIBGCC2_H
+#pragma GCC visibility push(default)
+
extern int __gcc_bcmp (const unsigned char *, const unsigned char *, size_t);
extern void __clear_cache (char *, char *);
extern void __eprintf (const char *, const char *, unsigned int, const char *)
#include "longlong.h"
+#undef int
+extern int __clzDI2 (UDWtype);
+extern int __clzSI2 (UWtype);
+extern int __ctzSI2 (UWtype);
+extern int __ffsSI2 (UWtype);
+extern int __ffsDI2 (DWtype);
+extern int __ctzDI2 (UDWtype);
+extern int __popcountSI2 (UWtype);
+extern int __popcountDI2 (UDWtype);
+extern int __paritySI2 (UWtype);
+extern int __parityDI2 (UDWtype);
+#define int bogus_type
+
+extern void __enable_execute_stack (void *);
+
+#pragma GCC visibility pop
+
#endif /* ! GCC_LIBGCC2_H */
#ifndef GCC_UNWIND_DW2_FDE_H
#define GCC_UNWIND_DW2_FDE_H
+#pragma GCC visibility push(default)
+
struct fde_vector
{
const void *orig_data;
#endif
}
+#pragma GCC visibility pop
+
#endif /* unwind-dw2-fde.h */
#ifndef _UNWIND_H
#define _UNWIND_H
+#pragma GCC visibility push(default)
+
#ifdef __cplusplus
extern "C" {
#endif
}
#endif
+#pragma GCC visibility pop
+
#endif /* unwind.h */