This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Putting interrupt/exception handling codes in different section
- To: Ho Shui Choy Stanley PS03B NCS <scho at ncs dot com dot sg>
- Subject: Re: [ECOS] Putting interrupt/exception handling codes in different section
- From: Jonathan Larmour <jlarmour at redhat dot com>
- Date: Thu, 17 May 2001 07:55:25 +0100
- Cc: "Ecos-Discuss (E-mail)" <ecos-discuss at sources dot redhat dot com>
- Organization: Red Hat UK Ltd.
- References: <19C34CD863B1D4118E2800508BAF663A0112F639@STONE>
Ho Shui Choy Stanley PS03B NCS wrote:
>
> I have done that by using the ".sram" section defined in "arm.ld" but I'm
> having error building.
>
> Most errors are at the following statment
>
> in ".sram"
> ldr sp,.__undef_exception_stack // get good stack
>
> in ".text"
> PTR(__undef_exception_stack)
At a guess, you probably also need a ".global __undef_exception_stack" (or
is it .globl - I can't remember the difference).
Jifl
--
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine