glibc/sysdeps/unix/sysv/linux/mips
Aurelien Jarno 578d080544 mips: fix testsuite build for O32 FPXX ABI on pre-R2 CPU
On MIPS when the toolchain is using the O32 FPXX ABI, the testsuite
fails to build for pre-R2 CPU.

It assumes that it is possible to use the -mfp64 option to build
tst-abi-fp64amod and tst-abi-fp64mod, while this requires a CPU which
supports the mfhc1 and mthc1 instructions, ie at least a R2 CPU:

  error: '-mgp32' and '-mfp64' can only be combined if the target
  supports the mfhc1 and mthc1 instructions

The same way it assumes that it is possible to use the -modd-spreg option
to build tst-abi-fpxxomod and tst-abi-fp64mod, while this requires at
least a R1 CPU:

  warning: the 'mips2' architecture does not support odd
  single-precision registers

This patches changes that by checking the usability of -mfp64 and
-modd-spreg options in configure, and disable those tests when they can
not be used.
2015-12-09 19:03:46 +01:00
..
bits mips: siginfo.h: add SIGSYS details [BZ #18863] 2015-08-26 13:33:54 -04:00
mips32 Fix lgamma setting signgam for ISO C (bug 15421). 2015-11-20 22:49:59 +00:00
mips64 Fix lgamma setting signgam for ISO C (bug 15421). 2015-11-20 22:49:59 +00:00
sys Fix MIPS variable PAGE_SIZE bug (16191) 2015-01-05 13:45:16 +00:00
____longjmp_chk.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
_test_and_set.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
arch-fork.h
brk.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
clone.S Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
configure mips: fix testsuite build for O32 FPXX ABI on pre-R2 CPU 2015-12-09 19:03:46 +01:00
configure.ac mips: fix testsuite build for O32 FPXX ABI on pre-R2 CPU 2015-12-09 19:03:46 +01:00
dl-cache.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
dl-static.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
getcontext.S Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
getmsg.c
getrlimit64.c Fix posix_spawn getrlimit64 namespace (bug 17991). 2015-02-18 00:26:35 +00:00
getsysstats.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
Implies
ipc_priv.h
kernel_rt_sigframe.h
kernel_sigaction.h
kernel_stat.h
kernel_termios.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
kernel-features.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
ldsodefs.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
libc-abis Add support for MIPS O32 FPXX and .MIPS.abiflags 2014-12-31 21:09:21 +00:00
makecontext.S Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
Makefile Clean up sysdep-dl-routines variable. 2015-02-06 10:42:08 -08:00
pipe.S
pread64.c nptl: Rewrite cancellation macros 2015-06-04 18:58:36 -03:00
pread.c nptl: Rewrite cancellation macros 2015-06-04 18:58:36 -03:00
profil-counter.h
pt-vfork.S
putmsg.c
pwrite64.c nptl: Rewrite cancellation macros 2015-06-04 18:58:36 -03:00
pwrite.c nptl: Rewrite cancellation macros 2015-06-04 18:58:36 -03:00
readelflib.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
register-dump.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
setcontext.S Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
setrlimit64.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
shlib-versions Remove configuration name patterns from shlib-versions. 2014-09-12 12:28:47 +00:00
sigaction.c Convert 231 sysdeps function definitions to prototype style. 2015-10-19 12:04:33 +00:00
sigcontextinfo.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
swapcontext.S Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
syscalls.list
sysdep-cancel.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
ucontext_i.sym
ustat.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
Versions
vfork.S Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
xstatconv.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00