From 9f2d19bf1ef216e536c5e89b82a5ce422002fd01 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Thu, 8 Aug 2002 14:51:40 +0000 Subject: I reworked syscalls.h to match how I'm doing other arches. Stefan Allius and Edie C. Dost has some concerns about the perl script used to general crti.o and crtn.o and added their own versions. These versions will win since they are built last, --- libc/sysdeps/linux/sh/crtn.S | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 libc/sysdeps/linux/sh/crtn.S (limited to 'libc/sysdeps/linux/sh/crtn.S') diff --git a/libc/sysdeps/linux/sh/crtn.S b/libc/sysdeps/linux/sh/crtn.S new file mode 100644 index 000000000..3a8761c1d --- /dev/null +++ b/libc/sysdeps/linux/sh/crtn.S @@ -0,0 +1,17 @@ + .file "crtn.S" + + .section .init + mov r14,r15 + lds.l @r15+,pr + rts + mov.l @r15+,r14 +.Lfe1: + .size _init,.Lfe1-_init + + .section .fini + mov r14,r15 + lds.l @r15+,pr + rts + mov.l @r15+,r14 +.Lfe2: + .size _fini,.Lfe2-_fini -- cgit v1.2.3