This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
[ARM] Why MI thunks are always implemented in ARM code?
- From: "=?big5?b?RG91ZyBLd2FuICjD9q62vHcp?=" <dougkwan at google dot com>
- To: gcc at gcc dot gnu dot org
- Date: Fri, 23 May 2008 16:18:24 -0700
- Subject: [ARM] Why MI thunks are always implemented in ARM code?
- References: <498552560805231526w34b019a0m72eacd7673233161@mail.gmail.com>
I saw that MI thunks are always issued in ARM mode. Is there a
specific reason? I browse the EABI and its supplement and there is no
mentioning of how thunks are implemented. I think I can replace a
20-byte ARM MI thunk with a 4 bytes THUMB equivalent when the thunkee
is also in THUMB mode. Is there any problem with this?
-Doug