From: Roland McGrath Date: Tue, 18 Apr 1995 21:07:40 +0000 (+0000) Subject: * libc-symbols.h (strong_alias_asm, strong_alias): Use X-Git-Tag: cvs/make-3-73-2~13 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d02907df8e29353eaeb357f498c7469f4f44eacf;p=thirdparty%2Fglibc.git * libc-symbols.h (strong_alias_asm, strong_alias): Use ASM_GLOBAL_DIRECTIVE on the alias. --- diff --git a/ChangeLog b/ChangeLog index 604d1e71497..c544f0043a3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -3,6 +3,8 @@ Tue Apr 18 14:00:19 1995 Roland McGrath * configure.in (libc_cv_asm_global_directive): New check to define ASM_GLOBAL_DIRECTIVE. * config.h.in: Add #undef ASM_GLOBAL_DIRECTIVE. + * libc-symbols.h (strong_alias_asm, strong_alias): Use + ASM_GLOBAL_DIRECTIVE on the alias. * sysdeps/unix/make_errlist.c (main): Don't generate "#ifdef HAVE_WEAK_SYMBOLS" #defns. diff --git a/configure b/configure index 0a4e97d3c92..e440083651c 100755 --- a/configure +++ b/configure @@ -1134,7 +1134,7 @@ if ${CC-cc} $CFLAGS -c conftest.s 2>/dev/null; then else libc_cv_asm_set_directive=no fi -rm -f contest* +rm -f conftest* fi echo "$ac_t""$libc_cv_asm_set_directive" 1>&4 @@ -1145,6 +1145,35 @@ EOF fi +echo $ac_n "checking for assembler global-symbol directive""... $ac_c" 1>&4 +if eval "test \"`echo '$''{'libc_cv_asm_global_directive'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&4 +else + libc_cv_asm_global_directive=UNKNOWN +for ac_globl in .globl .global; do + cat > conftest.s </dev/null; then + libc_cv_asm_global_directive=${ac_globl} + fi + rm -f conftest* + test $libc_cv_asm_global_directive != UNKNOWN && break +done +fi + +echo "$ac_t""$libc_cv_asm_global_directive" 1>&4 +if test $libc_cv_asm_global_directive = UNKNOWN; then + { echo "configure: error: cannot determine asm global directive" 1>&2; exit 1; } +else + cat >> confdefs.h <