aboutsummaryrefslogtreecommitdiff
path: root/include/libc-symbols.h
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2002-03-17 12:09:12 +0000
committerAndreas Jaeger <aj@suse.de>2002-03-17 12:09:12 +0000
commit7f0244deedca55b65c74130fcc940ceb20c74516 (patch)
tree794018fb89ae5e7ae75ae106da7a6708665d89f2 /include/libc-symbols.h
parent9ea502f95ca8fb4e744e354030292d1c3f34a485 (diff)
downloadglibc-7f0244deedca55b65c74130fcc940ceb20c74516.tar
glibc-7f0244deedca55b65c74130fcc940ceb20c74516.tar.gz
glibc-7f0244deedca55b65c74130fcc940ceb20c74516.tar.bz2
glibc-7f0244deedca55b65c74130fcc940ceb20c74516.zip
Update.
2002-03-17 Andreas Jaeger <aj@suse.de> * sysdeps/mips/fpu/fraiseexcpt.c (__feraiseexcept): Set cause bits. * sysdeps/mips/fpu/fgetexcptflg.c (__fegetexceptflag): Add comment. * sysdeps/mips/fpu/fclrexcpt.c (__feclearexcept): Clear also cause bits. * sysdeps/mips/fpu/fenv_libc.h (CAUSE_MASK): New. (CAUSE_SHIFT): New. Patch by Hartvig Ekner <hartvige@mips.com>. * sysdeps/generic/unwind-dw2-fde-glibc.c: Add prototypes. * sysdeps/generic/unwind-pe.h: Likewise. * libio/iofdopen.c (_IO_new_fdopen): Pass parameter of correct type to _IO_setb. * libio/stdio.c (AL2): Define variant when visibility attribute is not supported. * include/libc-symbols.h (_INTVARDEF): Define variant when visibility attribute is not supported.
Diffstat (limited to 'include/libc-symbols.h')
-rw-r--r--include/libc-symbols.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/include/libc-symbols.h b/include/libc-symbols.h
index 3367c39e09..11c87c84d2 100644
--- a/include/libc-symbols.h
+++ b/include/libc-symbols.h
@@ -362,9 +362,14 @@
# define INTDEF(name) strong_alias (name, name##_internal)
# define INTVARDEF(name) \
_INTVARDEF (name, name##_internal)
-# define _INTVARDEF(name, aliasname) \
+# if defined HAVE_VISIBILITY_ATTRIBUTE
+# define _INTVARDEF(name, aliasname) \
extern __typeof (name) aliasname __attribute__ ((alias (#name), \
visibility ("hidden")));
+# else
+# define _INTVARDEF(name, aliasname) \
+ extern __typeof (name) aliasname __attribute__ ((alias (#name)));
+# endif
# define INTDEF2(name, newname) strong_alias (name, newname##_internal)
# define INTVARDEF2(name, newname) _INTVARDEF (name, newname##_internal)
#else