This is the mail archive of the
mailing list for the GCC project.
Re: [csl-arm] Fix Thumb thunks (actual patch)
On Sat, Nov 22, 2003 at 12:20:27PM +0000, Richard Earnshaw wrote:
> > firstname.lastname@example.org said:
> > > 2003-11-21 Phil Edwards <email@example.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.
> Incidentally, there is a PR (12476) referring to this, you should quote it
> in the ChangeLog file.
Didn't know about that one, thanks for pointing it out. Done.
I won't change the status of the PR itself until we decide whether the fix
shood be brought to the 3.4 branch.
All right, but apart from the sanitation, the medicine, education, wine,
public order, irrigation, roads, a fresh water system, and public health,
what have the Romans ever done for us?