summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2019-02-17 11:03:53 -0500
committermidipix <writeonce@midipix.org>2019-02-17 11:25:35 -0500
commitc2623283de6d87f02307e14bc4176826115e5f44 (patch)
tree33b80e37c26e9d33b395617ae45a42a5b6259312 /include
parenta646dd9c97bf149d8ad1b15576b8873409abd8df (diff)
downloadmdso-c2623283de6d87f02307e14bc4176826115e5f44.tar.bz2
mdso-c2623283de6d87f02307e14bc4176826115e5f44.tar.xz
mdso_{asmgen|objgen}_symentry: support compiler-generated .gotrefs.
Diffstat (limited to 'include')
-rw-r--r--include/mdso/mdso_specs.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/mdso/mdso_specs.h b/include/mdso/mdso_specs.h
index a17308d..d552b8a 100644
--- a/include/mdso/mdso_specs.h
+++ b/include/mdso/mdso_specs.h
@@ -8,6 +8,7 @@
#define MDSO_STRS_SECTION ".dsostrs"
#define MDSO_HASH_SECTION ".dsohash"
#define MDSO_DATA_SECTION ".dsodata"
+#define MDSO_REFS_SECTION ".gotrefs"
#define MDSO_FLAG_LOADER_PATH 0x0001
#define MDSO_FLAG_LDSO_LIB 0x0002
@@ -27,6 +28,11 @@ struct mdso_arg {
uint16_t * utf16;
};
+struct mdso_ref_entry {
+ void * addr;
+ char * string;
+};
+
struct mdso_sym_entry {
char * string;
struct mdso_meta_table * meta;