diff --git a/libc/Makefile b/libc/Makefile
index 101f5b3f..18e0cdf5 100644
--- a/libc/Makefile
+++ b/libc/Makefile
@@ -622,6 +622,7 @@ $(FREEOBJS) \
$(HOSTEDOBJS) \
CRTOBJ=\
+crt0.o \
crt1.o \
crti.o \
crtn.o \
@@ -671,9 +672,12 @@ libk.a: $(LIBK_OBJS)
librt.a:
$(HOSTAR) rcs $@
-crt1.o: $(CPUDIR)/crt1.o
+crt0.o: $(CPUDIR)/crt0.o
ln -f $< $@
+crt1.o: crt0.o
+ cp $< $@
+
crti.o: $(CPUDIR)/crti.o
ln -f $< $@
diff --git a/libc/x64/crt1.S b/libc/x64/crt0.S
similarity index 99%
rename from libc/x64/crt1.S
rename to libc/x64/crt0.S
index fc15e315..8cf82c4d 100644
--- a/libc/x64/crt1.S
+++ b/libc/x64/crt0.S
@@ -17,7 +17,7 @@
You should have received a copy of the GNU Lesser General Public License
along with the Sortix C Library. If not, see .
- x64/crt1.S
+ x64/crt0.S
Implement the _start symbol at which execution begins which performs the
task of initializing the standard library and executing the main function.
diff --git a/libc/x86/crt1.S b/libc/x86/crt0.S
similarity index 99%
rename from libc/x86/crt1.S
rename to libc/x86/crt0.S
index 9f623c8d..8d5a863b 100644
--- a/libc/x86/crt1.S
+++ b/libc/x86/crt0.S
@@ -17,7 +17,7 @@
You should have received a copy of the GNU Lesser General Public License
along with the Sortix C Library. If not, see .
- x86/crt1.S
+ x86/crt0.S
Implement the _start symbol at which execution begins which performs the
task of initializing the standard library and executing the main function.