libc: arm: setjmp.S code cleanup
The code for setjmp and longjmp contains unconditionally-disabled legacy FPA code. Given the code is not used by any targets, remove the code.
This commit is contained in:
parent
9bba9c2bdd
commit
57a08d6b9a
|
@ -182,12 +182,6 @@ SYM (\name):
|
||||||
vstm r0, { d8-d15 }
|
vstm r0, { d8-d15 }
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if 0 /* Simulator does not cope with FP instructions yet. */
|
|
||||||
#ifndef __SOFTFP__
|
|
||||||
/* Save the floating point registers. */
|
|
||||||
sfmea f4, 4, [a1]
|
|
||||||
#endif
|
|
||||||
#endif
|
|
||||||
/* When setting up the jump buffer return 0. */
|
/* When setting up the jump buffer return 0. */
|
||||||
mov r0, #0
|
mov r0, #0
|
||||||
|
|
||||||
|
@ -212,12 +206,6 @@ SYM (\name):
|
||||||
vldm r0, { d8-d15 }
|
vldm r0, { d8-d15 }
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if 0 /* Simulator does not cope with FP instructions yet. */
|
|
||||||
#ifndef __SOFTFP__
|
|
||||||
/* Restore floating point registers as well. */
|
|
||||||
lfmfd f4, 4, [a1]
|
|
||||||
#endif
|
|
||||||
#endif
|
|
||||||
/* Put the return value into the integer result register.
|
/* Put the return value into the integer result register.
|
||||||
But if it is zero then return 1 instead. */
|
But if it is zero then return 1 instead. */
|
||||||
movs r0, r1
|
movs r0, r1
|
||||||
|
|
Loading…
Reference in New Issue