From e16f9ab53be8712d35b93edd952c9e3b1e57d439 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Wed, 5 Nov 2003 05:13:53 +0000 Subject: Continue the conversion to using per-arch crti.S and crtn.S --- libc/sysdeps/linux/alpha/crtn.S | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 libc/sysdeps/linux/alpha/crtn.S (limited to 'libc/sysdeps/linux/alpha/crtn.S') diff --git a/libc/sysdeps/linux/alpha/crtn.S b/libc/sysdeps/linux/alpha/crtn.S new file mode 100644 index 000000000..c6fec15ba --- /dev/null +++ b/libc/sysdeps/linux/alpha/crtn.S @@ -0,0 +1,30 @@ + .set noat + .set noreorder + .set nomacro + .set macro + + .section .init + .set nomacro + .align 2 + .globl _init + .ent _init + .set nomacro + ldq $26,0($30) + lda $30,16($30) + ret $31,($26),1 + .end _init + .set macro + + .section .fini + .set nomacro + .align 2 + .globl _fini + .ent _fini + .set nomacro + ldq $26,0($30) + lda $30,16($30) + ret $31,($26),1 + .end _fini + .set macro + + .ident "GCC: (GNU) 3.3.2" -- cgit v1.2.3