mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-23 13:30:06 +00:00
Use __APCS_32__ to decide whether or not to preserve condition codes
on function call.
This commit is contained in:
parent
a5343fec83
commit
c48d19d0d5
@ -43,13 +43,13 @@
|
|||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* ARM 6 needs slightly different handling */
|
/* APCS-32 doesn't preserve the condition codes across function call. */
|
||||||
#ifdef __arm6__
|
#ifdef __APCS_32__
|
||||||
#define LOADREGS(cond, base, reglist...)\
|
#define LOADREGS(cond, base, reglist...)\
|
||||||
ldm##cond base,reglist
|
ldm##cond base,reglist
|
||||||
#define RETINSTR(instr, regs...)\
|
#define RETINSTR(instr, regs...)\
|
||||||
instr regs
|
instr regs
|
||||||
#else /* arm 3 */
|
#else /* APCS-26 */
|
||||||
#define LOADREGS(cond, base, reglist...)\
|
#define LOADREGS(cond, base, reglist...)\
|
||||||
ldm##cond base,reglist^
|
ldm##cond base,reglist^
|
||||||
#define RETINSTR(instr, regs...)\
|
#define RETINSTR(instr, regs...)\
|
||||||
|
Loading…
Reference in New Issue
Block a user