crt1.asm (start_l): Move PC-relative move instruction out of a branch delay slot.
authorBen Elliston <bje@redhat.com>
Sat, 18 Nov 2000 00:07:16 +0000 (00:07 +0000)
committerBen Elliston <bje@gcc.gnu.org>
Sat, 18 Nov 2000 00:07:16 +0000 (11:07 +1100)
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.

From-SVN: r37536

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

index 24248158f1395877b1928bac451bb3635413e570..c39c4fdc0bf16879e2b6f6a77c5ad2c9554880c1 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 a5eb4b4e7e5e049f0107e0e75e9003605d314fef..54ce99e1495b423bb9778cc9d1ae9a5414812c42 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