This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Delete unused ldlang.h structs
- From: Alan Modra <amodra at gmail dot com>
- To: binutils at sourceware dot org
- Date: Sat, 10 Aug 2019 17:15:16 +0930
- Subject: 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/ldlang.h b/ld/ldlang.h
index 6d5fe738f4..8fbbbc20b4 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;
--
Alan Modra
Australia Development Lab, IBM