aboutsummaryrefslogtreecommitdiff
path: root/ld/ldlang.h
diff options
context:
space:
mode:
authorMichael Matz <matz@suse.de>2022-11-22 15:24:43 +0100
committerMichael Matz <matz@suse.de>2022-11-30 17:15:08 +0100
commitd7791499120d1ca92775bc63319af3165af30447 (patch)
treec46aa0d92bbdd76af709c6023264d144b037c7d2 /ld/ldlang.h
parentb1eecf6f66a4a642f4cb35688213e6c1c1ffdc79 (diff)
downloadgdb-d7791499120d1ca92775bc63319af3165af30447.zip
gdb-d7791499120d1ca92775bc63319af3165af30447.tar.gz
gdb-d7791499120d1ca92775bc63319af3165af30447.tar.bz2
section-select: Remove unused code
walk_wild_file, hence walk_wild_section and walk_wild_section_handler aren't called with the prefix tree. Hence initialization of the latter and all potential special cases for it aren't used anymore. That also removes the need to handler_data[] and some associated helper functions. So, remove all of that.
Diffstat (limited to 'ld/ldlang.h')
-rw-r--r--ld/ldlang.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/ld/ldlang.h b/ld/ldlang.h
index ed185c5..b92a7bb 100644
--- a/ld/ldlang.h
+++ b/ld/ldlang.h
@@ -400,8 +400,6 @@ struct lang_wild_statement_struct
struct name_list *exclude_name_list;
lang_statement_list_type matching_sections;
- walk_wild_section_handler_t walk_wild_section_handler;
- struct wildcard_list *handler_data[4];
lang_section_bst_type *tree, **rightmost;
struct flag_info *section_flag_list;
};