diff options
author | Alan Modra <amodra@gmail.com> | 2019-08-10 12:35:20 +0930 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2019-08-10 17:16:16 +0930 |
commit | 4cfbdbfd2607a2bcfb9f745410e34aea8f044a9b (patch) | |
tree | 70c0351d2e49aef652dc15492ddccbb7321c26f7 /ld | |
parent | 988de25b366c74cd62e35f3d5cf63086a964c7aa (diff) | |
download | gdb-4cfbdbfd2607a2bcfb9f745410e34aea8f044a9b.zip gdb-4cfbdbfd2607a2bcfb9f745410e34aea8f044a9b.tar.gz gdb-4cfbdbfd2607a2bcfb9f745410e34aea8f044a9b.tar.bz2 |
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.
Diffstat (limited to 'ld')
-rw-r--r-- | ld/ChangeLog | 7 | ||||
-rw-r--r-- | ld/ldlang.h | 12 |
2 files changed, 7 insertions, 12 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog index d4eb3fb..472d899 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,5 +1,12 @@ 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), (exp_unop, exp_nameop, exp_assop, exp_assert): Remove casts of stat_alloc return value. diff --git a/ld/ldlang.h b/ld/ldlang.h index 6d5fe73..8fbbbc2 100644 --- a/ld/ldlang.h +++ b/ld/ldlang.h @@ -176,16 +176,6 @@ typedef struct lang_output_section_statement_struct 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; fill_type *fill; int size; asection *output_section; @@ -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; |