mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-22 21:32:31 +00:00
Remove IMAGE_BASE_VIRTUAL
This commit is contained in:
parent
8a0008d985
commit
20c77338e6
65 changed files with 10 additions and 286 deletions
2
third_party/python/Python/cosmomodule.c
vendored
2
third_party/python/Python/cosmomodule.c
vendored
|
@ -67,7 +67,6 @@ This module exposes low-level utilities from the Cosmopolitan library.\n\
|
|||
Static objects:\n\
|
||||
\n\
|
||||
MODE -- make build mode, e.g. \"\", \"tiny\", \"opt\", \"rel\", etc.\n\
|
||||
IMAGE_BASE_VIRTUAL -- base address of actually portable executable image\n\
|
||||
kernel -- o/s platform, e.g. \"linux\", \"xnu\", \"metal\", \"nt\", etc.\n\
|
||||
kStartTsc -- the rdtsc() value at process creation.");
|
||||
|
||||
|
@ -402,7 +401,6 @@ PyInit_cosmo(void)
|
|||
if (PyType_Ready(&FtracerType) < 0) return 0;
|
||||
if (!(m = PyModule_Create(&cosmomodule))) return 0;
|
||||
PyModule_AddStringConstant(m, "MODE", MODE);
|
||||
PyModule_AddIntConstant(m, "IMAGE_BASE_VIRTUAL", IMAGE_BASE_VIRTUAL);
|
||||
PyModule_AddStringConstant(m, "kernel", GetKernelName());
|
||||
PyModule_AddIntConstant(m, "kStartTsc", kStartTsc);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue