This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: ARM/Thumb mixed code
- From: Arvind Krishnaswamy <arvind at CS dot Arizona dot EDU>
- To: Alexandre Oliva <aoliva at redhat dot com>
- Cc: <gcc at gcc dot gnu dot org>
- Date: Sun, 20 Jan 2002 16:39:26 -0700 (MST)
- Subject: Re: ARM/Thumb mixed code
On 20 Jan 2002, Alexandre Oliva wrote:
> On Jan 20, 2002, Arvind Krishnaswamy <arvind@CS.Arizona.EDU> wrote:
>
> > I notice that my program spends most of its time in a function (_fpmul_parts).
> > This is in libgcc. I'd like the compiler to generate ARM code for this
> > function alone and leave the rest of the code as Thumb (trading off some
> > code size for performance). Is there a way of doing this?
>
> How about extracting the object file in which this function is defined
> from ARM libgcc.a and explicitly linking it in along with the rest of
> the Thumb application?
>
>
How do I do this?
Thanks,
-Arvind