aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAndrea Corallo2019-12-27 15:57:31 +0100
committerAndrea Corallo2020-01-01 11:38:17 +0100
commitf4cb9cc9034c09a8798df3d98f6fa9313a777a96 (patch)
tree4c964cfdd37af122e7fb0786ebf44205255e581e /src
parenta5a1b53807a9449298f62c761223e6a1c5654bf7 (diff)
downloademacs-f4cb9cc9034c09a8798df3d98f6fa9313a777a96.tar.gz
emacs-f4cb9cc9034c09a8798df3d98f6fa9313a777a96.zip
rename IMPORTED_FUNC_LINK_TABLE -> FUNC_LINK_TABLE_SYM
Diffstat (limited to 'src')
-rw-r--r--src/comp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/comp.c b/src/comp.c
index 98ee6c19a2a..85b0983a6df 100644
--- a/src/comp.c
+++ b/src/comp.c
@@ -38,7 +38,7 @@ along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>. */
38#define CURRENT_THREAD_RELOC_SYM "current_thread_reloc" 38#define CURRENT_THREAD_RELOC_SYM "current_thread_reloc"
39#define PURE_RELOC_SYM "pure_reloc" 39#define PURE_RELOC_SYM "pure_reloc"
40#define DATA_RELOC_SYM "d_reloc" 40#define DATA_RELOC_SYM "d_reloc"
41#define IMPORTED_FUNC_LINK_TABLE "freloc_link_table" 41#define FUNC_LINK_TABLE_SYM "freloc_link_table"
42#define TEXT_DATA_RELOC_SYM "text_data_reloc" 42#define TEXT_DATA_RELOC_SYM "text_data_reloc"
43 43
44#define SPEED XFIXNUM (Fsymbol_value (Qcomp_speed)) 44#define SPEED XFIXNUM (Fsymbol_value (Qcomp_speed))
@@ -1873,7 +1873,7 @@ emit_ctxt_code (void)
1873 NULL, 1873 NULL,
1874 GCC_JIT_GLOBAL_EXPORTED, 1874 GCC_JIT_GLOBAL_EXPORTED,
1875 gcc_jit_type_get_pointer (gcc_jit_struct_as_type (f_reloc_struct)), 1875 gcc_jit_type_get_pointer (gcc_jit_struct_as_type (f_reloc_struct)),
1876 IMPORTED_FUNC_LINK_TABLE); 1876 FUNC_LINK_TABLE_SYM);
1877 1877
1878 xfree (fields); 1878 xfree (fields);
1879} 1879}
@@ -3223,7 +3223,7 @@ load_comp_unit (struct Lisp_Native_Comp_Unit *comp_u, bool loading_dump)
3223 dynlib_sym (handle, CURRENT_THREAD_RELOC_SYM); 3223 dynlib_sym (handle, CURRENT_THREAD_RELOC_SYM);
3224 EMACS_INT ***pure_reloc = dynlib_sym (handle, PURE_RELOC_SYM); 3224 EMACS_INT ***pure_reloc = dynlib_sym (handle, PURE_RELOC_SYM);
3225 Lisp_Object *data_relocs = dynlib_sym (handle, DATA_RELOC_SYM); 3225 Lisp_Object *data_relocs = dynlib_sym (handle, DATA_RELOC_SYM);
3226 void **freloc_link_table = dynlib_sym (handle, IMPORTED_FUNC_LINK_TABLE); 3226 void **freloc_link_table = dynlib_sym (handle, FUNC_LINK_TABLE_SYM);
3227 void (*top_level_run)(Lisp_Object) = dynlib_sym (handle, "top_level_run"); 3227 void (*top_level_run)(Lisp_Object) = dynlib_sym (handle, "top_level_run");
3228 3228
3229 if (!(current_thread_reloc 3229 if (!(current_thread_reloc