This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


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

ARM/Thumb mixed code


Greetings,
Is there some way by which I can generate mixed ARM/Thumb code i.e
certain portions of the code be 16-bit while others are 32-bit.
I tried using the -mthumb-interwork option of gcc with the -mthumb
option, but the code generated is mostly thumb with very little 32-bit.
Without the -mthumb option the generated code is purely 32-bit.
If gcc cannot generate such mixed code are there other compilers which
can?

-Arvind


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