mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-13 15:03:58 +03:00
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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user