From 335aa3209b5d597a93733a7313e629e202731078 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Fri, 14 Apr 1995 03:27:44 +0000 Subject: * sysdeps/generic/expm1.c: #undef expm1 before weak_alias. * libc-symbols.h [! HAVE_ASM_SET_DIRECTIVE] (strong_alias, strong_alias_asm): Use `foo = bar' syntax instead. * configure.in: Fix AC_ARG_WITH uses; check for --with-fp. Move $host_os checks to set gnu_ld/as and elf before sysdirs generation. Fix $with_fp test. [$elf=yes]: Prepend MACHINE/elf directory. --- libc-symbols.h | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'libc-symbols.h') diff --git a/libc-symbols.h b/libc-symbols.h index be88e7601b..a173b4d66d 100644 --- a/libc-symbols.h +++ b/libc-symbols.h @@ -80,6 +80,7 @@ Cambridge, MA 02139, USA. */ #endif /* Define ALIAS as a strong alias for ORIGINAL. */ +#ifdef HAVE_ASM_SET_DIRECTIVE #define strong_alias_asm(original, alias) \ .set C_SYMBOL_NAME (alias),C_SYMBOL_NAME (original) #ifdef ASSEMBLER @@ -88,6 +89,16 @@ Cambridge, MA 02139, USA. */ #define strong_alias(original, alias) \ asm (".set " __SYMBOL_PREFIX #alias "," __SYMBOL_PREFIX #original); #endif +#else +#define strong_alias_asm(original, alias) \ + C_SYMBOL_NAME (alias) = C_SYMBOL_NAME (original) +#ifdef ASSEMBLER +#define strong_alias(original, alias) strong_alias_asm (original, alias) +#else +#define strong_alias(original, alias) \ + asm (__SYMBOL_PREFIX #alias " = " __SYMBOL_PREFIX #original); +#endif +#endif /* Define ALIAS as a weak alias for ORIGINAL. If weak aliases are not available, this defines a strong alias. */ -- cgit v1.2.1