mirror of
git://sourceware.org/git/glibc.git
synced 2026-10-18 03:33:48 +08:00
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.
This commit is contained in:
+8
-3
@@ -40,9 +40,14 @@ _IO_FILE *stderr = (FILE *) &_IO_2_1_stderr_;
|
||||
#undef _IO_stderr
|
||||
#ifdef _LIBC
|
||||
# define AL(name) AL2 (name, _IO_##name)
|
||||
# define AL2(name, al) \
|
||||
extern __typeof (name) al __attribute__ ((alias (#name), \
|
||||
visibility ("hidden")))
|
||||
# if defined HAVE_VISIBILITY_ATTRIBUTE
|
||||
# define AL2(name, al) \
|
||||
extern __typeof (name) al __attribute__ ((alias (#name), \
|
||||
visibility ("hidden")))
|
||||
# else
|
||||
# define AL2(name, al) \
|
||||
extern __typeof (name) al __attribute__ ((alias (#name)))
|
||||
# endif
|
||||
AL(stdin);
|
||||
AL(stdout);
|
||||
AL(stderr);
|
||||
|
||||
Reference in New Issue
Block a user