ref: 0fb36627230e9c8defd681c61e4917a140fcc03f
parent: cbfcf3bf786e1dd5ccfbc97bff65fbc1efaa3903
author: Roberto E. Vargas Caballero <k0ga@shike2.com>
date: Fri Oct 1 13:24:51 EDT 2021
libc: Add missed objects in amd64-linux
--- a/src/libc/arch/amd64/linux/Makefile
+++ b/src/libc/arch/amd64/linux/Makefile
@@ -22,8 +22,8 @@
OBJS =\
$(GENOBJS)\
- _cerrno.o\
- _sys_errlist.o\
+ _cerrno.$O\
+ _sys_errlist.$O\
GENSRC = $(GENOBJS:.$O=.s)
--- a/src/libc/objs/amd64-linux.mk
+++ b/src/libc/objs/amd64-linux.mk
@@ -2,3 +2,41 @@
OBJS =\
$(COMMON_OBJS)\
+ arch/amd64/linux/_cerrno.$O\
+ arch/amd64/linux/_close.$O\
+ arch/amd64/linux/_exit.$O\
+ arch/amd64/linux/_getpid.$O\
+ arch/amd64/linux/_getrusage.$O\
+ arch/amd64/linux/_gettimeofday.$O\
+ arch/amd64/linux/_kill.$O\
+ arch/amd64/linux/_lseek.$O\
+ arch/amd64/linux/_open.$O\
+ arch/amd64/linux/_read.$O\
+ arch/amd64/linux/_sigaction.$O\
+ arch/amd64/linux/_sys_brk.$O\
+ arch/amd64/linux/_sys_errlist.$O\
+ arch/amd64/linux/_unlink.$O\
+ arch/amd64/linux/_write.$O\
+ arch/amd64/linux/crt.$O\
+ arch/amd64/longjmp.$O\
+ arch/amd64/memchr.$O\
+ arch/amd64/memcmp.$O\
+ arch/amd64/memcpy.$O\
+ arch/amd64/memmove.$O\
+ arch/amd64/memset.$O\
+ arch/amd64/setjmp.$O\
+ arch/amd64/strchr.$O\
+ arch/amd64/strcmp.$O\
+ arch/amd64/strcpy.$O\
+ arch/linux/_brk.$O\
+ arch/linux/_getheap.$O\
+ arch/posix/_getheap.$O\
+ arch/posix/_open.$O\
+ arch/posix/_systime.$O\
+ arch/posix/_tzone.$O\
+ arch/posix/clock.$O\
+ arch/posix/getenv.$O\
+ arch/posix/raise.$O\
+ arch/posix/signal.$O\
+ arch/posix/time.$O\
+ string/strlen.$O\
--- a/src/libc/objs/common-objs.mk
+++ b/src/libc/objs/common-objs.mk
@@ -61,6 +61,7 @@
stdio/vprintf.$O\
stdio/vsnprintf.$O\
stdio/vsprintf.$O\
+ stdlib/_Exit.$O\
stdlib/_dtoi.$O\
stdlib/abort.$O\
stdlib/abs.$O\