2000-11-18 Ben Elliston <bje@redhat.com>
authorbje <bje@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 18 Nov 2000 00:07:16 +0000 (00:07 +0000)
committerbje <bje@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 18 Nov 2000 00:07:16 +0000 (00:07 +0000)
* config/sh/crt1.asm (start_l): Move PC-relative move instruction
out of a branch delay slot.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37536 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config/sh/crt1.asm

index 2424815..c39c4fd 100644 (file)
@@ -1,3 +1,8 @@
+2000-11-18  Ben Elliston  <bje@redhat.com>
+
+       * config/sh/crt1.asm (start_l): Move PC-relative move instruction
+       out of a branch delay slot.
+
 2000-11-17  Richard Henderson  <rth@redhat.com>
 
        * config/alpha/elf.h (PREFERRED_DEBUGGING_TYPE): Set to DWARF2_DEBUG.
index a5eb4b4..54ce99e 100644 (file)
@@ -51,8 +51,9 @@ start_l:
 
        ! arrange for exit to call fini
        mov.l   atexit_k,r0
-       jsr     @r0
        mov.l   fini_k,r4
+       jsr     @r0
+       nop
 
        ! call init
        mov.l   init_k,r0