[ARM] Fix incorrect restore of FP registers in nested APCS frame

Christophe Lyon christophe.lyon@linaro.org
Fri Jan 10 09:19:00 GMT 2014

> 2013-12-22  Eric Botcazou  <ebotcazou@adacore.com>
>         * gcc.target/arm/neon-nested-apcs.c: New test.
This new test fails when GCC is configured as target
arm-none-linux-gnueabihf and --with-float=hard:
tools/arm-none-linux-gnueabihf/bin/ld: error: ./neon-nested-apcs.exe
uses VFP register arguments, /tmp/cc9LLqES.o does not
tools/arm-none-linux-gnueabihf/bin/ld: failed to merge target specific
data of file /tmp/cc9LLqES.o
collect2: error: ld returned 1 exit status

This is because startup and library code is compiled in hardfp mode,
and is incompatible with the -mfloat-abi=softfp forced in the test.


More information about the Gcc-patches mailing list