ARM long branch stub: thumb
Christophe LYON
christophe.lyon@st.com
Fri Feb 20 08:32:00 GMT 2009
On 19.02.2009 18:43, Paul Brook wrote:
>>> Waitaminute. This code is completely bogus.
>> Indeed!
>> Actually, I merely tried to adapt the existing "Thumb->(non-interworking
>> aware) ARM" glue. If you look at the comments just above
>> arm_allocate_glue_section_space(), you'll see that the existing glue
>> creates a frame... oops.
>
> The "non-interworking aware" veneers are something completely different, and
> documented to not work in many cases.
>
Sorry, I'm still a bit confused. (I'll confess that I find all the
interworking-related corner cases uneasy to understand as it is
documented in so many places but each time from a different perspective)
My intention is that the "long branch stubs" also support "short branch
stubs" as they already handle Thumb/Arm mode switch. I think it would be
more consistent to have only one scheme to insert all these stub variants.
So... what do you mean by "completely different"? I think I missed the
documentation which warns about the cases which don't work. Do you have
a reference?
Christophe.
More information about the Binutils
mailing list