Remove dollars from system call support symbols

This commit is contained in:
Justine Tunney 2021-02-03 19:35:29 -08:00
parent a8d7195777
commit a37960a3af
743 changed files with 1380 additions and 2016 deletions

View file

@ -31,10 +31,10 @@
noasan struct DirectMap __mmap(void *addr, size_t size, unsigned prot,
unsigned flags, int fd, int64_t off) {
if (!IsWindows()) {
return (struct DirectMap){mmap$sysv(addr, size, prot, flags, fd, off),
return (struct DirectMap){sys_mmap(addr, size, prot, flags, fd, off),
kNtInvalidHandleValue};
} else {
return __mmap$nt(addr, size, prot,
return __sys_mmap_nt(addr, size, prot,
fd != -1 ? g_fds.p[fd].handle : kNtInvalidHandleValue,
off);
}