scc

simple c99 compiler
git clone git://git.simple-cc.org/scc
Log | Files | Refs | Submodules | README | LICENSE

commit dadbaf3b0b05f72f7469e71e63c3740be090b4c7
parent 63343bf3727e5968a470ed05c4004be1552c9730
Author: Roberto E. Vargas Caballero <k0ga@shike2.net>
Date:   Wed, 15 Apr 2026 09:55:32 +0200

libc/amd64-linux: Use the syscall for open

Linux has a syscall for open in amd64 and i386, so we don't have a need
for the posix wrapper around openat, and since we were not generating the
syscall for openat, amd64 linux was not able to link with fopen().

Diffstat:
Msrc/libc/objs/amd64-linux.mk | 1-
1 file changed, 0 insertions(+), 1 deletion(-)

diff --git a/src/libc/objs/amd64-linux.mk b/src/libc/objs/amd64-linux.mk @@ -38,7 +38,6 @@ OBJS =\ arch/linux/_getheap.$O\ arch/linux/_sigaction.$O\ arch/linux/_waitpid.$O\ - arch/posix/_open.$O\ arch/posix/_tzone.$O\ arch/posix/clock.$O\ arch/posix/getenv.$O\