This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
When should I setup the stack pointer?
- From: "Qiang Huang" <jameshq at liverpool dot ac dot uk>
- To: "Ecos-Discuss" <ecos-discuss at sources dot redhat dot com>
- Date: Mon, 14 Oct 2002 11:03:38 +0100
- Subject: [ECOS] When should I setup the stack pointer?
Hi all:
I just wonder when should I setup the stack pointer if I am not using
redboot or gdb stub to run my ecos application? how to relate .bss section
to the stack pointer? (Is the stack inside the .bss section?)
For example: Sparc taget, should I setup the stack k pointer in the very
beginning (surely after setting up the VSR) of the program in vectors.S?
Thanks a lot.
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss