From 66715f834cb1f2f5c3742e94f73bd630ea4b14eb Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Fri, 29 May 1998 10:21:16 +0000 Subject: Update. 1998-05-28 00:53 Zack Weinberg * glibcbug.in: Send to bugs@gnu or libc-alpha@cygnus depending on whether this is a stable release or not (keeps snapshot bug reports out of the database). * include/libc-symbols.h: Use __ASSEMBLER__ test macro not ASSEMBLER. * sysdeps/arm/sysdep.h: Likewise. * sysdeps/i386/sysdep.h: Likewise. * sysdeps/m68k/sysdep.h: Likewise. * sysdeps/mach/mips/sysdep.h: Likewise. * sysdeps/mach/sys/reboot.h: Likewise. * sysdeps/mach/sysdep.h: Likewise. * sysdeps/unix/alpha/sysdep.h: Likewise. * sysdeps/unix/bsd/hp/m68k/sysdep.h: Likewise. * sysdeps/unix/bsd/osf/alpha/sysdep.h: Likewise. * sysdeps/unix/bsd/sequent/i386/sysdep.h: Likewise. * sysdeps/unix/bsd/sony/newsos/m68k/sysdep.h: Likewise. * sysdeps/unix/bsd/sun/m68k/sysdep.h: Likewise. * sysdeps/unix/bsd/vax/sysdep.h: Likewise. * sysdeps/unix/i386/sysdep.h: Likewise. * sysdeps/unix/mips/sysdep.h: Likewise. * sysdeps/unix/sparc/sysdep.h: Likewise. * sysdeps/unix/sysv/linux/alpha/sysdep.h: Likewise. * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise. * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise. * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise. * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Likewise. * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise. * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise. * sysdeps/unix/sysv/sysv4/solaris2/sparc/sysdep.h: Likewise. 1998-05-27 Mark Kettenis * mach/Machrules: Use $(move-if-change). 1998-05-27 Mark Kettenis * Makeconfig [elf=yes] (+interp): New variable, set to interp.os. * Makerules (lib%.so): Depend on $(+interp). (libc.so): Add interp.os to list of dependencies. (interp-obj): Remove variable. * mach/Machrules (+interp): Define to empty since libhurduser and libmachuser don't need to have the interpreter set. 1998-05-28 Andreas Jaeger * resolv/res_send.c: Security fixes from bind 4.9.7-REL. * resolv/gethnamaddr.c: Likewise. * resolv/res_comp.c: Likewise. 1998-05-28 Mark Kettenis * sysdeps/mach/hurd/wait4.c (__wait4): Use ANSI-style definition so that transparent union works. --- include/libc-symbols.h | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'include/libc-symbols.h') diff --git a/include/libc-symbols.h b/include/libc-symbols.h index dee8865ba3..4684cb7f4a 100644 --- a/include/libc-symbols.h +++ b/include/libc-symbols.h @@ -56,7 +56,7 @@ */ -#ifndef ASSEMBLER +#ifndef __ASSEMBLER__ /* Define the macros `_' and `N_' for conveniently marking translatable strings in the libc source code. */ @@ -109,7 +109,7 @@ extern const char _libc_intl_domainname[]; # define strong_alias_asm(original, alias) \ ASM_GLOBAL_DIRECTIVE C_SYMBOL_NAME (alias); \ .set C_SYMBOL_NAME (alias),C_SYMBOL_NAME (original) -# ifdef ASSEMBLER +# ifdef __ASSEMBLER__ # define strong_alias(original, alias) strong_alias_asm (original, alias) # else # define strong_alias(original, alias) \ @@ -120,7 +120,7 @@ extern const char _libc_intl_domainname[]; # define strong_alias_asm(original, alias) \ ASM_GLOBAL_DIRECTIVE C_SYMBOL_NAME (alias); \ C_SYMBOL_NAME (alias) = C_SYMBOL_NAME (original) -# ifdef ASSEMBLER +# ifdef __ASSEMBLER__ # define strong_alias(original, alias) strong_alias_asm (original, alias) # else # define strong_alias(original, alias) \ @@ -136,7 +136,7 @@ extern const char _libc_intl_domainname[]; #ifdef HAVE_WEAK_SYMBOLS -# ifdef ASSEMBLER +# ifdef __ASSEMBLER__ # ifdef HAVE_ASM_WEAKEXT_DIRECTIVE @@ -164,7 +164,7 @@ extern const char _libc_intl_domainname[]; # endif /* ! HAVE_ASM_WEAKEXT_DIRECTIVE */ -# else /* ! ASSEMBLER */ +# else /* ! __ASSEMBLER__ */ # ifdef HAVE_ASM_WEAKEXT_DIRECTIVE # define weak_extern_asm(symbol) asm (".weakext " __SYMBOL_PREFIX #symbol); @@ -180,14 +180,14 @@ extern const char _libc_intl_domainname[]; # define weak_alias(o, a) weak_alias_asm (o, a) # define weak_extern(symbol) weak_extern_asm (symbol) -# endif /* ! ASSEMBLER */ +# endif /* ! __ASSEMBLER__ */ #else # define weak_alias(original, alias) strong_alias(original, alias) # define weak_extern(symbol) /* Do nothing; the ref will be strong. */ #endif -#if (!defined ASSEMBLER && \ +#if (!defined __ASSEMBLER__ && \ (__GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 7))) /* GCC 2.7 and later has special syntax for weak symbols and aliases. Using that is better when possible, because the compiler and assembler @@ -207,7 +207,7 @@ extern const char _libc_intl_domainname[]; # define weak_const_function __attribute__ ((weak, __const__)) # endif /* HAVE_WEAK_SYMBOLS. */ -#endif /* Not ASSEMBLER, and GCC 2.7 or later. */ +#endif /* Not __ASSEMBLER__, and GCC 2.7 or later. */ #ifndef weak_function @@ -326,7 +326,7 @@ extern const char _libc_intl_domainname[]; #endif /* Have GNU ld. */ #if DO_VERSIONING -# ifdef ASSEMBLER +# ifdef __ASSEMBLER__ # define symbol_version(real, name, version) \ .symver real, name##@##version # define default_symbol_version(real, name, version) \ -- cgit 1.4.1