aboutsummaryrefslogtreecommitdiffstats
path: root/arch/ia64/hp/sim/boot/boot_head.S
diff options
context:
space:
mode:
authorDavid Mosberger-Tang <dmosberger@gmail.com>2007-08-09 18:54:27 -0400
committerTony Luck <tony.luck@intel.com>2007-08-13 16:26:02 -0400
commit5d36aa9bbed32507b21e345f9d065868af5f5991 (patch)
tree08737711414436799ea689290198cfbf0777769b /arch/ia64/hp/sim/boot/boot_head.S
parenta1287476e86568374ed6aadbb4123d9eff6f7b09 (diff)
[IA64] make unwinder stop at last frame of the bootloader
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 <dmosberger@gmail.com> Signed-off-by: Tony Luck <tony.luck@intel.com>
Diffstat (limited to 'arch/ia64/hp/sim/boot/boot_head.S')
-rw-r--r--arch/ia64/hp/sim/boot/boot_head.S1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/ia64/hp/sim/boot/boot_head.S b/arch/ia64/hp/sim/boot/boot_head.S
index a9bd71ac78e..8808565491f 100644
--- a/arch/ia64/hp/sim/boot/boot_head.S
+++ b/arch/ia64/hp/sim/boot/boot_head.S
@@ -26,6 +26,7 @@ GLOBAL_ENTRY(_start)
26 movl sp = stack_mem+16384-16 26 movl sp = stack_mem+16384-16
27 bsw.1 27 bsw.1
28 br.call.sptk.many rp=start_bootloader 28 br.call.sptk.many rp=start_bootloader
290: nop 0 /* dummy nop to make unwinding work */
29END(_start) 30END(_start)
30 31
31/* 32/*