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]
Other format: [Raw text]

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


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