diff options
Diffstat (limited to 'package/etrax-tools/src/e100boot/cbl/src/crt0.S')
-rw-r--r-- | package/etrax-tools/src/e100boot/cbl/src/crt0.S | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/package/etrax-tools/src/e100boot/cbl/src/crt0.S b/package/etrax-tools/src/e100boot/cbl/src/crt0.S new file mode 100644 index 000000000..466d19c7e --- /dev/null +++ b/package/etrax-tools/src/e100boot/cbl/src/crt0.S @@ -0,0 +1,17 @@ + .global crt0 ; Needed because of a bug in binutils + .global _target_address + .global _bytes_to_read + + .section .startup, "ax" + + nop + nop + + +crt0: + move.d 0x38001f00, sp + jump _crt1 + +_bytes_to_read: .dword 0x12345678 +_target_address: .dword 0x87654321 + |