Use __APCS_32__ to decide whether or not to preserve condition codes

on function call.
This commit is contained in:
Ulrich Drepper 1997-11-18 02:39:35 +00:00
parent a5343fec83
commit c48d19d0d5

View File

@ -43,13 +43,13 @@
#endif
/* ARM 6 needs slightly different handling */
#ifdef __arm6__
/* APCS-32 doesn't preserve the condition codes across function call. */
#ifdef __APCS_32__
#define LOADREGS(cond, base, reglist...)\
ldm##cond base,reglist
#define RETINSTR(instr, regs...)\
instr regs
#else /* arm 3 */
#else /* APCS-26 */
#define LOADREGS(cond, base, reglist...)\
ldm##cond base,reglist^
#define RETINSTR(instr, regs...)\