trivial boot_head.S
Attached is a trivial patch that makes stack-unwinding stop at the last frame of the bootloader.
--david
Signature · 1 line
Mosberger Consulting LLC, http://www.mosberger-consulting.com/
[IA64] Add a dummy nop at the end of _start() to maintain the invariant that
the return-pointer (rp) always point to the calling function. This makes unwinding stop at the last frame, as it should.
Signed-off-by David Mosberger-Tang <[email protected]>
arch/ia64/hp/sim/boot/boot_head.S +1 -0
@@ -26,6 +26,7 @@ GLOBAL_ENTRY(_start) movl sp = stack_mem+16384-16 bsw.1 br.call.sptk.many rp=start_bootloader +0: nop 0 /* dummy nop to make unwinding work */ END(_start) /*