Good day.
I have one question.
GCC-ARM support prgmas or attributes for override command line parameters
like ARM, THUMB, INTERWORK for selected function?
I find in binutils followed directives but can't find it in GCC.
.code [16|32]: This directive selects the instruction set being generated.
The value 16 selects Thumb, with the value 32 selecting ARM.
.thumb: This performs the same action as .code 16.
.arm: This performs the same action as .code 32.
.thumb_func: This directive specifies that the following symbol is the name
of a Thumb encoded function. This information is necessary in order to allow
the assembler and linker to generate correct code for interworking between
Arm and Thumb instructions and should be used even if interworking is not
going to be performed. The presence of this directive also implies .thumb
--
Regards