X-Git-Url: https://rtime.felk.cvut.cz/gitweb/l4.git/blobdiff_plain/f4122e6e085938b6d216a9ec724b974a603f6992..983fe7c4ac262f56d38a143b1efab1e4afb77a52:/l4/pkg/bootstrap/server/src/ARCH-arm/crt0.S diff --git a/l4/pkg/bootstrap/server/src/ARCH-arm/crt0.S b/l4/pkg/bootstrap/server/src/ARCH-arm/crt0.S index ea46ab043..32d6930c8 100644 --- a/l4/pkg/bootstrap/server/src/ARCH-arm/crt0.S +++ b/l4/pkg/bootstrap/server/src/ARCH-arm/crt0.S @@ -9,10 +9,28 @@ */ /* -*- c -*- */ +#define MIMIC_A_VMLINUZ + .section .text.init,#alloc,#execinstr .type _start,#function .globl _start _start: +/* Some bootloaders like it this way, for others it won't harm */ +#ifdef MIMIC_A_VMLINUZ + nop + nop + nop + nop + nop + nop + nop + nop + b 10f + .word 0x016f2818 + .word _start + .word _edata +10: +#endif /* * It might be the case that we're not run at the position where we * have been linked to. If this is the case we copy ourselves to the