summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/alpha/crtn.S
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2003-11-05 05:13:53 +0000
committerEric Andersen <andersen@codepoet.org>2003-11-05 05:13:53 +0000
commite16f9ab53be8712d35b93edd952c9e3b1e57d439 (patch)
tree617b0719ec76cb80becda283e80c5f4d3ab185eb /libc/sysdeps/linux/alpha/crtn.S
parentfeaafb1d34026cbb800a54fde208e6e5b8062838 (diff)
Continue the conversion to using per-arch crti.S and crtn.S
Diffstat (limited to 'libc/sysdeps/linux/alpha/crtn.S')
-rw-r--r--libc/sysdeps/linux/alpha/crtn.S30
1 files changed, 30 insertions, 0 deletions
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"