[#5810] initial sp is given wrong value and INIT_TASK_DATA is not linked into data
Submitted By: Barry Song
2010-01-05 01:35:58 Close Date
Closed Fixed In Release:
Found In Release:
ALL Silicon Revision:
Is this bug repeatable?:
Uboot version or rev.:
Toolchain version or rev.:
App binary format:
Summary: initial sp is given wrong value and INIT_TASK_DATA is not linked into data
In head.S,sp is given a wrong value:
/* Initialize stack pointer */
sp.l = _init_thread_union;
sp.h = _init_thread_union;
fp = sp;
usp = sp;
sp should be &init_thread_union + THREAD_SIZE.
And init_thread_union section name is wrong so it is not linked into data before _edata.
The bug exists both in 09r1 and 10r1.
--- Barry Song 2010-01-06 23:27:54
Ok now. Close it.
File Name File Type File Size Posted By
No Files Were Found