From bc9fbf5dec10a5a0131608cefd9b97d273064814 Mon Sep 17 00:00:00 2001 From: mmitchel Date: Tue, 3 Aug 2004 16:57:40 +0000 Subject: * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85489 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/gthr-gnat.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'gcc/gthr-gnat.c') diff --git a/gcc/gthr-gnat.c b/gcc/gthr-gnat.c index 586e7d1a188..cb47d86cd08 100644 --- a/gcc/gthr-gnat.c +++ b/gcc/gthr-gnat.c @@ -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 -- cgit v1.2.1