From 35cb31213eb23278be9aa95dd9e552aac7d3b83a Mon Sep 17 00:00:00 2001 From: David McCullough Date: Tue, 27 Aug 2002 06:28:30 +0000 Subject: Fix a delay slot problem, this gets some apps working on SH, a good number are still seg-faulting. --- libc/sysdeps/linux/sh/crt0.S | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'libc') diff --git a/libc/sysdeps/linux/sh/crt0.S b/libc/sysdeps/linux/sh/crt0.S index d7b54299f..d342f36ac 100644 --- a/libc/sysdeps/linux/sh/crt0.S +++ b/libc/sysdeps/linux/sh/crt0.S @@ -66,11 +66,13 @@ _start: /* call main */ mov.l L_main, r0 jsr @r0 + nop /* delay slot */ /* We should not get here. */ mov.l L_abort, r0 jsr @r0 - nop + nop /* delay slot */ + _start_end: .align 2 -- cgit v1.2.3