diff options
author | midipix <writeonce@midipix.org> | 2019-02-20 14:47:29 -0500 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2019-02-20 23:31:15 -0500 |
commit | 54e94f38f5e4d9e4ad51766ea5ca97ec8839114c (patch) | |
tree | 684fdb3cc0c7549990602db228482ccea8ba913e /include | |
parent | 9e15f6c411ab058dc38d416a0871747a4d208b82 (diff) | |
download | mdso-54e94f38f5e4d9e4ad51766ea5ca97ec8839114c.tar.bz2 mdso-54e94f38f5e4d9e4ad51766ea5ca97ec8839114c.tar.xz |
ABI & specs: symbol reference optimization: use image-relative relocations.
Diffstat (limited to 'include')
-rw-r--r-- | include/mdso/mdso_specs.h | 13 |
1 files changed, 9 insertions, 4 deletions
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 { |