cosmopolitan/libc/nt
Justine Tunney 559b024e1d Decentralize Python native module linkage
We can now link even smaller Python binaries. For example, the hello.com
program in the Python build directory is a compiled linked executable of
hello.py which just prints hello world. Using decentralized sections, we
can make that binary 1.9mb in size (noting that python.com is 6.3 megs!)

This works for nontrivial programs too. For example, say we want an APE
binary that's equivalent to python.com -m http.server. Our makefile now
builds such a binary using the new launcher and it's only 3.2mb in size
since Python sources get turned into ELF objects, which tell our linker
that we need things like native hashing algorithm code.
2021-09-07 11:40:11 -07:00
..
advapi32 Improve isystem includes and magic numbers 2021-08-14 23:36:36 -07:00
comdlg32 Get Cosmopolitan into releasable state 2020-11-25 08:19:00 -08:00
enum Decentralize Python native module linkage 2021-09-07 11:40:11 -07:00
gdi32 Remove dollars from system call support symbols 2021-02-03 19:35:29 -08:00
iphlpapi Add ioctl(SIOCGIFxxx) support (#197) 2021-06-24 10:53:27 -07:00
kernel32 Decentralize Python native module linkage 2021-09-07 11:40:11 -07:00
KernelBase Get codebase completely working with LLVM 2021-02-09 02:57:32 -08:00
MsWSock Initial import 2020-06-15 07:18:57 -07:00
netapi32 Initial import 2020-06-15 07:18:57 -07:00
nt Improve documentation 2020-12-27 07:02:35 -08:00
ntdll Remove dollars from system call support symbols 2021-02-03 19:35:29 -08:00
PowerProf Improve isystem includes and magic numbers 2021-08-14 23:36:36 -07:00
shell32 Initial import 2020-06-15 07:18:57 -07:00
struct Improve Libc by making Python work even better 2021-08-18 22:16:23 -07:00
thunk Auto-generate some documentation 2020-12-26 02:09:07 -08:00
typedef Add epoll and do more release readiness changes 2020-11-28 12:01:51 -08:00
url Initial import 2020-06-15 07:18:57 -07:00
user32 Remove dollars from system call support symbols 2021-02-03 19:35:29 -08:00
ws2_32 Remove dollars from system call support symbols 2021-02-03 19:35:29 -08:00
accounting.h Undiamond Python headers 2021-08-12 14:07:40 -07:00
automation.h Get Cosmopolitan into releasable state 2020-11-25 08:19:00 -08:00
codegen.h Make improvements 2020-12-01 03:43:40 -08:00
codegen.sh Change license 2020-12-27 17:18:44 -08:00
comdlg.h Get Cosmopolitan into releasable state 2020-11-25 08:19:00 -08:00
console.h Get Cosmopolitan into releasable state 2020-11-25 08:19:00 -08:00
createfile.h Get Cosmopolitan into releasable state 2020-11-25 08:19:00 -08:00
debug.h Get Cosmopolitan into releasable state 2020-11-25 08:19:00 -08:00
dll.h Fix fork() on Windows after chdir() 2021-01-29 23:19:29 -08:00
efi.h Support malloc() on bare metal 2021-02-24 00:53:24 -08:00
errors.h Add SSL to redbean 2021-06-24 13:20:50 -07:00
events.h Decentralize Python native module linkage 2021-09-07 11:40:11 -07:00
files.h Decentralize Python native module linkage 2021-09-07 11:40:11 -07:00
iocp.h Get Cosmopolitan into releasable state 2020-11-25 08:19:00 -08:00
ipc.h Decentralize Python native module linkage 2021-09-07 11:40:11 -07:00
iphlpapi.h Add test for ioctl(SIOCGIFCONF) and polyfill on BSDs 2021-06-25 18:44:04 -07:00
master.sh Decentralize Python native module linkage 2021-09-07 11:40:11 -07:00
memory.h Make mappings unlimited on NT 2021-09-04 13:20:47 -07:00
messagebox.h Get Cosmopolitan into releasable state 2020-11-25 08:19:00 -08:00
nt.mk Improve isystem includes and magic numbers 2021-08-14 23:36:36 -07:00
ntdll.h Remove dollars from system call support symbols 2021-02-03 19:35:29 -08:00
ntdllimport.h Remove more nonstandard stuff from cosmopolitan.h 2021-03-01 00:18:23 -08:00
ntdllimport.S Remove more nonstandard stuff from cosmopolitan.h 2021-03-01 00:18:23 -08:00
paint.h Get Cosmopolitan into releasable state 2020-11-25 08:19:00 -08:00
pedef.internal.h Add UEFI support 2021-02-21 21:33:04 -08:00
privilege.h Work towards improving signals and processes 2021-01-27 19:34:02 -08:00
process.h Work towards improving signals and processes 2021-01-27 19:34:02 -08:00
registry.h Get Cosmopolitan into releasable state 2020-11-25 08:19:00 -08:00
runtime.h Add SSL to redbean 2021-06-24 13:20:50 -07:00
signals.h Get Cosmopolitan into releasable state 2020-11-25 08:19:00 -08:00
startupinfo.h Get Cosmopolitan into releasable state 2020-11-25 08:19:00 -08:00
synchronization.h Make Cosmopolitan ANSI C89 compatible 2021-02-03 17:48:59 -08:00
system.h Improve isystem includes and magic numbers 2021-08-14 23:36:36 -07:00
systeminfo.h Fix cosmopolitan.h for C++ 2021-02-01 04:04:44 -08:00
sysv2nt.s Get codebase completely working with LLVM 2021-02-09 02:57:32 -08:00
thread.h Decentralize Python native module linkage 2021-09-07 11:40:11 -07:00
windows.h Add ioctl(SIOCGIFxxx) support (#197) 2021-06-24 10:53:27 -07:00
winsock.h Improve ZIP filesystem and change its prefix 2021-08-22 01:11:53 -07:00