diff options
author | Eric Andersen <andersen@codepoet.org> | 2003-11-05 00:43:09 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2003-11-05 00:43:09 +0000 |
commit | a1ec4fae6d9b3280f661bb80127d90c0d53a7a99 (patch) | |
tree | dbffb16f6c4f6454ffcf992cfa905f1b66eab5ed /libc/sysdeps/linux/powerpc/crtn.S | |
parent | 51ddd87e60b2df058f28aff16dab8d7fcc6f6d20 (diff) |
Continue the conversion to using per-arch crti.S and crtn.S
Diffstat (limited to 'libc/sysdeps/linux/powerpc/crtn.S')
-rw-r--r-- | libc/sysdeps/linux/powerpc/crtn.S | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/powerpc/crtn.S b/libc/sysdeps/linux/powerpc/crtn.S new file mode 100644 index 000000000..5de93ea8a --- /dev/null +++ b/libc/sysdeps/linux/powerpc/crtn.S @@ -0,0 +1,30 @@ + .file "initfini.c" +#APP + + .section .init +#NO_APP + .align 2 + .globl _init + .type _init, @function +#NO_APP + lwz 0,36(1) + addi 1,1,32 + mtlr 0 + blr + .size _init, .-_init +#APP + + .section .fini +#NO_APP + .align 2 + .globl _fini + .type _fini, @function +#NO_APP + lwz 0,36(1) + addi 1,1,32 + mtlr 0 + blr + .size _fini, .-_fini +#APP + + .ident "GCC: (GNU) 3.3.1 20030626 (Debian prerelease)" |