Commit f0cd49c5 by Richard Earnshaw Committed by Richard Earnshaw

[arm] Explicitly set .fpu in cmse_nonsecure_call.S


This file is missing a .fpu directive and was relying on the compiler
driver passing through a -mfpu= command line option.  When the FPU is
auto, that will not be passed through correctly, so set something
suitable within the file itself.

libgcc:
	 * config/arm/cmse_nonsecure_call.S: Explicitly set the FPU.

From-SVN: r249297
parent 93aa40fe
2017-06-16 Richard Earnshaw <rearnsha@arm.com>
* config/arm/cmse_nonsecure_call.S: Explicitly set the FPU.
2017-06-09 Martin Liska <mliska@suse.cz> 2017-06-09 Martin Liska <mliska@suse.cz>
* libgcov-profiler.c (__gcov_indirect_call_profiler_v2): * libgcov-profiler.c (__gcov_indirect_call_profiler_v2):
......
...@@ -24,6 +24,14 @@ ...@@ -24,6 +24,14 @@
<http://www.gnu.org/licenses/>. */ <http://www.gnu.org/licenses/>. */
.syntax unified .syntax unified
#ifdef __ARM_PCS_VFP
# if __ARM_FP & 0x8
.fpu fpv5-d16
# else
.fpu fpv4-sp-d16
# endif
#endif
.thumb .thumb
.global __gnu_cmse_nonsecure_call .global __gnu_cmse_nonsecure_call
__gnu_cmse_nonsecure_call: __gnu_cmse_nonsecure_call:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment