On Sat, Mar 22, 2008 at 04:47:36AM +0100, Devils-Hawk wrote:
Yes, it did crash exactly at the lret of the _entry function. After trying to understand some of the funkiness in head.S i came up with following patch which did fix the problem but i should probably still look whats going wrong with the original code. Its get getting quite late around here so I'll just post what i have and get some sleep first. ;)
Let the linker figure out the correct address and just CALL the start_main entry point.
Signed-off-by: Klaus Schnass dev@stuffit.at
Thanks, committed in r3204 with some cosmetic changes. Works for me in QEMU and on hardware.
Uwe.