arm.h (CONDITIONAL_REGISTER_USAGE): Reserve arm frame pointer when thumb backtracing is on.

* config/arm/arm.h (CONDITIONAL_REGISTER_USAGE): Reserve arm frame
	pointer when thumb backtracing is on.

	* config/fp-bit.c (abort): Revert change.

From-SVN: r98872
This commit is contained in:
Nathan Sidwell 2005-04-27 18:33:37 +00:00 committed by Nathan Sidwell
parent b40c360d5e
commit 685c9c11b8
3 changed files with 11 additions and 2 deletions

View File

@ -1,3 +1,10 @@
2005-04-27 Nathan Sidwell <nathan@codesourcery.com>
* config/arm/arm.h (CONDITIONAL_REGISTER_USAGE): Reserve arm frame
pointer when thumb backtracing is on.
* config/fp-bit.c (abort): Revert change.
2005-04-27 Ian Lance Taylor <ian@airs.com>
* c-semantics.c (add_stmt): Don't test STATEMENT_CODE_P.

View File

@ -926,7 +926,9 @@ extern const char * structure_size_string;
_interwork_r11_call_via_rN(). Making the register global \
is an easy way of ensuring that it remains valid for all \
calls. */ \
if (TARGET_APCS_FRAME || TARGET_CALLER_INTERWORKING) \
if (TARGET_APCS_FRAME || TARGET_CALLER_INTERWORKING \
|| (target_flags & (THUMB_FLAG_LEAF_BACKTRACE \
| THUMB_FLAG_BACKTRACE))) \
{ \
fixed_regs[ARM_HARD_FRAME_POINTER_REGNUM] = 1; \
call_used_regs[ARM_HARD_FRAME_POINTER_REGNUM] = 1; \

View File

@ -81,7 +81,7 @@ Boston, MA 02111-1307, USA. */
#endif
#ifdef EXTENDED_FLOAT_STUBS
extern __attribute__ ((__noreturn__)) void abort (void);
extern void abort (void);
void __extendsfxf2 (void) { abort(); }
void __extenddfxf2 (void) { abort(); }
void __truncxfdf2 (void) { abort(); }