Fix rwx .rodata in python.com on aarch64

This commit is contained in:
Justine Tunney 2023-06-16 16:25:04 -07:00
parent 4eebd6b9dc
commit 1353db7d3f
No known key found for this signature in database
GPG key ID: BE714B4575D6E328
65 changed files with 65 additions and 65 deletions

View file

@ -241,7 +241,7 @@ DEFAULT_LDFLAGS = \
-nostdlib \ -nostdlib \
--gc-sections \ --gc-sections \
--build-id=none \ --build-id=none \
--no-dynamic-linker --cref -Map=$@.map --no-dynamic-linker #--cref -Map=$@.map
ifeq ($(ARCH), aarch64) ifeq ($(ARCH), aarch64)
DEFAULT_LDFLAGS += \ DEFAULT_LDFLAGS += \

View file

@ -284,7 +284,7 @@ PyInit__bisect(void)
return PyModule_Create(&_bisectmodule); return PyModule_Create(&_bisectmodule);
} }
_Section(".rodata.pytab.1") const struct _inittab _PyImport_Inittab__bisect = { _Section(".rodata.pytab.1 //") const struct _inittab _PyImport_Inittab__bisect = {
"_bisect", "_bisect",
PyInit__bisect, PyInit__bisect,
}; };

View file

@ -804,7 +804,7 @@ PyInit__bz2(void)
return m; return m;
} }
_Section(".rodata.pytab.1") const struct _inittab _PyImport_Inittab__bz2 = { _Section(".rodata.pytab.1 //") const struct _inittab _PyImport_Inittab__bz2 = {
"_bz2", "_bz2",
PyInit__bz2, PyInit__bz2,
}; };

View file

@ -2455,7 +2455,7 @@ PyInit__collections(void)
return m; return m;
} }
_Section(".rodata.pytab.1") const struct _inittab _PyImport_Inittab__collections = { _Section(".rodata.pytab.1 //") const struct _inittab _PyImport_Inittab__collections = {
"_collections", "_collections",
PyInit__collections, PyInit__collections,
}; };

View file

@ -1717,7 +1717,7 @@ PyInit__csv(void)
return module; return module;
} }
_Section(".rodata.pytab.1") const struct _inittab _PyImport_Inittab__csv = { _Section(".rodata.pytab.1 //") const struct _inittab _PyImport_Inittab__csv = {
"_csv", "_csv",
PyInit__csv, PyInit__csv,
}; };

View file

@ -6041,7 +6041,7 @@ PyInit__datetime(void)
return m; return m;
} }
_Section(".rodata.pytab.1") const struct _inittab _PyImport_Inittab__datetime = { _Section(".rodata.pytab.1 //") const struct _inittab _PyImport_Inittab__datetime = {
"_datetime", "_datetime",
PyInit__datetime, PyInit__datetime,
}; };

View file

@ -5948,7 +5948,7 @@ error:
return NULL; /* GCOV_NOT_REACHED */ return NULL; /* GCOV_NOT_REACHED */
} }
_Section(".rodata.pytab.1") const struct _inittab _PyImport_Inittab__decimal = { _Section(".rodata.pytab.1 //") const struct _inittab _PyImport_Inittab__decimal = {
"_decimal", "_decimal",
PyInit__decimal, PyInit__decimal,
}; };

View file

@ -4092,7 +4092,7 @@ PyInit__elementtree(void)
return m; return m;
} }
_Section(".rodata.pytab.1") const struct _inittab _PyImport_Inittab__elementtree = { _Section(".rodata.pytab.1 //") const struct _inittab _PyImport_Inittab__elementtree = {
"_elementtree", "_elementtree",
PyInit__elementtree, PyInit__elementtree,
}; };

View file

@ -1349,7 +1349,7 @@ PyInit__functools(void)
return m; return m;
} }
_Section(".rodata.pytab.1") const struct _inittab _PyImport_Inittab__functools = { _Section(".rodata.pytab.1 //") const struct _inittab _PyImport_Inittab__functools = {
"_functools", "_functools",
PyInit__functools, PyInit__functools,
}; };

View file

@ -582,7 +582,7 @@ PyInit__hashlib(void)
return m; return m;
} }
_Section(".rodata.pytab.1") const struct _inittab _PyImport_Inittab__hashlib = { _Section(".rodata.pytab.1 //") const struct _inittab _PyImport_Inittab__hashlib = {
"_hashlib", "_hashlib",
PyInit__hashlib, PyInit__hashlib,
}; };

View file

@ -678,7 +678,7 @@ PyInit__heapq(void)
return m; return m;
} }
_Section(".rodata.pytab.1") const struct _inittab _PyImport_Inittab__heapq = { _Section(".rodata.pytab.1 //") const struct _inittab _PyImport_Inittab__heapq = {
"_heapq", "_heapq",
PyInit__heapq, PyInit__heapq,
}; };

View file

@ -1978,7 +1978,7 @@ PyInit__json(void)
return NULL; return NULL;
} }
_Section(".rodata.pytab.1") const struct _inittab _PyImport_Inittab__json = { _Section(".rodata.pytab.1 //") const struct _inittab _PyImport_Inittab__json = {
"_json", "_json",
PyInit__json, PyInit__json,
}; };

View file

@ -777,7 +777,7 @@ indent-tabs-mode: nil
End: End:
*/ */
_Section(".rodata.pytab.1") const struct _inittab _PyImport_Inittab__locale = { _Section(".rodata.pytab.1 //") const struct _inittab _PyImport_Inittab__locale = {
"_locale", "_locale",
PyInit__locale, PyInit__locale,
}; };

View file

@ -7980,7 +7980,7 @@ error:
return 0; return 0;
} }
_Section(".rodata.pytab.1") const struct _inittab _PyImport_Inittab__sha3 = { _Section(".rodata.pytab.1 //") const struct _inittab _PyImport_Inittab__sha3 = {
"_sha3", "_sha3",
PyInit__sha3, PyInit__sha3,
}; };

View file

@ -909,7 +909,7 @@ PyInit__lsprof(void)
return module; return module;
} }
_Section(".rodata.pytab.1") const struct _inittab _PyImport_Inittab__lsprof = { _Section(".rodata.pytab.1 //") const struct _inittab _PyImport_Inittab__lsprof = {
"_lsprof", "_lsprof",
PyInit__lsprof, PyInit__lsprof,
}; };

View file

@ -225,7 +225,7 @@ PyInit__multiprocessing(void)
return module; return module;
} }
_Section(".rodata.pytab.1") const struct _inittab _PyImport_Inittab__multiprocessing = { _Section(".rodata.pytab.1 //") const struct _inittab _PyImport_Inittab__multiprocessing = {
"_multiprocessing", "_multiprocessing",
PyInit__multiprocessing, PyInit__multiprocessing,
}; };

View file

@ -94,7 +94,7 @@ PyInit__opcode(void)
return PyModule_Create(&opcodemodule); return PyModule_Create(&opcodemodule);
} }
_Section(".rodata.pytab.1") const struct _inittab _PyImport_Inittab__opcode = { _Section(".rodata.pytab.1 //") const struct _inittab _PyImport_Inittab__opcode = {
"_opcode", "_opcode",
PyInit__opcode, PyInit__opcode,
}; };

View file

@ -1305,7 +1305,7 @@ PyInit__operator(void)
return m; return m;
} }
_Section(".rodata.pytab.1") const struct _inittab _PyImport_Inittab__operator = { _Section(".rodata.pytab.1 //") const struct _inittab _PyImport_Inittab__operator = {
"_operator", "_operator",
PyInit__operator, PyInit__operator,
}; };

View file

@ -7499,7 +7499,7 @@ PyInit__pickle(void)
return m; return m;
} }
_Section(".rodata.pytab.1") const struct _inittab _PyImport_Inittab__pickle = { _Section(".rodata.pytab.1 //") const struct _inittab _PyImport_Inittab__pickle = {
"_pickle", "_pickle",
PyInit__pickle, PyInit__pickle,
}; };

View file

@ -729,7 +729,7 @@ PyInit__posixsubprocess(void)
return PyModule_Create(&_posixsubprocessmodule); return PyModule_Create(&_posixsubprocessmodule);
} }
_Section(".rodata.pytab.1") const struct _inittab _PyImport_Inittab__posixsubprocess = { _Section(".rodata.pytab.1 //") const struct _inittab _PyImport_Inittab__posixsubprocess = {
"_posixsubprocess", "_posixsubprocess",
PyInit__posixsubprocess, PyInit__posixsubprocess,
}; };

View file

@ -565,7 +565,7 @@ PyInit__random(void)
return m; return m;
} }
_Section(".rodata.pytab.1") const struct _inittab _PyImport_Inittab__random = { _Section(".rodata.pytab.1 //") const struct _inittab _PyImport_Inittab__random = {
"_random", "_random",
PyInit__random, PyInit__random,
}; };

View file

@ -492,7 +492,7 @@ error:
return module; return module;
} }
_Section(".rodata.pytab.1") const struct _inittab _PyImport_Inittab__sqlite3 = { _Section(".rodata.pytab.1 //") const struct _inittab _PyImport_Inittab__sqlite3 = {
"_sqlite3", "_sqlite3",
PyInit__sqlite3, PyInit__sqlite3,
}; };

View file

@ -2997,7 +2997,7 @@ PyInit__sre(void)
return m; return m;
} }
_Section(".rodata.pytab.1") const struct _inittab _PyImport_Inittab__sre = { _Section(".rodata.pytab.1 //") const struct _inittab _PyImport_Inittab__sre = {
"_sre", "_sre",
PyInit__sre, PyInit__sre,
}; };

View file

@ -628,7 +628,7 @@ PyInit__stat(void)
return m; return m;
} }
_Section(".rodata.pytab.1") const struct _inittab _PyImport_Inittab__stat = { _Section(".rodata.pytab.1 //") const struct _inittab _PyImport_Inittab__stat = {
"_stat", "_stat",
PyInit__stat, PyInit__stat,
}; };

View file

@ -2411,7 +2411,7 @@ PyInit__struct(void)
return m; return m;
} }
_Section(".rodata.pytab.1") const struct _inittab _PyImport_Inittab__struct = { _Section(".rodata.pytab.1 //") const struct _inittab _PyImport_Inittab__struct = {
"_struct", "_struct",
PyInit__struct, PyInit__struct,
}; };

View file

@ -5218,7 +5218,7 @@ PyInit__testcapi(void)
return m; return m;
} }
_Section(".rodata.pytab.1") const struct _inittab _PyImport_Inittab__testcapi = { _Section(".rodata.pytab.1 //") const struct _inittab _PyImport_Inittab__testcapi = {
"_testcapi", "_testcapi",
PyInit__testcapi, PyInit__testcapi,
}; };

View file

@ -1613,7 +1613,7 @@ PyInit__tracemalloc(void)
return m; return m;
} }
_Section(".rodata.pytab.1") const struct _inittab _PyImport_Inittab__tracemalloc = { _Section(".rodata.pytab.1 //") const struct _inittab _PyImport_Inittab__tracemalloc = {
"_tracemalloc", "_tracemalloc",
PyInit__tracemalloc, PyInit__tracemalloc,
}; };

View file

@ -3058,7 +3058,7 @@ PyInit_array(void)
return PyModuleDef_Init(&arraymodule); return PyModuleDef_Init(&arraymodule);
} }
_Section(".rodata.pytab.1") const struct _inittab _PyImport_Inittab_array = { _Section(".rodata.pytab.1 //") const struct _inittab _PyImport_Inittab_array = {
"array", "array",
PyInit_array, PyInit_array,
}; };

View file

@ -373,7 +373,7 @@ PyInit_atexit(void)
return m; return m;
} }
_Section(".rodata.pytab.1") const struct _inittab _PyImport_Inittab_atexit = { _Section(".rodata.pytab.1 //") const struct _inittab _PyImport_Inittab_atexit = {
"atexit", "atexit",
PyInit_atexit, PyInit_atexit,
}; };

View file

@ -1713,7 +1713,7 @@ PyInit_audioop(void)
return m; return m;
} }
_Section(".rodata.pytab.1") const struct _inittab _PyImport_Inittab_audioop = { _Section(".rodata.pytab.1 //") const struct _inittab _PyImport_Inittab_audioop = {
"audioop", "audioop",
PyInit_audioop, PyInit_audioop,
}; };

View file

@ -1476,7 +1476,7 @@ PyInit_binascii(void)
return m; return m;
} }
_Section(".rodata.pytab.1") const struct _inittab _PyImport_Inittab_binascii = { _Section(".rodata.pytab.1 //") const struct _inittab _PyImport_Inittab_binascii = {
"binascii", "binascii",
PyInit_binascii, PyInit_binascii,
}; };

View file

@ -524,7 +524,7 @@ END_CODECS_LIST
I_AM_A_MODULE_FOR(cn) I_AM_A_MODULE_FOR(cn)
_Section(".rodata.pytab.1") const struct _inittab _PyImport_Inittab__codecs_cn = { _Section(".rodata.pytab.1 //") const struct _inittab _PyImport_Inittab__codecs_cn = {
"_codecs_cn", "_codecs_cn",
PyInit__codecs_cn, PyInit__codecs_cn,
}; };

View file

@ -236,7 +236,7 @@ END_CODECS_LIST
I_AM_A_MODULE_FOR(hk) I_AM_A_MODULE_FOR(hk)
_Section(".rodata.pytab.1") const struct _inittab _PyImport_Inittab__codecs_hk = { _Section(".rodata.pytab.1 //") const struct _inittab _PyImport_Inittab__codecs_hk = {
"_codecs_hk", "_codecs_hk",
PyInit__codecs_hk, PyInit__codecs_hk,
}; };

View file

@ -1080,7 +1080,7 @@ END_CODECS_LIST
I_AM_A_MODULE_FOR(iso2022) I_AM_A_MODULE_FOR(iso2022)
_Section(".rodata.pytab.1") const struct _inittab _PyImport_Inittab__codecs_iso2022 = { _Section(".rodata.pytab.1 //") const struct _inittab _PyImport_Inittab__codecs_iso2022 = {
"_codecs_iso2022", "_codecs_iso2022",
PyInit__codecs_iso2022, PyInit__codecs_iso2022,
}; };

View file

@ -703,7 +703,7 @@ END_CODECS_LIST
I_AM_A_MODULE_FOR(jp) I_AM_A_MODULE_FOR(jp)
_Section(".rodata.pytab.1") const struct _inittab _PyImport_Inittab__codecs_jp = { _Section(".rodata.pytab.1 //") const struct _inittab _PyImport_Inittab__codecs_jp = {
"_codecs_jp", "_codecs_jp",
PyInit__codecs_jp, PyInit__codecs_jp,
}; };

View file

@ -482,7 +482,7 @@ END_CODECS_LIST
I_AM_A_MODULE_FOR(kr) I_AM_A_MODULE_FOR(kr)
_Section(".rodata.pytab.1") const struct _inittab _PyImport_Inittab__codecs_kr = { _Section(".rodata.pytab.1 //") const struct _inittab _PyImport_Inittab__codecs_kr = {
"_codecs_kr", "_codecs_kr",
PyInit__codecs_kr, PyInit__codecs_kr,
}; };

View file

@ -149,7 +149,7 @@ END_CODECS_LIST
I_AM_A_MODULE_FOR(tw) I_AM_A_MODULE_FOR(tw)
_Section(".rodata.pytab.1") const struct _inittab _PyImport_Inittab__codecs_tw = { _Section(".rodata.pytab.1 //") const struct _inittab _PyImport_Inittab__codecs_tw = {
"_codecs_tw", "_codecs_tw",
PyInit__codecs_tw, PyInit__codecs_tw,
}; };

View file

@ -1911,7 +1911,7 @@ PyInit__multibytecodec(void)
return m; return m;
} }
_Section(".rodata.pytab.1") const struct _inittab _PyImport_Inittab__multibytecodec = { _Section(".rodata.pytab.1 //") const struct _inittab _PyImport_Inittab__multibytecodec = {
"_multibytecodec", "_multibytecodec",
PyInit__multibytecodec, PyInit__multibytecodec,
}; };

View file

@ -1458,7 +1458,7 @@ PyInit_cmath(void)
return m; return m;
} }
_Section(".rodata.pytab.1") const struct _inittab _PyImport_Inittab_cmath = { _Section(".rodata.pytab.1 //") const struct _inittab _PyImport_Inittab_cmath = {
"cmath", "cmath",
PyInit_cmath, PyInit_cmath,
}; };

View file

@ -400,7 +400,7 @@ PyInit_errno(void)
return m; return m;
} }
_Section(".rodata.pytab.1") const struct _inittab _PyImport_Inittab_errno = { _Section(".rodata.pytab.1 //") const struct _inittab _PyImport_Inittab_errno = {
"errno", "errno",
PyInit_errno, PyInit_errno,
}; };

View file

@ -1434,7 +1434,7 @@ void _PyFaulthandler_Fini(void)
#endif #endif
} }
_Section(".rodata.pytab.1") const struct _inittab _PyImport_Inittab_faulthandler = { _Section(".rodata.pytab.1 //") const struct _inittab _PyImport_Inittab_faulthandler = {
"faulthandler", "faulthandler",
PyInit_faulthandler, PyInit_faulthandler,
}; };

View file

@ -692,7 +692,7 @@ PyInit_fcntl(void)
return m; return m;
} }
_Section(".rodata.pytab.1") const struct _inittab _PyImport_Inittab_fcntl = { _Section(".rodata.pytab.1 //") const struct _inittab _PyImport_Inittab_fcntl = {
"fcntl", "fcntl",
PyInit_fcntl, PyInit_fcntl,
}; };

View file

@ -277,7 +277,7 @@ PyMODINIT_FUNC PyInit_fpectl(void)
return m; return m;
} }
_Section(".rodata.pytab.1") const struct _inittab _PyImport_Inittab_fpectl = { _Section(".rodata.pytab.1 //") const struct _inittab _PyImport_Inittab_fpectl = {
"fpectl", "fpectl",
PyInit_fpectl, PyInit_fpectl,
}; };

View file

@ -278,7 +278,7 @@ PyInit_grp(void)
return m; return m;
} }
_Section(".rodata.pytab.1") const struct _inittab _PyImport_Inittab_grp = { _Section(".rodata.pytab.1 //") const struct _inittab _PyImport_Inittab_grp = {
"grp", "grp",
PyInit_grp, PyInit_grp,
}; };

View file

@ -2229,7 +2229,7 @@ PyInit_math(void)
return m; return m;
} }
_Section(".rodata.pytab.1") const struct _inittab _PyImport_Inittab_math = { _Section(".rodata.pytab.1 //") const struct _inittab _PyImport_Inittab_math = {
"math", "math",
PyInit_math, PyInit_math,
}; };

View file

@ -1495,7 +1495,7 @@ PyInit_mmap(void)
return module; return module;
} }
_Section(".rodata.pytab.1") const struct _inittab _PyImport_Inittab_mmap = { _Section(".rodata.pytab.1 //") const struct _inittab _PyImport_Inittab_mmap = {
"mmap", "mmap",
PyInit_mmap, PyInit_mmap,
}; };

View file

@ -1240,7 +1240,7 @@ PyInit_parser(void)
return module; return module;
} }
_Section(".rodata.pytab.1") const struct _inittab _PyImport_Inittab_parser = { _Section(".rodata.pytab.1 //") const struct _inittab _PyImport_Inittab_parser = {
"parser", "parser",
PyInit_parser, PyInit_parser,
}; };

View file

@ -266,7 +266,7 @@ PyInit_pwd(void)
return m; return m;
} }
_Section(".rodata.pytab.1") const struct _inittab _PyImport_Inittab_pwd = { _Section(".rodata.pytab.1 //") const struct _inittab _PyImport_Inittab_pwd = {
"pwd", "pwd",
PyInit_pwd, PyInit_pwd,
}; };

View file

@ -2041,7 +2041,7 @@ dump buffer
[clinic start generated code]*/ [clinic start generated code]*/
/*[clinic end generated code: output=da39a3ee5e6b4b0d input=524ce2e021e4eba6]*/ /*[clinic end generated code: output=da39a3ee5e6b4b0d input=524ce2e021e4eba6]*/
_Section(".rodata.pytab.1") const struct _inittab _PyImport_Inittab_pyexpat = { _Section(".rodata.pytab.1 //") const struct _inittab _PyImport_Inittab_pyexpat = {
"pyexpat", "pyexpat",
PyInit_pyexpat, PyInit_pyexpat,
}; };

View file

@ -390,7 +390,7 @@ PyInit_resource(void)
return m; return m;
} }
_Section(".rodata.pytab.1") const struct _inittab _PyImport_Inittab_resource = { _Section(".rodata.pytab.1 //") const struct _inittab _PyImport_Inittab_resource = {
"resource", "resource",
PyInit_resource, PyInit_resource,
}; };

View file

@ -2605,7 +2605,7 @@ PyInit_select(void)
return m; return m;
} }
_Section(".rodata.pytab.1") const struct _inittab _PyImport_Inittab_select = { _Section(".rodata.pytab.1 //") const struct _inittab _PyImport_Inittab_select = {
"select", "select",
PyInit_select, PyInit_select,
}; };

View file

@ -1569,7 +1569,7 @@ void *_PyOS_SigintEvent(void)
} }
#endif #endif
_Section(".rodata.pytab.1") const struct _inittab _PyImport_Inittab__signal = { _Section(".rodata.pytab.1 //") const struct _inittab _PyImport_Inittab__signal = {
"_signal", "_signal",
PyInit__signal, PyInit__signal,
}; };

View file

@ -7200,7 +7200,7 @@ PyInit__socket(void)
return m; return m;
} }
_Section(".rodata.pytab.1") const struct _inittab _PyImport_Inittab__socket = { _Section(".rodata.pytab.1 //") const struct _inittab _PyImport_Inittab__socket = {
"_socket", "_socket",
PyInit__socket, PyInit__socket,
}; };

View file

@ -135,7 +135,7 @@ PyInit__symtable(void)
return m; return m;
} }
_Section(".rodata.pytab.1") const struct _inittab _PyImport_Inittab__symtable = { _Section(".rodata.pytab.1 //") const struct _inittab _PyImport_Inittab__symtable = {
"_symtable", "_symtable",
PyInit__symtable, PyInit__symtable,
}; };

View file

@ -404,7 +404,7 @@ PyInit_syslog(void)
return m; return m;
} }
_Section(".rodata.pytab.1") const struct _inittab _PyImport_Inittab_syslog = { _Section(".rodata.pytab.1 //") const struct _inittab _PyImport_Inittab_syslog = {
"syslog", "syslog",
PyInit_syslog, PyInit_syslog,
}; };

View file

@ -760,7 +760,7 @@ PyInit_termios(void)
return m; return m;
} }
_Section(".rodata.pytab.1") const struct _inittab _PyImport_Inittab_termios = { _Section(".rodata.pytab.1 //") const struct _inittab _PyImport_Inittab_termios = {
"termios", "termios",
PyInit_termios, PyInit_termios,
}; };

View file

@ -1597,7 +1597,7 @@ pysleep(_PyTime_t secs)
return 0; return 0;
} }
_Section(".rodata.pytab.1") const struct _inittab _PyImport_Inittab_time = { _Section(".rodata.pytab.1 //") const struct _inittab _PyImport_Inittab_time = {
"time", "time",
PyInit_time, PyInit_time,
}; };

View file

@ -495,7 +495,7 @@ PyInit_tls(void)
return m; return m;
} }
_Section(".rodata.pytab.1") const struct _inittab _PyImport_Inittab_tls = { _Section(".rodata.pytab.1 //") const struct _inittab _PyImport_Inittab_tls = {
"tls", "tls",
PyInit_tls, PyInit_tls,
}; };

View file

@ -236,7 +236,7 @@ PyInit_tokenbucket(void)
return !PyErr_Occurred() ? m : 0; return !PyErr_Occurred() ? m : 0;
} }
_Section(".rodata.pytab.1") const struct _inittab _PyImport_Inittab_tokenbucket = { _Section(".rodata.pytab.1 //") const struct _inittab _PyImport_Inittab_tokenbucket = {
"tokenbucket", "tokenbucket",
PyInit_tokenbucket, PyInit_tokenbucket,
}; };

View file

@ -646,7 +646,7 @@ PyInit_unicodedata(void)
return m; return m;
} }
_Section(".rodata.pytab.1") const struct _inittab _PyImport_Inittab_unicodedata = { _Section(".rodata.pytab.1 //") const struct _inittab _PyImport_Inittab_unicodedata = {
"unicodedata", "unicodedata",
PyInit_unicodedata, PyInit_unicodedata,
}; };

View file

@ -1601,7 +1601,7 @@ PyInit_zipimport(void)
return mod; return mod;
} }
_Section(".rodata.pytab.1") const struct _inittab _PyImport_Inittab_zipimport = { _Section(".rodata.pytab.1 //") const struct _inittab _PyImport_Inittab_zipimport = {
"zipimport", "zipimport",
PyInit_zipimport, PyInit_zipimport,
}; };

View file

@ -1453,7 +1453,7 @@ PyInit_zlib(void)
return m; return m;
} }
_Section(".rodata.pytab.1") const struct _inittab _PyImport_Inittab_zlib = { _Section(".rodata.pytab.1 //") const struct _inittab _PyImport_Inittab_zlib = {
"zlib", "zlib",
PyInit_zlib, PyInit_zlib,
}; };

View file

@ -412,7 +412,7 @@ PyInit_cosmo(void)
return !PyErr_Occurred() ? m : 0; return !PyErr_Occurred() ? m : 0;
} }
_Section(".rodata.pytab.1") const struct _inittab _PyImport_Inittab_cosmo = { _Section(".rodata.pytab.1 //") const struct _inittab _PyImport_Inittab_cosmo = {
"cosmo", "cosmo",
PyInit_cosmo, PyInit_cosmo,
}; };

View file

@ -75,7 +75,7 @@ PyInit_xed(void)
return PyModule_Create(&xedmodule); return PyModule_Create(&xedmodule);
} }
_Section(".rodata.pytab.1") const struct _inittab _PyImport_Inittab_xed = { _Section(".rodata.pytab.1 //") const struct _inittab _PyImport_Inittab_xed = {
"xed", "xed",
PyInit_xed, PyInit_xed,
}; };

View file

@ -89,7 +89,7 @@ PyInit_xterm(void)
return PyModule_Create(&xtermmodule); return PyModule_Create(&xtermmodule);
} }
_Section(".rodata.pytab.1") const struct _inittab _PyImport_Inittab_xterm = { _Section(".rodata.pytab.1 //") const struct _inittab _PyImport_Inittab_xterm = {
"xterm", "xterm",
PyInit_xterm, PyInit_xterm,
}; };