2012-12-04 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
* configure.host: Define libm_machine_dir value for arm. * libm/machine/configure.in: Add arm to libm machines list. * libm/machine/configure: Regenerate. * libm/machine/arm/Makefile.am: New file. * libm/machine/arm/Makefile.in: Generated. * libm/machine/arm/aclocal.m4: Generated. * libm/machine/arm/configure: Generated. * libm/machine/arm/configure.in: New file. * libm/machine/arm/s_ceil.c: Likewise. * libm/machine/arm/s_floor.c: Likewise. * libm/machine/arm/s_nearbyint.c: Likewise. * libm/machine/arm/s_rint.c: Likewise. * libm/machine/arm/s_round.c: Likewise. * libm/machine/arm/s_trunc.c: Likewise. * libm/machine/arm/sf_ceil.c: Likewise. * libm/machine/arm/sf_floor.c: Likewise. * libm/machine/arm/sf_nearbyint.c: Likewise. * libm/machine/arm/sf_rint.c: Likewise. * libm/machine/arm/sf_round.c: Likewise. * libm/machine/arm/sf_trunc.c: Likewise.
This commit is contained in:
parent
eac98364a3
commit
a4f34961d8
21
newlib/libm/machine/configure
vendored
21
newlib/libm/machine/configure
vendored
@ -785,6 +785,7 @@ LIBS
|
|||||||
CPPFLAGS
|
CPPFLAGS
|
||||||
CPP'
|
CPP'
|
||||||
ac_subdirs_all='aarch64
|
ac_subdirs_all='aarch64
|
||||||
|
arm
|
||||||
i386
|
i386
|
||||||
spu'
|
spu'
|
||||||
|
|
||||||
@ -6933,8 +6934,15 @@ s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
|
|||||||
LD="${LD-ld} -m elf_i386_fbsd"
|
LD="${LD-ld} -m elf_i386_fbsd"
|
||||||
;;
|
;;
|
||||||
x86_64-*linux*)
|
x86_64-*linux*)
|
||||||
|
case `/usr/bin/file conftest.o` in
|
||||||
|
*x86-64*)
|
||||||
|
LD="${LD-ld} -m elf32_x86_64"
|
||||||
|
;;
|
||||||
|
*)
|
||||||
LD="${LD-ld} -m elf_i386"
|
LD="${LD-ld} -m elf_i386"
|
||||||
;;
|
;;
|
||||||
|
esac
|
||||||
|
;;
|
||||||
ppc64-*linux*|powerpc64-*linux*)
|
ppc64-*linux*|powerpc64-*linux*)
|
||||||
LD="${LD-ld} -m elf32ppclinux"
|
LD="${LD-ld} -m elf32ppclinux"
|
||||||
;;
|
;;
|
||||||
@ -8468,6 +8476,7 @@ $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
|
|||||||
# AIX 5 now supports IA64 processor
|
# AIX 5 now supports IA64 processor
|
||||||
lt_prog_compiler_static='-Bstatic'
|
lt_prog_compiler_static='-Bstatic'
|
||||||
fi
|
fi
|
||||||
|
lt_prog_compiler_pic='-fPIC'
|
||||||
;;
|
;;
|
||||||
|
|
||||||
amigaos*)
|
amigaos*)
|
||||||
@ -9649,7 +9658,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
|
|||||||
;;
|
;;
|
||||||
|
|
||||||
# Unfortunately, older versions of FreeBSD 2 do not have this feature.
|
# Unfortunately, older versions of FreeBSD 2 do not have this feature.
|
||||||
freebsd2*)
|
freebsd2.*)
|
||||||
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
|
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
|
||||||
hardcode_direct=yes
|
hardcode_direct=yes
|
||||||
hardcode_minus_L=yes
|
hardcode_minus_L=yes
|
||||||
@ -10562,7 +10571,7 @@ freebsd* | dragonfly*)
|
|||||||
objformat=`/usr/bin/objformat`
|
objformat=`/usr/bin/objformat`
|
||||||
else
|
else
|
||||||
case $host_os in
|
case $host_os in
|
||||||
freebsd[123]*) objformat=aout ;;
|
freebsd[23].*) objformat=aout ;;
|
||||||
*) objformat=elf ;;
|
*) objformat=elf ;;
|
||||||
esac
|
esac
|
||||||
fi
|
fi
|
||||||
@ -10580,7 +10589,7 @@ freebsd* | dragonfly*)
|
|||||||
esac
|
esac
|
||||||
shlibpath_var=LD_LIBRARY_PATH
|
shlibpath_var=LD_LIBRARY_PATH
|
||||||
case $host_os in
|
case $host_os in
|
||||||
freebsd2*)
|
freebsd2.*)
|
||||||
shlibpath_overrides_runpath=yes
|
shlibpath_overrides_runpath=yes
|
||||||
;;
|
;;
|
||||||
freebsd3.[01]* | freebsdelf3.[01]*)
|
freebsd3.[01]* | freebsdelf3.[01]*)
|
||||||
@ -11414,7 +11423,7 @@ else
|
|||||||
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
|
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
|
||||||
lt_status=$lt_dlunknown
|
lt_status=$lt_dlunknown
|
||||||
cat > conftest.$ac_ext <<_LT_EOF
|
cat > conftest.$ac_ext <<_LT_EOF
|
||||||
#line 11417 "configure"
|
#line 11426 "configure"
|
||||||
#include "confdefs.h"
|
#include "confdefs.h"
|
||||||
|
|
||||||
#if HAVE_DLFCN_H
|
#if HAVE_DLFCN_H
|
||||||
@ -11520,7 +11529,7 @@ else
|
|||||||
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
|
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
|
||||||
lt_status=$lt_dlunknown
|
lt_status=$lt_dlunknown
|
||||||
cat > conftest.$ac_ext <<_LT_EOF
|
cat > conftest.$ac_ext <<_LT_EOF
|
||||||
#line 11523 "configure"
|
#line 11532 "configure"
|
||||||
#include "confdefs.h"
|
#include "confdefs.h"
|
||||||
|
|
||||||
#if HAVE_DLFCN_H
|
#if HAVE_DLFCN_H
|
||||||
@ -11766,6 +11775,8 @@ if test -n "${libm_machine_dir}"; then
|
|||||||
aarch64)
|
aarch64)
|
||||||
|
|
||||||
subdirs="$subdirs aarch64"
|
subdirs="$subdirs aarch64"
|
||||||
|
;;
|
||||||
|
arm) subdirs="$subdirs arm"
|
||||||
;;
|
;;
|
||||||
i386) subdirs="$subdirs i386"
|
i386) subdirs="$subdirs i386"
|
||||||
;;
|
;;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user