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
This commit is contained in:
parent
066cd96767
commit
3fc1f660b2
@ -1,3 +1,31 @@
|
||||
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>
|
||||
|
@ -26,9 +26,10 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA
|
||||
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
|
||||
@ -79,3 +80,5 @@ __gthread_mutex_unlock (__gthread_mutex_t * UNUSED (mutex))
|
||||
__gnat_task_unlock ();
|
||||
return 0;
|
||||
}
|
||||
|
||||
#pragma GCC visibility pop
|
||||
|
@ -28,6 +28,8 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA
|
||||
#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;
|
||||
@ -39,5 +41,7 @@ extern int __gthread_active_p (void);
|
||||
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 */
|
||||
|
||||
|
@ -29,6 +29,8 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA
|
||||
#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
|
||||
@ -100,4 +102,6 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA
|
||||
#include "gthr-single.h"
|
||||
#endif
|
||||
|
||||
#pragma GCC visibility pop(default)
|
||||
|
||||
#endif /* ! GCC_GTHR_H */
|
||||
|
@ -418,7 +418,6 @@ __ashrdi3 (DWtype u, word_type b)
|
||||
|
||||
#ifdef L_ffssi2
|
||||
#undef int
|
||||
extern int __ffsSI2 (UWtype u);
|
||||
int
|
||||
__ffsSI2 (UWtype u)
|
||||
{
|
||||
@ -434,7 +433,6 @@ __ffsSI2 (UWtype u)
|
||||
|
||||
#ifdef L_ffsdi2
|
||||
#undef int
|
||||
extern int __ffsDI2 (DWtype u);
|
||||
int
|
||||
__ffsDI2 (DWtype u)
|
||||
{
|
||||
@ -611,7 +609,6 @@ const UQItype __clz_tab[] =
|
||||
|
||||
#ifdef L_clzsi2
|
||||
#undef int
|
||||
extern int __clzSI2 (UWtype x);
|
||||
int
|
||||
__clzSI2 (UWtype x)
|
||||
{
|
||||
@ -625,7 +622,6 @@ __clzSI2 (UWtype x)
|
||||
|
||||
#ifdef L_clzdi2
|
||||
#undef int
|
||||
extern int __clzDI2 (UDWtype x);
|
||||
int
|
||||
__clzDI2 (UDWtype x)
|
||||
{
|
||||
@ -645,7 +641,6 @@ __clzDI2 (UDWtype x)
|
||||
|
||||
#ifdef L_ctzsi2
|
||||
#undef int
|
||||
extern int __ctzSI2 (UWtype x);
|
||||
int
|
||||
__ctzSI2 (UWtype x)
|
||||
{
|
||||
@ -659,7 +654,6 @@ __ctzSI2 (UWtype x)
|
||||
|
||||
#ifdef L_ctzdi2
|
||||
#undef int
|
||||
extern int __ctzDI2 (UDWtype x);
|
||||
int
|
||||
__ctzDI2 (UDWtype x)
|
||||
{
|
||||
@ -698,7 +692,6 @@ const UQItype __popcount_tab[] =
|
||||
|
||||
#ifdef L_popcountsi2
|
||||
#undef int
|
||||
extern int __popcountSI2 (UWtype x);
|
||||
int
|
||||
__popcountSI2 (UWtype x)
|
||||
{
|
||||
@ -713,7 +706,6 @@ __popcountSI2 (UWtype x)
|
||||
|
||||
#ifdef L_popcountdi2
|
||||
#undef int
|
||||
extern int __popcountDI2 (UDWtype x);
|
||||
int
|
||||
__popcountDI2 (UDWtype x)
|
||||
{
|
||||
@ -728,7 +720,6 @@ __popcountDI2 (UDWtype x)
|
||||
|
||||
#ifdef L_paritysi2
|
||||
#undef int
|
||||
extern int __paritySI2 (UWtype x);
|
||||
int
|
||||
__paritySI2 (UWtype x)
|
||||
{
|
||||
@ -750,7 +741,6 @@ __paritySI2 (UWtype x)
|
||||
|
||||
#ifdef L_paritydi2
|
||||
#undef int
|
||||
extern int __parityDI2 (UDWtype x);
|
||||
int
|
||||
__parityDI2 (UDWtype x)
|
||||
{
|
||||
|
@ -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 */
|
||||
|
@ -32,6 +32,8 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA
|
||||
#ifndef GCC_UNWIND_DW2_FDE_H
|
||||
#define GCC_UNWIND_DW2_FDE_H
|
||||
|
||||
#pragma GCC visibility push(default)
|
||||
|
||||
struct fde_vector
|
||||
{
|
||||
const void *orig_data;
|
||||
@ -177,4 +179,6 @@ last_fde (struct object *obj __attribute__ ((__unused__)), const fde *f)
|
||||
#endif
|
||||
}
|
||||
|
||||
#pragma GCC visibility pop
|
||||
|
||||
#endif /* unwind-dw2-fde.h */
|
||||
|
@ -31,6 +31,8 @@
|
||||
#ifndef _UNWIND_H
|
||||
#define _UNWIND_H
|
||||
|
||||
#pragma GCC visibility push(default)
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
@ -229,4 +231,6 @@ extern void * _Unwind_FindEnclosingFunction (void *pc);
|
||||
}
|
||||
#endif
|
||||
|
||||
#pragma GCC visibility pop
|
||||
|
||||
#endif /* unwind.h */
|
||||
|
Loading…
Reference in New Issue
Block a user