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]

[Patch ][RFC] [ARM] Remove use of real start of function for ARM EABI configurations.


Hi,

If you have a bl or a branch from a function in Thumb ISA mode to a local
function in Thumb ISA mode, gas prints a warning about not being able to
find the real start of function. 

This is an artefact of the ".real_start_of" prefix is applied only for
functions that have the "interfacearm" attribute specified. Since the
"interfacearm" attribute for functions in C can only be applied by the PE
configuration of GCC, I'd like to remove support for this from the ELF
configurations. 

Tested with the binutils testsuite with no regressions.

I should point out that the assembler doesn't handle branches or calls to
local functions defined to be in Thumb ISA from functions written in ARM ISA
and vice versa that will do the right thing according to the ABI. I am
working on a follow up patch to handle those cases.

Ok to commit ?
 
2009-03-27  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>

        * config/tc-arm.c (arm_validate_fix): Define only for OBJ_COFF.
        (find_real_start): Likewise.
        * config/tc-arm.h (TC_VALIDATE_FIX): Likewise.

Cheers
Ramana

Ramana Radhakrishnan
ARM Ltd. (www.arm.com)

Attachment: real-remove.patch
Description: Binary data


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