This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: ARM/Thumb Interwork
- From: "Bhattacharya, Soubhik" <soubhik_bhattacharya at mentorg dot com>
- To: Richard dot Earnshaw at arm dot com
- Cc: "Bhattacharya, Soubhik" <soubhik_bhattacharya at mentor dot com>, crossgcc at sources dot redhat dot com, binutils at sources dot redhat dot com
- Date: Wed, 29 Oct 2003 17:58:15 +0530
- Subject: Re: ARM/Thumb Interwork
- Organization: Mentor Graphics
- References: <200310291105.h9TB52720777@pc960.cambridge.arm.com>
in case of 1, the function is marked as arm, and the thumb code begins
with a label of the form '.real_start_of<funcname>'.
in case of 2, the function is marked as thumb, and arm code begins with
a label of the form '__<arm_function_to_be_called>_change_to_arm'.
both the labels have type STT_NOTYPE in symtab. so is it the label name
that is being used to distinguish between arm/thumb? if yes, is there
any other label name that is used for this purpose?
a label for a thumb code has different type than that for an arm code.
above observation is wrong. sorry for the slip. thanks Richard for your
help.
soubhik.
--
-0-1-2-3-4-5-6-7-8-9-0-1-2-3-4-5-6-7
Soubhik Bhattacharya
Member Technical Staff
Mentor Graphics
Hyderabad, India.
-0-1-2-3-4-5-6-7-8-9-0-1-2-3-4-5-6-7