Commit da8ce8be by Richard Earnshaw Committed by Richard Earnshaw

re PR target/23250 (4.0.1 switch -mcallee-super-interworking generating wrong code for ARM7TDMI)

	PR target/23250
	* arm.c (arm_override_options): If the user has selected callee-super-
	interworking, then enable normal interworking.

From-SVN: r102993
parent ad9863cd
2005-08-11 Richard Earnshaw <richard.earnshaw@arm.com>
PR target/23250
* arm.c (arm_override_options): If the user has selected callee-super-
interworking, then enable normal interworking.
2005-08-11 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
* config/i386/x86-64.h (ASM_OUTPUT_ALIGNED_BSS): Undef before
......
......@@ -1010,6 +1010,11 @@ arm_override_options (void)
target_flags &= ~MASK_APCS_FRAME;
}
/* Callee super interworking implies thumb interworking. Adding
this to the flags here simplifies the logic elsewhere. */
if (TARGET_THUMB && TARGET_CALLEE_INTERWORKING)
target_flags |= MASK_INTERWORK;
/* TARGET_BACKTRACE calls leaf_function_p, which causes a crash if done
from here where no function is being compiled currently. */
if ((TARGET_TPCS_FRAME || TARGET_TPCS_LEAF_FRAME) && TARGET_ARM)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment