diff options
author | Graeme Russ <graeme.russ@gmail.com> | 2010-10-07 20:03:27 +1100 |
---|---|---|
committer | Graeme Russ <graeme.russ@gmail.com> | 2010-10-07 20:03:27 +1100 |
commit | 88fa0a6eb906b532cd073b6e3d8f688c47404709 (patch) | |
tree | 051370dd80becb73110138d0eb39a0767bbb83a8 /arch/i386/cpu/start16.S | |
parent | 00940a229d564044d52a5449bce14090c7298f92 (diff) | |
download | blackbird-obmc-uboot-88fa0a6eb906b532cd073b6e3d8f688c47404709.tar.gz blackbird-obmc-uboot-88fa0a6eb906b532cd073b6e3d8f688c47404709.zip |
x86: Remove usage of %ebp as a return pointer
Using %ebp as a return pointer prevents creating 'load anywhere' images
Diffstat (limited to 'arch/i386/cpu/start16.S')
-rw-r--r-- | arch/i386/cpu/start16.S | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/i386/cpu/start16.S b/arch/i386/cpu/start16.S index 2a5cca9d69..0de4d09398 100644 --- a/arch/i386/cpu/start16.S +++ b/arch/i386/cpu/start16.S @@ -35,8 +35,8 @@ start16: * First we let the BSP do some early initialization * this code have to map the flash to its final position */ - mov $board_init16_ret, %bp jmp board_init16 +.globl board_init16_ret board_init16_ret: /* Turn of cache (this might require a 486-class CPU) */ |