diff options
Diffstat (limited to 'arch/microblaze')
-rw-r--r-- | arch/microblaze/crt_arch.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/arch/microblaze/crt_arch.h b/arch/microblaze/crt_arch.h new file mode 100644 index 00000000..8917c695 --- /dev/null +++ b/arch/microblaze/crt_arch.h @@ -0,0 +1,11 @@ +__asm__("\ +.global _start \n\ +.align 2 \n\ +_start: \n\ + add r19, r0, r0 \n\ + ori r5, r1, 0 \n\ + andi r1, r1, -8 \n\ + addik r1, r1, -8 \n\ + bri __cstart \n\ + nop \n\ +"); |