x86: Remove usage of %ebp as a return pointer

Using %ebp as a return pointer prevents creating 'load anywhere' images
This commit is contained in:
Graeme Russ
2010-10-07 20:03:27 +11:00
parent 00940a229d
commit 88fa0a6eb9
5 changed files with 12 additions and 13 deletions

View File

@@ -27,7 +27,7 @@
.globl early_board_init
early_board_init:
/* No 32-bit board specific initialisation */
jmp *%ebp /* return to caller */
jmp early_board_init_ret
.globl cpu_halt_asm
cpu_halt_asm: