From 54e94f38f5e4d9e4ad51766ea5ca97ec8839114c Mon Sep 17 00:00:00 2001 From: midipix Date: Wed, 20 Feb 2019 14:47:29 -0500 Subject: ABI & specs: symbol reference optimization: use image-relative relocations. --- include/mdso/mdso_specs.h | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) (limited to 'include') diff --git a/include/mdso/mdso_specs.h b/include/mdso/mdso_specs.h index f8dc9cc..63bc9f4 100644 --- a/include/mdso/mdso_specs.h +++ b/include/mdso/mdso_specs.h @@ -33,14 +33,19 @@ struct mdso_def_entry { char * string; }; +struct mdso_got_entry { + void * addr; + uintptr_t rsymstr; +}; + struct mdso_sym_entry { - char * string; - struct mdso_meta_record * meta; + uintptr_t rsymstr; + uintptr_t rmeta; }; struct mdso_ref_entry { - uintptr_t * backref; - uintptr_t * symref; + uintptr_t rbackref; + uintptr_t rsymref; }; struct mdso_meta_record { -- cgit v1.2.3