Make some minor touchups for nightlies

This commit is contained in:
Justine Tunney 2022-09-09 19:12:40 -07:00
parent 3265324e00
commit e9272f03fb
No known key found for this signature in database
GPG key ID: BE714B4575D6E328
4 changed files with 5 additions and 3 deletions

View file

@ -659,8 +659,8 @@ __attribute__((__noreturn__)) void ApeLoader(long di, long *sp, char dl,
}
// get syscall function pointer
if (handoff && handoff->syscall) {
syscall = handoff->syscall;
if (handoff && handoff->systemcall) {
syscall = handoff->systemcall;
} else {
syscall = __syscall_loader;
}

View file

@ -14,7 +14,7 @@ struct ApeLoader {
int os;
char *prog;
char *page;
void *syscall;
void *systemcall;
};
#endif /* COSMOPOLITAN_APE_LOADER_H_ */

View file

@ -1,5 +1,6 @@
#ifndef COSMOPOLITAN_LIBC_LOG_LIBFATAL_INTERNAL_H_
#define COSMOPOLITAN_LIBC_LOG_LIBFATAL_INTERNAL_H_
#include "libc/calls/calls.h"
#include "libc/dce.h"
#include "libc/macros.internal.h"
#include "libc/nt/runtime.h"

View file

@ -1,6 +1,7 @@
#-*-mode:makefile-gmake;indent-tabs-mode:t;tab-width:8;coding:utf-8-*-┐
#───vi: set et ft=make ts=8 tw=8 fenc=utf-8 :vi───────────────────────┘
o/$(MODE)/test/libc/release/cosmopolitan.zip: .UNSANDBOXED = 1
o/$(MODE)/test/libc/release/cosmopolitan.zip: \
o/cosmopolitan.h \
o/$(MODE)/ape/public/ape.lds \