From fc59b6ec5140386c0072cae932d2812015016a5b Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Tue, 15 Feb 2005 01:33:05 +0000 Subject: some source files for x86_64 --- libc/sysdeps/linux/x86_64/crtn.S | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 libc/sysdeps/linux/x86_64/crtn.S (limited to 'libc/sysdeps/linux/x86_64/crtn.S') diff --git a/libc/sysdeps/linux/x86_64/crtn.S b/libc/sysdeps/linux/x86_64/crtn.S new file mode 100644 index 000000000..292e499a7 --- /dev/null +++ b/libc/sysdeps/linux/x86_64/crtn.S @@ -0,0 +1,19 @@ +/* glibc's sysdeps/x86_64/elf/initfini.c used for reference [EPILOG] */ + +.file "initfini.c" + + +.section .init +.globl _init +.type _init, @function + addq $8, %rsp + ret +.size _init, .-_init + + +.section .fini +.globl _fini +.type _fini, @function + addq $8, %rsp + ret +.size _fini, .-_fini -- cgit v1.2.3