This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.
See the CrossGCC FAQ for lots more information.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Hi Amanda,
I'm trying to do the same thing with the interrupt key words. Only I'm
using the ARM7TDMI core.
If I'm understanding things correctly version 3.0.X has provisions for this
keyword for the ARM.
I could not get any earlier version of the GCC to recognize the keyword but
was able to get the 3.0.2
snapshot to work. I'm trying to use it with C++ and the compiler is
recognizing the keyword and adding
code for the interrupt. The code added is only using the default stack
and
not the dedicated interrupt stack.
example: foo() __attribute__((interrupt("IRQ")))
I'm getting two undefined references to __gxx_personaility_sj0 and
__EH_FRAME_BEGIN__ when
I build a simple C++ with one class and main(). Does anybody recognize
these names?
I'm trying to rom this C++ code but don't really understand all the
sections
of the C++ default linker script can
anyone point me the right direction for which sections can be romed and
which must be in RAM.
Thanks
Richard Slaughter
----- Original Message -----
> From: "David Korn" <dkorn@pixelpower.com>
> To: <ananda.motte@philips.com>
> Cc: "Crossgcc-List (E-mail)" <crossgcc@sources.redhat.com>
> Sent: Monday, October 22, 2001 4:21 AM
> Subject: RE: arm-elf cross compiler problem with newlib
>
>
> > >-----Original Message-----
> > >From: ananda.motte@philips.com [mailto:ananda.motte@philips.com]
> > >Sent: 22 October 2001 10:41
> >
> > >Hi David,
> > >I don't know if I should address this problem to you or Kai
> >
> > Hi Ananda,
> >
> > The best bet is always to send it to the list, then whoever feels best
> > able to deal with it is most likely to reply :) Many heads are always
> > better than one!
> >
> > >but here goes anyway:
> > >
> > >I'm trying to replace the interrupt handler functionality _irq
> > >(declared as function declaration keyword ) provided by the
> > >ARM tools (now that I have the GNU cross compiler !!!).
> > >Well I guess there are some ways to do this but one of the
> > >ways seems to be the usage of the __attribute__((interrupt))or
> > >__attribute__((interrupt_handler,sp_switch("glvar")))
> > >but my cross compiler does not seem to recognize these attribute names:
> > >
> > >/ARM720T.h:160: warning: `interrupt' attribute directive ignored
> >
> > Ah. Yeh, I remember reading about various patches for several
different
> > targets to add __attribute__ ((interrupt)). Gcc only supports it for
the
> > M32R/D and SH series cpus by default, but it is a popular feature and
many
> > people have written patches to add it to other targets. Can I suggest
you
> > try a search of the mailing list archives at the Gcc site
> >
> > http://gcc.gnu.org/lists.html
> >
> > and the cygnus / redhat site
> >
> > http://sources.redhat.com/lists.html
> >
> > because I'm pretty sure that's where i stumbled across them, and if you
> > can't find it after a good go at that send another mail to the list and
> > we'll try and track it down collectively :)
> >
> > cheers,
> > DaveK
> > --
> > Burn your ID card! http://www.optional-identity.org.uk/
> > Help support the campaign, copy this into your .sig!
> >
> >
> > **********************************************************************
> > This email and any files transmitted with it are confidential and
> > intended solely for the use of the individual or entity to whom they
> > are addressed. If you have received this email in error please notify
> > the system manager.
> >
> > This footnote also confirms that this email message has been swept by
> > MIMEsweeper for the presence of computer viruses.
> >
> > www.mimesweeper.com
> > **********************************************************************
> >
> > ------
> > Want more information? See the CrossGCC FAQ,
> http://www.objsw.com/CrossGCC/
> > Want to unsubscribe? Send a note to
> crossgcc-unsubscribe@sourceware.cygnus.com
>
------
Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |