2006-02-24 Paul Brook <paul@codesourcery.com>
* arm/redboot-crt0.S: Use cps in Thumb-2 mode.
This commit is contained in:
		| @@ -1,3 +1,7 @@ | |||||||
|  | 2006-02-24  Paul Brook  <paul@codesourcery.com> | ||||||
|  |  | ||||||
|  | 	* arm/redboot-crt0.S: Use cps in Thumb-2 mode. | ||||||
|  |  | ||||||
| 2006-02-22  Nathan Sidwell  <nathan@codesourcery.com> | 2006-02-22  Nathan Sidwell  <nathan@codesourcery.com> | ||||||
|  |  | ||||||
| 	* m68k/Makefile.in (CF_SCRIPTS): New. | 	* m68k/Makefile.in (CF_SCRIPTS): New. | ||||||
|   | |||||||
| @@ -33,9 +33,13 @@ | |||||||
| 	mov	r7, #0	/* Null frame pointer for Thumb.  */ | 	mov	r7, #0	/* Null frame pointer for Thumb.  */ | ||||||
|  |  | ||||||
| 	/* Enable interrupts for gdb debugging.  */ | 	/* Enable interrupts for gdb debugging.  */ | ||||||
|  | #ifdef __thumb2__ | ||||||
|  | 	cpsie if | ||||||
|  | #else | ||||||
| 	mrs    r0, cpsr | 	mrs    r0, cpsr | ||||||
| 	bic    r0, r0, #0xC0 | 	bic    r0, r0, #0xC0 | ||||||
| 	msr    cpsr, r0 | 	msr    cpsr, r0 | ||||||
|  | #endif | ||||||
| 	 | 	 | ||||||
| 	mov 	a2, #0			/* Second arg: fill value.  */ | 	mov 	a2, #0			/* Second arg: fill value.  */ | ||||||
| 	ldr	a1, .LC1		/* First arg: start of memory block.  */ | 	ldr	a1, .LC1		/* First arg: start of memory block.  */ | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user