1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-22 07:09:54 +00:00
Commit Graph

140621 Commits

Author SHA1 Message Date
Andrea Corallo
0bb5a47402 move LATE_RELOCS just before VERY_LATE_RELOCS 2020-01-01 11:38:18 +01:00
Andrea Corallo
c00236a880 sign and check function link table 2020-01-01 11:38:17 +01:00
Andrea Corallo
1c08dc8212 some rework to please --enable-check-lisp-object-type 2020-01-01 11:38:17 +01:00
Andrea Corallo
f4cb9cc903 rename IMPORTED_FUNC_LINK_TABLE -> FUNC_LINK_TABLE_SYM 2020-01-01 11:38:17 +01:00
Andrea Corallo
a5a1b53807 do not force function inlining 2020-01-01 11:38:17 +01:00
Andrea Corallo
92e285fdf0 set disassemble buffer in read only 2020-01-01 11:38:17 +01:00
Andrea Corallo
fdb31d6a27 fix naming for predicate SUBR_NATIVE_COMPILEDP 2020-01-01 11:38:17 +01:00
Andrea Corallo
9514dbf7ed adjust max_specpdl_size to sustain bootstrap 2020-01-01 11:38:17 +01:00
Andrea Corallo
4beb850efb add native support to the build system 2020-01-01 11:38:17 +01:00
Andrea Corallo
5f63ac26cc always fill freloc before compiling too 2020-01-01 11:38:17 +01:00
Andrea Corallo
726d8c5bae move late relocs after emacs relocations 2020-01-01 11:38:16 +01:00
Andrea Corallo
44db9b912f never load a compilation unit without filling the func link table 2020-01-01 11:38:16 +01:00
Andrea Corallo
cedc19297e add elns to the gitignore 2020-01-01 11:38:16 +01:00
Andrea Corallo
e678021f0c add batch-native-compile 2020-01-01 11:38:16 +01:00
Andrea Corallo
ef59b67e46 mitigate ifdef proliferation 2020-01-01 11:38:16 +01:00
Andrea Corallo
2ccce1bc39 some style fixes 2020-01-01 11:38:16 +01:00
Andrea Corallo
568883c9be add native elisp subr pdumper support 2020-01-01 11:38:16 +01:00
Andrea Corallo
b6d6e7feb7 add native compilation unit pdumper support 2020-01-01 11:38:16 +01:00
Andrea Corallo
15ac087712 add pdump relocation phases 2020-01-01 11:38:16 +01:00
Andrea Corallo
36ab5c6d49 some more pdumper integration support 2020-01-01 11:38:15 +01:00
Andrea Corallo
080dacda78 Revert "split out copy_file_fd"
This reverts commit 41203ad6abceb6dca39b2dab0adbd8fa711e1f89.
2020-01-01 11:38:15 +01:00
Andrea Corallo
df62baa7d4 Revert "use memory mapped file for loading elns"
This reverts commit 5e07231151ef60a5066617ef6cec7c0077825b1c.
2020-01-01 11:38:15 +01:00
Andrea Corallo
8b1d9b8e5e add initial native compiler pdumper support 2020-01-01 11:38:15 +01:00
Andrea Corallo
ca8d5ed6ec add disassemble support for native compiled functions 2020-01-01 11:38:15 +01:00
Andrea Corallo
df0a7547cb add native-comp-unit-file primitive 2020-01-01 11:38:15 +01:00
Andrea Corallo
12639610f7 better printing for native compilation unit 2020-01-01 11:38:15 +01:00
Andrea Corallo
fd3c00ff92 add subr-native-compilation-unit primitive 2020-01-01 11:38:15 +01:00
Andrea Corallo
0a74771ee9 fix invalid read in fill_freloc 2020-01-01 11:38:15 +01:00
Andrea Corallo
5dae0a9a55 add support for native comp unit to type-of 2020-01-01 11:38:15 +01:00
Andrea Corallo
b275ddd63a rationalize load functions 2020-01-01 11:38:14 +01:00
Andrea Corallo
5ecb71c1e6 clean-up unnecessary function prevent_gc 2020-01-01 11:38:14 +01:00
Andrea Corallo
42362d9914 remove load_handle_stack and use the implementation one 2020-01-01 11:38:14 +01:00
Andrea Corallo
a88e5f0f19 better compilation unit definition 2020-01-01 11:38:14 +01:00
Andrea Corallo
4c8b46514d some rename on compilation unit struct 2020-01-01 11:38:14 +01:00
Andrea Corallo
c5bb62f99d initial gc support 2020-01-01 11:38:14 +01:00
Andrea Corallo
79436f0c74 use memory mapped file for loading elns 2020-01-01 11:38:14 +01:00
Andrea Corallo
54677f96f3 split out copy_file_fd 2020-01-01 11:38:14 +01:00
Andrea Corallo
9a8f33f285 introduce SUBRP_NATIVE_COMPILEDP 2020-01-01 11:38:14 +01:00
Andrea Corallo
f0671c6063 make dynlib_close active code 2020-01-01 11:38:14 +01:00
Andrea Corallo
4496a3f5ba initial compilation unit as object add 2020-01-01 11:38:13 +01:00
Andrea Corallo
b3cbdfc864 add basic compilation unit into structure 2020-01-01 11:38:13 +01:00
Andrea Corallo
a647a97320 better scratch slot support 2020-01-01 11:38:13 +01:00
Andrea Corallo
ee4feb005f fix some nits 2020-01-01 11:38:13 +01:00
Andrea Corallo
88671e638b make use of ARRAYELTS macro where possible 2020-01-01 11:38:13 +01:00
Andrea Corallo
a10405386f malloc instead of static alloc into emit_ctxt_code
make it good to be reentrant
2020-01-01 11:38:13 +01:00
Andrea Corallo
d0fcb15fa9 fix comp--register-subr 2020-01-01 11:38:13 +01:00
Andrea Corallo
d0173ecd0c remove advice dependency 2020-01-01 11:38:13 +01:00
Andrea Corallo
ac08a7f26c clean-up old function relocation code 2020-01-01 11:38:13 +01:00
Andrea Corallo
694ece7722 reworking relocation mechanism to use one single table 2020-01-01 11:38:13 +01:00
Andrea Corallo
740462da61 remove ifdef where unnecessary and add where they are 2020-01-01 11:38:12 +01:00