From: Alan Modra Date: Sat, 10 Aug 2019 03:05:20 +0000 (+0930) Subject: Delete unused ldlang.h structs X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4cfbdbfd2607a2bcfb9f745410e34aea8f044a9b;p=binutils-gdb.git Delete unused ldlang.h structs * ldlang.h (lang_common_statement_type): Delete. (lang_object_symbols_statement_type): Delete. (union lang_statement_union): Remove common_statement and object_symbols_statement. --- diff --git a/ld/ChangeLog b/ld/ChangeLog index d4eb3fb44a4..472d8994917 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,10 @@ +2019-08-10 Alan Modra + + * ldlang.h (lang_common_statement_type): Delete. + (lang_object_symbols_statement_type): Delete. + (union lang_statement_union): Remove common_statement and + object_symbols_statement. + 2019-08-10 Alan Modra * ldexp.c (exp_intop, exp_bigintop, exp_relop, exp_binop, exp_trinop), diff --git a/ld/ldlang.h b/ld/ldlang.h index 6d5fe738f4f..8fbbbc20b48 100644 --- a/ld/ldlang.h +++ b/ld/ldlang.h @@ -173,16 +173,6 @@ typedef struct lang_output_section_statement_struct unsigned int align_lma_with_input : 1; } lang_output_section_statement_type; -typedef struct -{ - lang_statement_header_type header; -} lang_common_statement_type; - -typedef struct -{ - lang_statement_header_type header; -} lang_object_symbols_statement_type; - typedef struct { lang_statement_header_type header; @@ -429,8 +419,6 @@ typedef union lang_statement_union lang_target_statement_type target_statement; lang_output_statement_type output_statement; lang_input_section_type input_section; - lang_common_statement_type common_statement; - lang_object_symbols_statement_type object_symbols_statement; lang_fill_statement_type fill_statement; lang_padding_statement_type padding_statement; lang_group_statement_type group_statement;