This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [csl-arm] Fix Thumb thunks (actual patch)


phil@codesourcery.com said:
> 2003-11-21  Phil Edwards  <phil@codesourcery.com>
> 	* config/arm/arm.c (arm_output_mi_thunk):  In Thumb mode, use
> 	'bx' instead of 'b' to avoid branch range restrictions.  Output
> 	the thunk immediately before the thunked-to function.
> 	* config/arm/arm.h (ARM_DECLARE_FUNCTION_NAME):  Do not emit
> 	.thumb_func if a thunk is being generated.  Emit .code 16 along
> 	with .thumb_func if a thunk is not being generated. 

This is fine.  Thanks.

Mark, since the series of changes leading up to this fix a bug on ARM, how 
comfortable do you feel about bringing the whole set onto the mainline for 
3.4?

R.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]