1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-03-03 04:21:28 -08:00
Commit graph

371 commits

Author SHA1 Message Date
Andrea Corallo
c1d034fc27 Split relocated data into two separate arrays
Rework the functionality of the previous commit to be more efficient.
2020-01-12 13:22:30 +01:00
Andrea Corallo
93ed2c32df Move function reloc data into pure space during bootstrap 2020-01-11 14:34:58 +01:00
Andrea Corallo
3039c55642 Do not block sw interrupts in batch mode (don't ignore C-c) 2020-01-02 23:01:33 +01:00
Andrea Corallo
c4b886831a compile each eln to a temporary one and rename it as last 2020-01-01 11:38:18 +01:00
Andrea Corallo
2875340c9f fix nit 2020-01-01 11:38:18 +01:00
Andrea Corallo
00f7fd7d42 fix non local propagation handling 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
5f63ac26cc always fill freloc before compiling too 2020-01-01 11:38:17 +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
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
36ab5c6d49 some more pdumper integration support 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
0a74771ee9 fix invalid read in fill_freloc 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
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
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
8234a62e6f stringify within macro ADD_IMPORTED 2020-01-01 11:38:12 +01:00
Andrea Corallo
26ce5664ae use safe alloca in declare_imported_func 2020-01-01 11:38:12 +01:00
Andrea Corallo
54e0b112d3 style nit 2020-01-01 11:38:12 +01:00
Andrea Corallo
a248dfe2c3 native compile interactive functions support 2020-01-01 11:38:12 +01:00
Andrea Corallo
f4de790bee add native compiled function docstring support 2020-01-01 11:38:11 +01:00
Andrea Corallo
60a81f44e4 better naming variable 2020-01-01 11:38:11 +01:00
Andrea Corallo
10adad440b update limple example 2020-01-01 11:38:10 +01:00
Andrea Corallo
6a3624eecb fix wrong enum usage into declare_function 2020-01-01 11:38:10 +01:00
Andrea Corallo
d4a5aba954 update limple comments 2020-01-01 11:38:10 +01:00
Andrea Corallo
960aa0c798 review two slot names in comp-func 2020-01-01 11:38:09 +01:00
Andrea Corallo
d901221e2b style fixes into comp.c 2020-01-01 11:38:09 +01:00
Andrea Corallo
71b363e2b3 error handling rework 2020-01-01 11:38:08 +01:00
Andrea Corallo
23874aee88 define internal-native-compiler-error as error 2020-01-01 11:38:08 +01:00
Andrea Corallo
4fe02acb6b better error handling while loading eln files 2020-01-01 11:38:08 +01:00
Andrea Corallo
95eb82644d fix symbol_subr + better naming 2020-01-01 11:38:08 +01:00
Andrea Corallo
630fcab4fc fix missing goto into load_comp_unit 2020-01-01 11:38:08 +01:00