+2001-04-03 Alexandre Oliva <aoliva@redhat.com>
+
+ * config/sh/crtn.asm (init, fini): Restore r15 from r14, not the
+ other way round.
+ * config/sh/crti.asm: Fix typos in comments.
+
2001-04-03 Alan Modra <alan@linuxcare.com.au>
* pa.h: Revise comments for TARGET_NO_SPACE_REGS and
-/* Copyright (C) 2000 Free Software Foundation, Inc.
+/* Copyright (C) 2000, 2001 Free Software Foundation, Inc.
This file was adapted from glibc sources.
This file is part of GNU CC.
such object files. */
.section .init
-/* The alignment below can't be smaller, otherwide the mova below
+/* The alignment below can't be smaller, otherwise the mova below
breaks. Yes, we might align just the label, but then we'd be
exchanging an alignment here for one there, since the code fragment
below ensures 4-byte alignment on __ELF__. */
#endif
.section .fini
-/* The alignment below can't be smaller, otherwide the mova below
+/* The alignment below can't be smaller, otherwise the mova below
breaks. Yes, we might align just the label, but then we'd be
exchanging an alignment here for one there, since the code fragment
below ensures 4-byte alignment on __ELF__. */
-/* Copyright (C) 2000 Free Software Foundation, Inc.
+/* Copyright (C) 2000, 2001 Free Software Foundation, Inc.
This file was adapted from glibc sources.
This file is part of GNU CC.
/* See an explanation about .init and .fini in crti.asm. */
.section .init
- mov r15,r14
+ mov r14,r15
lds.l @r15+,pr
mov.l @r15+,r14
rts
#endif
.section .fini
- mov r15,r14
+ mov r14,r15
lds.l @r15+,pr
mov.l @r15+,r14
rts