]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Use a register to set the cpsr bits. The ip register is safe to be changed
authorandrew <andrew@FreeBSD.org>
Sun, 31 May 2015 09:07:26 +0000 (09:07 +0000)
committerandrew <andrew@FreeBSD.org>
Sun, 31 May 2015 09:07:26 +0000 (09:07 +0000)
commitec75d7f7fbd9f81081b3d1c77edd2a122d981b88
treee38d0f709ce6d84ee232d99bc2c3cfb1d4318a0d
parentb00b964fabc9d7f6e19bf7935e1303745d48fb7a
Use a register to set the cpsr bits. The ip register is safe to be changed
within all of these functions, and is only stored in some to correctly pad
the stack.

This will be needed to build as Thumb-2 as, unlike with ARM instructions,
the msr instruction only takes a register as the input.
lib/libc/arm/aeabi/aeabi_asm_double.S
lib/libc/arm/aeabi/aeabi_asm_float.S