summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--include/perk/perk.h6
-rw-r--r--src/driver/pe_driver_ctx.c7
-rw-r--r--src/internal/perk_driver_impl.h1
3 files changed, 0 insertions, 14 deletions
diff --git a/include/perk/perk.h b/include/perk/perk.h
index 3918d24..ade6153 100644
--- a/include/perk/perk.h
+++ b/include/perk/perk.h
@@ -112,12 +112,6 @@ struct pe_image_meta {
struct pe_meta_sec_hdr * hidata;
};
-struct pe_symbol_ctx {
- const char ** attrs;
- const char ** append;
- const char ** exclude;
-};
-
struct pe_output_ctx {
const char ** attrs;
const char * header;
diff --git a/src/driver/pe_driver_ctx.c b/src/driver/pe_driver_ctx.c
index 942291b..2158957 100644
--- a/src/driver/pe_driver_ctx.c
+++ b/src/driver/pe_driver_ctx.c
@@ -91,7 +91,6 @@ static struct pe_driver_ctx_impl * pe_driver_ctx_alloc(
ictx->ctx.erricap = &ictx->ctx.erriptr[--elements];
ictx->meta = meta;
- ictx->ctx.cctx.symctx = &ictx->ctx.symctx;
ictx->ctx.cctx.outctx = &ictx->ctx.outctx;
ictx->ctx.cctx.lnkctx = &ictx->ctx.lnkctx;
ictx->ctx.cctx.srvctx = &ictx->ctx.srvctx;
@@ -227,12 +226,6 @@ static void pe_driver_close_fds(struct pe_common_ctx * cctx)
static void pe_free_driver_ctx_impl(struct pe_driver_ctx_alloc * ictx)
{
- if (ictx->ctx.symctx.append)
- free(ictx->ctx.symctx.append);
-
- if (ictx->ctx.symctx.exclude)
- free(ictx->ctx.symctx.exclude);
-
pe_driver_close_fds(&ictx->ctx.cctx);
argv_free(ictx->meta);
free(ictx);
diff --git a/src/internal/perk_driver_impl.h b/src/internal/perk_driver_impl.h
index 78d55ae..7f34714 100644
--- a/src/internal/perk_driver_impl.h
+++ b/src/internal/perk_driver_impl.h
@@ -23,7 +23,6 @@ enum app_tags {
};
struct pe_driver_ctx_impl {
- struct pe_symbol_ctx symctx;
struct pe_output_ctx outctx;
struct pe_linker_ctx lnkctx;
struct pe_server_ctx srvctx;