diff options
author | Ulrich Drepper <drepper@redhat.com> | 1999-10-10 00:00:36 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 1999-10-10 00:00:36 +0000 |
commit | 2293395f48cbfbd6ddf548fea8ba832e4c185356 (patch) | |
tree | 292ae8a697250541ee6b5328a2c36adc0bc33ed0 /configure.in | |
parent | 883c331ae9e9fb6e61c7213a012a5f4122b2bb23 (diff) | |
download | glibc-2293395f48cbfbd6ddf548fea8ba832e4c185356.tar glibc-2293395f48cbfbd6ddf548fea8ba832e4c185356.tar.gz glibc-2293395f48cbfbd6ddf548fea8ba832e4c185356.tar.bz2 glibc-2293395f48cbfbd6ddf548fea8ba832e4c185356.zip |
Update.
* nss/getXXbyYY_r.c (do_weak_alias): Remove unnecessary parenthesis.
* sysdeps/powerpc/s_copysign.S: Move to...
* sysdeps/powerpc/fpu/s_copysign.S: ...here. Use portable asm syntax.
* sysdeps/powerpc/s_copysignf.S: Move to...
* sysdeps/powerpc/fpu/s_copysignf.S: ...here.
* sysdeps/powerpc/s_fabs.S: Move to...
* sysdeps/powerpc/fpu/s_fabs.S: ...here. Use portable asm syntax.
* sysdeps/powerpc/s_fabsf.S: Move to...
* sysdeps/powerpc/fpu/s_fabsf.S: ...here.
* sysdeps/powerpc/s_fdim.c: Move to...
* sysdeps/powerpc/fpu/s_fdim.c: ...here.
* sysdeps/powerpc/s_fdimf.c: Move to...
* sysdeps/powerpc/fpu/s_fdimf.c: ...here.
* sysdeps/powerpc/s_fmax.S: Move to...
* sysdeps/powerpc/fpu/s_fmax.S: ...here. Use portable asm syntax.
* sysdeps/powerpc/s_fmaxf.S: Move to...
* sysdeps/powerpc/fpu/s_fmaxf.S: ...here.
* sysdeps/powerpc/s_fmin.S: Move to...
* sysdeps/powerpc/fpu/s_fmin.S: ...here. Use portable asm syntax.
* sysdeps/powerpc/s_fminf.S: Move to...
* sysdeps/powerpc/fpu/s_fminf.S: ...here.
* sysdeps/powerpc/s_isnan.S: Move to...
* sysdeps/powerpc/fpu/s_isnan.c: ...here.
* sysdeps/powerpc/s_isnanf.S: Move to...
* sysdeps/powerpc/fpu/s_isnanf.S: ...here.
* sysdeps/powerpc/s_llrint.c: Move to...
* sysdeps/powerpc/fpu/s_llrint.c: ...here.
* sysdeps/powerpc/s_llrintf.c: Move to...
* sysdeps/powerpc/fpu/s_llrintf.c: ...here.
* sysdeps/powerpc/s_llround.c: Move to...
* sysdeps/powerpc/fpu/s_llround.c: ...here.
* sysdeps/powerpc/s_llroundf.c: Move to...
* sysdeps/powerpc/fpu/s_llroundf.c: ...here.
* sysdeps/powerpc/s_lrint.c: Move to...
* sysdeps/powerpc/fpu/s_lrint.c: ...here.
* sysdeps/powerpc/s_lrintf.S: Move to...
* sysdeps/powerpc/fpu/s_lrintf.S: ...here.
* sysdeps/powerpc/s_lround.c: Move to...
* sysdeps/powerpc/fpu/s_lround.c: ...here.
* sysdeps/powerpc/s_lroundf.c: Move to...
* sysdeps/powerpc/fpu/s_lroundf.c: ...here.
* sysdeps/powerpc/s_rint.c: Move to...
* sysdeps/powerpc/fpu/s_rint.c: ...here.
* sysdeps/powerpc/s_rintf.c: Move to...
* sysdeps/powerpc/fpu/s_rintf.c: ...here.
* sysdeps/powerpc/t_sqrt.c: Move to...
* sysdeps/powerpc/fpu/t_sqrt: ...here.
* sysdeps/powerpc/w_sqrt.c: Move to...
* sysdeps/powerpc/fpu/w_sqrt.c: ...here.
* sysdeps/powerpc/w_sqrtf.c: Move to...
* sysdeps/powerpc/fpu/w_sqrtf.c: ...here.
* configure.in: Support platforms which have no .text pseudo-op.
Patches partly by Jimi X <jimix@pobox.com>.
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 30 |
1 files changed, 23 insertions, 7 deletions
diff --git a/configure.in b/configure.in index 3cc31806de..4da192a153 100644 --- a/configure.in +++ b/configure.in @@ -694,12 +694,28 @@ if test $libc_cv_need_minus_P = yes; then asm-CPPFLAGS = -P # The assembler can't grok cpp's # line directives." fi +AC_MSG_CHECKING(whether .text pseudo-op must be used) +AC_CACHE_VAL(libc_cv_dot_text, [dnl +cat > conftest.s <<EOF +.text +EOF +libc_cv_dot_text= +if ${CC-cc} $CFLAGS -c conftest.s 2>/dev/null; then + libc_cv_dot_text=.text +fi +rm -f conftest*]) +if test -z "$libc_cv_dot_text"; then + AC_MSG_RESULT(no) +else + AC_MSG_RESULT(yes) +fi + AC_CACHE_CHECK(for assembler global-symbol directive, libc_cv_asm_global_directive, [dnl libc_cv_asm_global_directive=UNKNOWN for ac_globl in .globl .global .EXPORT; do cat > conftest.s <<EOF - .text + ${libc_cv_dot_text} ${ac_globl} foo foo: EOF @@ -717,7 +733,7 @@ fi AC_CACHE_CHECK(for .set assembler directive, libc_cv_asm_set_directive, [dnl cat > conftest.s <<EOF -.text +${libc_cv_dot_text} foo: .set glibc_conftest_frobozz,foo $libc_cv_asm_global_directive glibc_conftest_frobozz @@ -741,7 +757,7 @@ fi AC_CACHE_CHECK(for .symver assembler directive, libc_cv_asm_symver_directive, [cat > conftest.s <<EOF -.text +${libc_cv_dot_text} _sym: .symver _sym,sym@VERS EOF @@ -754,7 +770,7 @@ rm -f conftest*]) AC_CACHE_CHECK(for ld --version-script, libc_cv_ld_version_script_option, [dnl if test $libc_cv_asm_symver_directive = yes; then cat > conftest.s <<EOF -.text +${libc_cv_dot_text} _sym: .symver _sym,sym@VERS EOF @@ -839,7 +855,7 @@ if test $elf != yes; then AC_CACHE_CHECK(for .init and .fini sections, libc_cv_have_initfini, [AC_TRY_COMPILE(, [asm (".section .init"); asm (".section .fini"); - asm (".text");], + asm ("${libc_cv_dot_text}");], libc_cv_have_initfini=yes, libc_cv_have_initfini=no)]) AC_SUBST(libc_cv_have_initfini)dnl @@ -899,7 +915,7 @@ fi AC_CACHE_CHECK(for assembler .weak directive, libc_cv_asm_weak_directive, [dnl cat > conftest.s <<EOF -.text +${libc_cv_dot_text} ${libc_cv_asm_global_directive} foo foo: .weak foo @@ -917,7 +933,7 @@ if test $libc_cv_asm_weak_directive = no; then libc_cv_asm_weakext_directive, [dnl cat > conftest.s <<EOF -.text +${libc_cv_dot_text} ${libc_cv_asm_global_directive} foo foo: .weakext bar foo |