Delete unused ldlang.h structs
authorAlan Modra <amodra@gmail.com>
Sat, 10 Aug 2019 03:05:20 +0000 (12:35 +0930)
committerAlan Modra <amodra@gmail.com>
Sat, 10 Aug 2019 07:46:16 +0000 (17:16 +0930)
* ldlang.h (lang_common_statement_type): Delete.
(lang_object_symbols_statement_type): Delete.
(union lang_statement_union): Remove common_statement and
object_symbols_statement.

ld/ChangeLog
ld/ldlang.h

index d4eb3fb44a4a2acdf3e21537a0da3aff908b3cb4..472d89949178840d50e885a458427f19ae6ecdc0 100644 (file)
@@ -1,3 +1,10 @@
+2019-08-10  Alan Modra  <amodra@gmail.com>
+
+       * 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  <amodra@gmail.com>
 
        * ldexp.c (exp_intop, exp_bigintop, exp_relop, exp_binop, exp_trinop),
index 6d5fe738f4fb608b508951f7d765d1000f4bc294..8fbbbc20b487a9a8b941bcbc085881d0cd1e9a73 100644 (file)
@@ -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;