mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-29 11:41:21 +03:00
* libc-symbols.h (strong_alias_asm, strong_alias): Use
ASM_GLOBAL_DIRECTIVE on the alias.
This commit is contained in:
31
configure
vendored
31
configure
vendored
@ -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 <<EOF
|
||||
.text
|
||||
${ac_globl} foo
|
||||
foo: .long 0
|
||||
EOF
|
||||
if ${CC-cc} $CFLAGS -c conftest.s 2>/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 <<EOF
|
||||
#define ASM_GLOBAL_DIRECTIVE ${libc_cv_asm_global_directive}
|
||||
EOF
|
||||
|
||||
fi
|
||||
|
||||
|
||||
# sysdeps configure fragments may set these with files to be linked below.
|
||||
libc_link_dests=
|
||||
|
Reference in New Issue
Block a user