This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


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

Re: Putting interrupt/exception handling codes in different section


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


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