diff options
author | Marek Polacek <polacek@redhat.com> | 2012-07-10 14:30:24 +0200 |
---|---|---|
committer | Marek Polacek <polacek@redhat.com> | 2012-07-10 14:30:24 +0200 |
commit | 7b8e0d49cbfd8a911978d4b72f3d97e11a6d34ec (patch) | |
tree | b6e8d0b491e2e4e78d1e4b41d3edadeb04392395 /configure | |
parent | c1d00790348352d9bd342b9cebe70cb416f63798 (diff) | |
download | glibc-7b8e0d49cbfd8a911978d4b72f3d97e11a6d34ec.tar.gz |
Get rid of ASM_GLOBAL_DIRECTIVE.
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 45 |
1 files changed, 5 insertions, 40 deletions
@@ -4076,41 +4076,6 @@ else $as_echo "yes" >&6; } fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for assembler global-symbol directive" >&5 -$as_echo_n "checking for assembler global-symbol directive... " >&6; } -if ${libc_cv_asm_global_directive+:} false; then : - $as_echo_n "(cached) " >&6 -else - libc_cv_asm_global_directive=UNKNOWN -for ac_globl in .globl .global .EXPORT; do - cat > conftest.s <<EOF - ${libc_cv_dot_text} - ${ac_globl} foo -foo: -EOF - if { ac_try='${CC-cc} $ASFLAGS -c conftest.s 1>&5' - { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5 - (eval $ac_try) 2>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; }; }; then - libc_cv_asm_global_directive=${ac_globl} - fi - rm -f conftest* - test $libc_cv_asm_global_directive != UNKNOWN && break -done -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_asm_global_directive" >&5 -$as_echo "$libc_cv_asm_global_directive" >&6; } -if test $libc_cv_asm_global_directive = UNKNOWN; then - as_fn_error $? "cannot determine asm global directive" "$LINENO" 5 -else - cat >>confdefs.h <<_ACEOF -#define ASM_GLOBAL_DIRECTIVE ${libc_cv_asm_global_directive} -_ACEOF - -fi - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for assembler .type directive prefix" >&5 $as_echo_n "checking for assembler .type directive prefix... " >&6; } if ${libc_cv_asm_type_prefix+:} false; then : @@ -4120,7 +4085,7 @@ else for ac_try_prefix in '@' '%' '#'; do cat > conftest.s <<EOF ${libc_cv_dot_text} - ${libc_cv_asm_global_directive} foo + .globl foo .type foo, ${ac_try_prefix}object .size foo, 1 foo: @@ -5731,7 +5696,7 @@ else ${libc_cv_dot_text} foo: .set glibc_conftest_frobozz,foo -$libc_cv_asm_global_directive glibc_conftest_frobozz +.globl glibc_conftest_frobozz EOF # The alpha-dec-osf1 assembler gives only a warning for `.set' # (but it doesn't work), so we must do a linking check to be sure. @@ -6739,7 +6704,7 @@ if ${libc_cv_asm_weak_directive+:} false; then : else cat > conftest.s <<EOF ${libc_cv_dot_text} -${libc_cv_asm_global_directive} foo +.globl foo foo: .weak foo .weak bar; bar = foo @@ -6767,11 +6732,11 @@ if ${libc_cv_asm_weakext_directive+:} false; then : else cat > conftest.s <<EOF ${libc_cv_dot_text} -${libc_cv_asm_global_directive} foo +.globl foo foo: .weakext bar foo .weakext baz -${libc_cv_asm_global_directive} baz +.globl baz baz: EOF if { ac_try='${CC-cc} $ASFLAGS -c conftest.s 1>&5' |