• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Commit MetaInfo

Revisión4cfbdbfd2607a2bcfb9f745410e34aea8f044a9b (tree)
Tiempo2019-08-10 16:46:16
AutorAlan Modra <amodra@gmai...>
CommiterAlan Modra

Log Message

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.

Cambiar Resumen

Diferencia incremental

--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,5 +1,12 @@
11 2019-08-10 Alan Modra <amodra@gmail.com>
22
3+ * ldlang.h (lang_common_statement_type): Delete.
4+ (lang_object_symbols_statement_type): Delete.
5+ (union lang_statement_union): Remove common_statement and
6+ object_symbols_statement.
7+
8+2019-08-10 Alan Modra <amodra@gmail.com>
9+
310 * ldexp.c (exp_intop, exp_bigintop, exp_relop, exp_binop, exp_trinop),
411 (exp_unop, exp_nameop, exp_assop, exp_assert): Remove casts of
512 stat_alloc return value.
--- a/ld/ldlang.h
+++ b/ld/ldlang.h
@@ -176,16 +176,6 @@ typedef struct lang_output_section_statement_struct
176176 typedef struct
177177 {
178178 lang_statement_header_type header;
179-} lang_common_statement_type;
180-
181-typedef struct
182-{
183- lang_statement_header_type header;
184-} lang_object_symbols_statement_type;
185-
186-typedef struct
187-{
188- lang_statement_header_type header;
189179 fill_type *fill;
190180 int size;
191181 asection *output_section;
@@ -429,8 +419,6 @@ typedef union lang_statement_union
429419 lang_target_statement_type target_statement;
430420 lang_output_statement_type output_statement;
431421 lang_input_section_type input_section;
432- lang_common_statement_type common_statement;
433- lang_object_symbols_statement_type object_symbols_statement;
434422 lang_fill_statement_type fill_statement;
435423 lang_padding_statement_type padding_statement;
436424 lang_group_statement_type group_statement;