summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2019-02-03 23:21:54 -0500
committermidipix <writeonce@midipix.org>2019-02-04 00:43:59 -0500
commit8535b67a7dbd5bb2e8c4e529c20ec8076b5cc27c (patch)
tree013eeed4634f35720499814c14fbbc6f9e353a5b /include
parent6612c3842b872a13291962e4744a8bffd0695d1a (diff)
downloadmdso-8535b67a7dbd5bb2e8c4e529c20ec8076b5cc27c.tar.bz2
mdso-8535b67a7dbd5bb2e8c4e529c20ec8076b5cc27c.tar.xz
Remove all bits pertaining to the obsolete distinction between code and data.
Diffstat (limited to 'include')
-rw-r--r--include/mdso/mdso.h9
1 files changed, 1 insertions, 8 deletions
diff --git a/include/mdso/mdso.h b/include/mdso/mdso.h
index 26d0fb0..160f89f 100644
--- a/include/mdso/mdso.h
+++ b/include/mdso/mdso.h
@@ -40,10 +40,6 @@ extern "C" {
#define MDSO_DRIVER_ANNOTATE_NEVER 0x2000
#define MDSO_DRIVER_ANNOTATE_FULL 0x4000
-/* symbol characteristics */
-#define MDSO_SYMBOL_TYPE_CODE 0x0001
-#define MDSO_SYMBOL_TYPE_DATA 0x0002
-
/* error flags */
#define MDSO_ERROR_TOP_LEVEL 0x0001
#define MDSO_ERROR_NESTED 0x0002
@@ -134,7 +130,6 @@ struct mdso_unit_ctx {
const struct mdso_input * map;
const struct mdso_common_ctx * cctx;
const char * const * syms;
- const int * stype;
void * any;
};
@@ -180,14 +175,12 @@ mdso_api uint64_t mdso_crc64_mbstr (const unsigned char *, size_t *);
mdso_api int mdso_asmgen_dsometa (const struct mdso_driver_ctx *, int);
mdso_api int mdso_asmgen_symentry (const struct mdso_driver_ctx *, const char *, int);
-mdso_api int mdso_asmgen_symfn (const struct mdso_driver_ctx *, const char *, int);
mdso_api int mdso_objgen_dsometa (const struct mdso_driver_ctx *, struct mdso_object *);
mdso_api int mdso_objgen_symentry (const struct mdso_driver_ctx *, const char *, struct mdso_object *);
-mdso_api int mdso_objgen_symfn (const struct mdso_driver_ctx *, const char *, struct mdso_object *);
mdso_api int mdso_argen_common (const struct mdso_driver_ctx *,
- const char **, const int *,
+ const char **,
struct mdso_object *);
/* package info */