mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-23 05:42:29 +00:00
Unbreak the x86-64 build
This commit is contained in:
parent
7bc20bff3e
commit
207e18a060
66 changed files with 443 additions and 117 deletions
|
@ -524,7 +524,12 @@ END_CODECS_LIST
|
|||
|
||||
I_AM_A_MODULE_FOR(cn)
|
||||
|
||||
_Section(".rodata.pytab.1 //") const struct _inittab _PyImport_Inittab__codecs_cn = {
|
||||
#ifdef __aarch64__
|
||||
_Section(".rodata.pytab.1 //")
|
||||
#else
|
||||
_Section(".rodata.pytab.1")
|
||||
#endif
|
||||
const struct _inittab _PyImport_Inittab__codecs_cn = {
|
||||
"_codecs_cn",
|
||||
PyInit__codecs_cn,
|
||||
};
|
||||
|
|
|
@ -236,7 +236,12 @@ END_CODECS_LIST
|
|||
|
||||
I_AM_A_MODULE_FOR(hk)
|
||||
|
||||
_Section(".rodata.pytab.1 //") const struct _inittab _PyImport_Inittab__codecs_hk = {
|
||||
#ifdef __aarch64__
|
||||
_Section(".rodata.pytab.1 //")
|
||||
#else
|
||||
_Section(".rodata.pytab.1")
|
||||
#endif
|
||||
const struct _inittab _PyImport_Inittab__codecs_hk = {
|
||||
"_codecs_hk",
|
||||
PyInit__codecs_hk,
|
||||
};
|
||||
|
|
|
@ -1080,7 +1080,12 @@ END_CODECS_LIST
|
|||
|
||||
I_AM_A_MODULE_FOR(iso2022)
|
||||
|
||||
_Section(".rodata.pytab.1 //") const struct _inittab _PyImport_Inittab__codecs_iso2022 = {
|
||||
#ifdef __aarch64__
|
||||
_Section(".rodata.pytab.1 //")
|
||||
#else
|
||||
_Section(".rodata.pytab.1")
|
||||
#endif
|
||||
const struct _inittab _PyImport_Inittab__codecs_iso2022 = {
|
||||
"_codecs_iso2022",
|
||||
PyInit__codecs_iso2022,
|
||||
};
|
||||
|
|
|
@ -703,7 +703,12 @@ END_CODECS_LIST
|
|||
|
||||
I_AM_A_MODULE_FOR(jp)
|
||||
|
||||
_Section(".rodata.pytab.1 //") const struct _inittab _PyImport_Inittab__codecs_jp = {
|
||||
#ifdef __aarch64__
|
||||
_Section(".rodata.pytab.1 //")
|
||||
#else
|
||||
_Section(".rodata.pytab.1")
|
||||
#endif
|
||||
const struct _inittab _PyImport_Inittab__codecs_jp = {
|
||||
"_codecs_jp",
|
||||
PyInit__codecs_jp,
|
||||
};
|
||||
|
|
|
@ -482,7 +482,12 @@ END_CODECS_LIST
|
|||
|
||||
I_AM_A_MODULE_FOR(kr)
|
||||
|
||||
_Section(".rodata.pytab.1 //") const struct _inittab _PyImport_Inittab__codecs_kr = {
|
||||
#ifdef __aarch64__
|
||||
_Section(".rodata.pytab.1 //")
|
||||
#else
|
||||
_Section(".rodata.pytab.1")
|
||||
#endif
|
||||
const struct _inittab _PyImport_Inittab__codecs_kr = {
|
||||
"_codecs_kr",
|
||||
PyInit__codecs_kr,
|
||||
};
|
||||
|
|
|
@ -149,7 +149,12 @@ END_CODECS_LIST
|
|||
|
||||
I_AM_A_MODULE_FOR(tw)
|
||||
|
||||
_Section(".rodata.pytab.1 //") const struct _inittab _PyImport_Inittab__codecs_tw = {
|
||||
#ifdef __aarch64__
|
||||
_Section(".rodata.pytab.1 //")
|
||||
#else
|
||||
_Section(".rodata.pytab.1")
|
||||
#endif
|
||||
const struct _inittab _PyImport_Inittab__codecs_tw = {
|
||||
"_codecs_tw",
|
||||
PyInit__codecs_tw,
|
||||
};
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
│ https://docs.python.org/3/license.html │
|
||||
╚─────────────────────────────────────────────────────────────────────────────*/
|
||||
#define PY_SSIZE_T_CLEAN
|
||||
#include "third_party/python/Modules/cjkcodecs/multibytecodec.h"
|
||||
#include "third_party/python/Include/abstract.h"
|
||||
#include "third_party/python/Include/codecs.h"
|
||||
#include "third_party/python/Include/descrobject.h"
|
||||
|
@ -19,7 +20,6 @@
|
|||
#include "third_party/python/Include/structmember.h"
|
||||
#include "third_party/python/Include/tupleobject.h"
|
||||
#include "third_party/python/Include/yoink.h"
|
||||
#include "third_party/python/Modules/cjkcodecs/multibytecodec.h"
|
||||
/* clang-format off */
|
||||
|
||||
PYTHON_PROVIDE("_multibytecodec");
|
||||
|
@ -1911,7 +1911,12 @@ PyInit__multibytecodec(void)
|
|||
return m;
|
||||
}
|
||||
|
||||
_Section(".rodata.pytab.1 //") const struct _inittab _PyImport_Inittab__multibytecodec = {
|
||||
#ifdef __aarch64__
|
||||
_Section(".rodata.pytab.1 //")
|
||||
#else
|
||||
_Section(".rodata.pytab.1")
|
||||
#endif
|
||||
const struct _inittab _PyImport_Inittab__multibytecodec = {
|
||||
"_multibytecodec",
|
||||
PyInit__multibytecodec,
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue