From 3a3c813e08d808224c12fd0e9104aeff7c45c9a7 Mon Sep 17 00:00:00 2001 From: Bobby Bingham Date: Sat, 5 Oct 2013 05:13:18 -0500 Subject: superh port --- arch/superh/crt_arch.h | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 arch/superh/crt_arch.h (limited to 'arch/superh/crt_arch.h') diff --git a/arch/superh/crt_arch.h b/arch/superh/crt_arch.h new file mode 100644 index 00000000..a69d1c9f --- /dev/null +++ b/arch/superh/crt_arch.h @@ -0,0 +1,9 @@ +__asm__("\ +.global _start \n\ +_start: \n\ + mov r15, r4 \n\ + mov #-16, r0 \n\ + and r0, r15 \n\ + bsr __cstart \n\ + nop \n\ +"); -- cgit v1.2.1