diff options
| author | Keith Packard <keithp@keithp.com> | 2013-10-08 09:20:12 -0700 | 
|---|---|---|
| committer | Keith Packard <keithp@keithp.com> | 2013-10-08 09:20:12 -0700 | 
| commit | 16965716c02eb79b449d9d3b264814d775660134 (patch) | |
| tree | 8f56fbe793c6613eb2876ed146128eee4b342b92 /src | |
| parent | 258d225df1f4afe1cfdc9c43208bcd75d18cdf2d (diff) | |
altos/stm: New GAS version requires flags in APSR assignment
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src')
| -rw-r--r-- | src/stm/ao_arch_funcs.h | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stm/ao_arch_funcs.h b/src/stm/ao_arch_funcs.h index 4bcc1023..b461cd3f 100644 --- a/src/stm/ao_arch_funcs.h +++ b/src/stm/ao_arch_funcs.h @@ -329,7 +329,7 @@ static inline void ao_arch_restore_stack(void) {  	/* Restore APSR */  	asm("pop {r0}"); -	asm("msr apsr,r0"); +	asm("msr apsr_nczvq,r0");  	/* Restore general registers */  	asm("pop {r0-r12,lr}\n");  | 
