aboutsummaryrefslogtreecommitdiff
path: root/gcc/libgcc2.h
diff options
context:
space:
mode:
authorMark Mitchell <mark@codesourcery.com>2004-08-03 16:57:40 +0000
committerMark Mitchell <mmitchel@gcc.gnu.org>2004-08-03 16:57:40 +0000
commit3fc1f660b24821265d59d21afd1c21c8ed9bdc50 (patch)
treebdc2915dddeefc851e6591a2b146707386ffa47f /gcc/libgcc2.h
parent066cd96767670cf235869528e8c8fc963b35cc1d (diff)
downloadgcc-3fc1f660b24821265d59d21afd1c21c8ed9bdc50.zip
gcc-3fc1f660b24821265d59d21afd1c21c8ed9bdc50.tar.gz
gcc-3fc1f660b24821265d59d21afd1c21c8ed9bdc50.tar.bz2
gthr-gnat.c: Add visibility #pragmas.
* 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
Diffstat (limited to 'gcc/libgcc2.h')
-rw-r--r--gcc/libgcc2.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/gcc/libgcc2.h b/gcc/libgcc2.h
index 9ca0b50..3c7e3e2 100644
--- a/gcc/libgcc2.h
+++ b/gcc/libgcc2.h
@@ -30,6 +30,8 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA
#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 *)
@@ -307,4 +309,21 @@ typedef union
#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 */