This is the mail archive of the binutils@sourceware.org mailing list for the binutils 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: ARM long branch stub: thumb


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.


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