Remove sflag_info param from wild callback functions

* ldlang.h (callback_t): Remove flag_info function parameter.
	* ldlang.c (walk_wild_consider_section): Adjust to suit.
	(walk_wild_section_general): Likewise.
	(output_section_callback_fast, output_section_callback): Likewise.
	(check_section_callback, gc_section_callback): Likewise.
	(find_relro_section_callback): Likewise.
This commit is contained in:
Alan Modra
2021-01-13 15:17:56 +10:30
parent 2ce40d1a51
commit 8c4645b488
3 changed files with 14 additions and 11 deletions

View File

@@ -349,8 +349,7 @@ bfd_input_just_syms (const bfd *abfd)
typedef struct lang_wild_statement_struct lang_wild_statement_type;
typedef void (*callback_t) (lang_wild_statement_type *, struct wildcard_list *,
asection *, struct flag_info *,
lang_input_statement_type *, void *);
asection *, lang_input_statement_type *, void *);
typedef void (*walk_wild_section_handler_t) (lang_wild_statement_type *,
lang_input_statement_type *,