cosmopolitan/libc/nexgen32e
Justine Tunney cf93ecbbb2 Prove that Makefile is fully defined
The whole repository is now buildable with GNU Make Landlock sandboxing.
This proves that no Makefile targets exist which touch files other than
their declared prerequisites. In order to do this, we had to:

  1. Stop code morphing GCC output in package.com and instead run a
     newly introduced FIXUPOBJ.COM command after GCC invocations.

  2. Disable all the crumby Python unit tests that do things like create
     files in the current directory, or rename() files between folders.
     This ended up being a lot of tests, but most of them are still ok.

  3. Introduce an .UNSANDBOXED variable to GNU Make to disable Landlock.
     We currently only do this for things like `make tags`.

  4. This change deletes some GNU Make code that was preventing the
     execve() optimization from working. This means it should no longer
     be necessary in most cases for command invocations to be indirected
     through the cocmd interpreter.

  5. Missing dependencies had to be declared in certain places, in cases
     where they couldn't be automatically determined by MKDEPS.COM

  6. The libcxx header situation has finally been tamed. One of the
     things that makes this difficult is MKDEPS.COM only wants to
     consider the first 64kb of a file, in order to go fast. But libcxx
     likes to have #include lines buried after huge documentation.

  7. An .UNVEIL variable has been introduced to GNU Make just in case
     we ever wish to explicitly specify additional things that need to
     be whitelisted which aren't strictly prerequisites. This works in
     a manner similar to the recently introduced .EXTRA_PREREQS feature.

There's now a new build/bootstrap/make.com prebuilt binary available. It
should no longer be possible to write invalid Makefile code.
2022-08-06 04:05:08 -07:00
..
argc.S Improve memory safety 2021-10-13 17:27:13 -07:00
argv.S Perform some minor code cleanup 2021-03-04 13:22:32 -08:00
auxv.S Perform some minor code cleanup 2021-03-04 13:22:32 -08:00
bench.h Initial import 2020-06-15 07:18:57 -07:00
bsf.h Perform some code cleanup 2022-06-23 10:21:07 -07:00
bsr.h Perform some code cleanup 2022-06-23 10:21:07 -07:00
bsr128.S Import C++ Standard Template Library 2022-03-22 06:41:54 -07:00
cachesize.h Perform some code cleanup 2022-06-23 10:21:07 -07:00
cescapec.S Clean old .source directive out of asm code 2022-03-18 12:43:21 -07:00
checkstackalign.S Add malloc logging tool 2022-05-26 23:19:22 -07:00
cmpsb.S Clean old .source directive out of asm code 2022-03-18 12:43:21 -07:00
cmpsl.S Clean old .source directive out of asm code 2022-03-18 12:43:21 -07:00
cmpsq.S Clean old .source directive out of asm code 2022-03-18 12:43:21 -07:00
cmpsw.S Clean old .source directive out of asm code 2022-03-18 12:43:21 -07:00
cmpub.S Clean old .source directive out of asm code 2022-03-18 12:43:21 -07:00
cmpul.S Clean old .source directive out of asm code 2022-03-18 12:43:21 -07:00
cmpuq.S Clean old .source directive out of asm code 2022-03-18 12:43:21 -07:00
cmpuw.S Clean old .source directive out of asm code 2022-03-18 12:43:21 -07:00
cpuid4.internal.h Get Cosmopolitan into releasable state 2020-11-25 08:19:00 -08:00
crc32-pclmul.S Clean old .source directive out of asm code 2022-03-18 12:43:21 -07:00
crc32.h Get bzip2 to build 2021-09-06 17:36:47 -07:00
crc32init.S Clean old .source directive out of asm code 2022-03-18 12:43:21 -07:00
djbsort-avx2.S Clean old .source directive out of asm code 2022-03-18 12:43:21 -07:00
environ.S Clean old .source directive out of asm code 2022-03-18 12:43:21 -07:00
envp.S Improve memory safety 2021-10-13 17:27:13 -07:00
fentry.S Clean old .source directive out of asm code 2022-03-18 12:43:21 -07:00
ffs.h Auto-generate some documentation 2020-12-26 02:09:07 -08:00
ffs.S Clean old .source directive out of asm code 2022-03-18 12:43:21 -07:00
ffsl.S Clean old .source directive out of asm code 2022-03-18 12:43:21 -07:00
gc.internal.h Get codebase completely working with LLVM 2021-02-09 02:57:32 -08:00
gc.S Make build hermetic without shell scripts 2022-05-25 13:55:57 -07:00
gclongjmp.S Fix regression in _gclongjmp() 2021-08-19 09:34:24 -07:00
gettls.h Simplify TLS and reduce startup latency 2022-07-18 04:10:54 -07:00
hascharacter.internal.h Get Cosmopolitan into releasable state 2020-11-25 08:19:00 -08:00
identity.S Clean old .source directive out of asm code 2022-03-18 12:43:21 -07:00
imapxlatab.S Clean old .source directive out of asm code 2022-03-18 12:43:21 -07:00
kbase36.S Clean old .source directive out of asm code 2022-03-18 12:43:21 -07:00
kcp437.S Correct more typos (#500) 2022-07-21 20:53:30 -07:00
kcpuids.h Auto-generate some documentation 2020-12-26 02:09:07 -08:00
kcpuids.S Perform some code cleanup 2022-06-23 10:21:07 -07:00
kcrc32ctab.S Clean old .source directive out of asm code 2022-03-18 12:43:21 -07:00
khalfcache3.S Clean old .source directive out of asm code 2022-03-18 12:43:21 -07:00
kompressor.h Make numerous improvements 2021-09-28 01:52:34 -07:00
kreversebits.S Clean old .source directive out of asm code 2022-03-18 12:43:21 -07:00
ksha256.S Make numerous improvements 2021-09-28 01:52:34 -07:00
ktens.S Release redbean 2.0.1 2022-06-14 20:21:34 -07:00
ktensindex.S Make some minor fixups to bug reporting, etc. 2022-07-11 05:58:24 -07:00
ktolower.S Undiamond Python headers 2021-08-12 14:07:40 -07:00
ktoupper.S Undiamond Python headers 2021-08-12 14:07:40 -07:00
loadxmm.S Expose public garbage collector API for C language 2021-03-08 10:59:34 -08:00
lolendian.S Correct more typos (#500) 2022-07-21 20:53:30 -07:00
longerjmp.S Make improvements 2022-05-28 00:28:09 -07:00
longjmp.S Fix regression in _gclongjmp() 2021-08-19 09:34:24 -07:00
lz4.h Improve dead code elimination 2021-02-08 04:04:42 -08:00
macros.h Make improvements 2020-12-01 03:43:40 -08:00
macros.internal.inc Remove more nonstandard stuff from cosmopolitan.h 2021-03-01 00:18:23 -08:00
mcount.S Prove that Makefile is fully defined 2022-08-06 04:05:08 -07:00
memjmpinit.S Clean old .source directive out of asm code 2022-03-18 12:43:21 -07:00
missingno.S Clean old .source directive out of asm code 2022-03-18 12:43:21 -07:00
msr.h Initial import 2020-06-15 07:18:57 -07:00
mul4x4adx.S Make stronger crypto nearly as fast 2021-07-26 16:19:45 -07:00
mul6x6adx.S Make redbean SSL more tunable 2021-08-09 07:38:57 -07:00
mul8x8adx.S Make stronger crypto nearly as fast 2021-07-26 16:19:45 -07:00
nexgen32e.h Make some minor fixups to bug reporting, etc. 2022-07-11 05:58:24 -07:00
nexgen32e.mk Improve threading support further 2022-05-17 04:14:28 -07:00
nt2sysv.h Get Cosmopolitan into releasable state 2020-11-25 08:19:00 -08:00
nt2sysv.S Make fixes and improvements 2022-05-19 16:57:49 -07:00
pcmpstr.inc Get codebase completely working with LLVM 2021-02-09 02:57:32 -08:00
program_invocation_name.S Add syscalls to Blinkenlights and fix bugs 2022-05-13 13:31:21 -07:00
rdtsc.h Initial import 2020-06-15 07:18:57 -07:00
rdtscp.h Reduce makefile dependencies by 10% 2022-06-08 20:01:28 -07:00
rldecode.S Bump support up to FreeBSD 13 and NetBSD 9.2 2022-06-11 10:36:17 -07:00
savexmm.S Expose public garbage collector API for C language 2021-03-08 10:59:34 -08:00
setjmp.S Expose public garbage collector API for C language 2021-03-08 10:59:34 -08:00
setlongerjmp.S Make improvements 2022-05-28 00:28:09 -07:00
sha.h Make numerous improvements 2021-09-28 01:52:34 -07:00
sha1.S Make numerous improvements 2021-09-28 01:52:34 -07:00
sha1ni.S Make numerous improvements 2021-09-28 01:52:34 -07:00
sha256.S Make numerous improvements 2021-09-28 01:52:34 -07:00
sha256ni.S Correct more typos (#500) 2022-07-21 20:53:30 -07:00
sha512.S Make numerous improvements 2021-09-28 01:52:34 -07:00
stackframe.h Get address sanitizer mostly working 2020-09-03 05:44:37 -07:00
strsak16.S Clean old .source directive out of asm code 2022-03-18 12:43:21 -07:00
strsak32.S Clean old .source directive out of asm code 2022-03-18 12:43:21 -07:00
threaded.c Make improvements 2022-05-28 00:28:09 -07:00
threaded.h Apply even more fixups 2022-06-12 11:57:00 -07:00
tinydivsi.greg.S Clean old .source directive out of asm code 2022-03-18 12:43:21 -07:00
tinywcslen.greg.S Clean old .source directive out of asm code 2022-03-18 12:43:21 -07:00
tinywcsnlen.greg.S Clean old .source directive out of asm code 2022-03-18 12:43:21 -07:00
trampoline.h Replace .pushsection directives (#30) 2021-01-10 13:36:31 -08:00
uart.internal.h Add epoll and do more release readiness changes 2020-11-28 12:01:51 -08:00
vendor.internal.h Add SSL to redbean 2021-06-24 13:20:50 -07:00
vidya.internal.h Get Cosmopolitan into releasable state 2020-11-25 08:19:00 -08:00
x86compiler.h Initial import 2020-06-15 07:18:57 -07:00
x86feature.h Add pseudoteletypewriter to emulator 2020-08-29 23:51:09 -07:00
x86info.h Add SSL to redbean 2021-06-24 13:20:50 -07:00
x87conf.inc Get codebase completely working with LLVM 2021-02-09 02:57:32 -08:00
zip.S Generate ZIP files the same way as Windows 2021-03-01 06:24:11 -08:00