From f5e48e94a2f4d4bbd6e5628c7f2afafc6dbcc459 Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Thu, 7 Mar 2024 17:28:52 -0500 Subject: build: Build mlibc + add distclean target Signed-off-by: Ian Moffett --- lib/mlibc/sysdeps/ironclad/crt-x86_64/crt0.S | 9 --------- lib/mlibc/sysdeps/ironclad/crt-x86_64/crti.S | 11 ----------- lib/mlibc/sysdeps/ironclad/crt-x86_64/crtn.S | 9 --------- 3 files changed, 29 deletions(-) delete mode 100644 lib/mlibc/sysdeps/ironclad/crt-x86_64/crt0.S delete mode 100644 lib/mlibc/sysdeps/ironclad/crt-x86_64/crti.S delete mode 100644 lib/mlibc/sysdeps/ironclad/crt-x86_64/crtn.S (limited to 'lib/mlibc/sysdeps/ironclad/crt-x86_64') diff --git a/lib/mlibc/sysdeps/ironclad/crt-x86_64/crt0.S b/lib/mlibc/sysdeps/ironclad/crt-x86_64/crt0.S deleted file mode 100644 index 18d109e..0000000 --- a/lib/mlibc/sysdeps/ironclad/crt-x86_64/crt0.S +++ /dev/null @@ -1,9 +0,0 @@ - -.section .text -.global _start -_start: - mov $main, %rdi - call __mlibc_entry - -.section .note.GNU-stack,"",%progbits - diff --git a/lib/mlibc/sysdeps/ironclad/crt-x86_64/crti.S b/lib/mlibc/sysdeps/ironclad/crt-x86_64/crti.S deleted file mode 100644 index 911b078..0000000 --- a/lib/mlibc/sysdeps/ironclad/crt-x86_64/crti.S +++ /dev/null @@ -1,11 +0,0 @@ -.section .init -.global _init -_init: - push %rax - -.section .fini -.global _fini -_fini: - push %rax -.section .note.GNU-stack,"",%progbits - diff --git a/lib/mlibc/sysdeps/ironclad/crt-x86_64/crtn.S b/lib/mlibc/sysdeps/ironclad/crt-x86_64/crtn.S deleted file mode 100644 index 0187e50..0000000 --- a/lib/mlibc/sysdeps/ironclad/crt-x86_64/crtn.S +++ /dev/null @@ -1,9 +0,0 @@ -.section .init - pop %rax - ret - -.section .fini - pop %rax - ret -.section .note.GNU-stack,"",%progbits - -- cgit v1.2.3