This is the mail archive of the
gcc-patches@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-patches <gcc-patches at gcc dot gnu dot org>
- Date: Fri, 23 May 2008 15:26:16 -0700
- Subject: [ARM] Why MI thunks are always implemented in ARM code?
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