From 920e4862a2319cafcbf608a4b85a23bd9738d349 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Thu, 25 Feb 2016 10:33:29 +0000 Subject: [PATCH] Remove unused field from ld_config_type structure. * ld.h (struct ld_config_type): Remove specified_data_size field. --- ld/ChangeLog | 4 ++++ ld/ld.h | 45 +++++++++++++++++++++++++-------------------- 2 files changed, 29 insertions(+), 20 deletions(-) diff --git a/ld/ChangeLog b/ld/ChangeLog index 73d3f9d..1037198 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,7 @@ +2016-02-25 Nick Clifton + + * ld.h (struct ld_config_type): Remove specified_data_size field. + 2016-02-24 H.J. Lu PR ld/19698 diff --git a/ld/ld.h b/ld/ld.h index ab09032..85a48ad 100644 --- a/ld/ld.h +++ b/ld/ld.h @@ -72,8 +72,9 @@ discarded. */ #define DISCARD_SECTION_NAME "/DISCARD/" -/* A file name list */ -typedef struct name_list { +/* A file name list. */ +typedef struct name_list +{ const char *name; struct name_list *next; } @@ -83,21 +84,24 @@ typedef enum {sort_none, sort_ascending, sort_descending} sort_order; /* A wildcard specification. */ -typedef enum { +typedef enum +{ none, by_name, by_alignment, by_name_alignment, by_alignment_name, by_none, by_init_priority } sort_type; extern sort_type sort_section; -struct wildcard_spec { +struct wildcard_spec +{ const char *name; struct name_list *exclude_name_list; sort_type sorted; struct flag_info *section_flag_list; }; -struct wildcard_list { +struct wildcard_list +{ struct wildcard_list *next; struct wildcard_spec spec; }; @@ -110,20 +114,21 @@ struct wildcard_list { enum endian_enum { ENDIAN_UNSET = 0, ENDIAN_BIG, ENDIAN_LITTLE }; enum symbolic_enum - { - symbolic_unset = 0, - symbolic, - symbolic_functions, - }; +{ + symbolic_unset = 0, + symbolic, + symbolic_functions, +}; enum dynamic_list_enum - { - dynamic_list_unset = 0, - dynamic_list_data, - dynamic_list - }; +{ + dynamic_list_unset = 0, + dynamic_list_data, + dynamic_list +}; -typedef struct { +typedef struct +{ /* 1 => assign space to common symbols even if `relocatable_output'. */ bfd_boolean force_common_definition; @@ -209,7 +214,8 @@ typedef int token_code_type; /* Different ways we can handle orphan sections. */ -enum orphan_handling_enum { +enum orphan_handling_enum +{ /* The classic strategy, find a suitable section to place the orphan into. */ orphan_handling_place = 0, @@ -226,7 +232,8 @@ enum orphan_handling_enum { orphan_handling_error, }; -typedef struct { +typedef struct +{ bfd_boolean magic_demand_paged; bfd_boolean make_executable; @@ -292,8 +299,6 @@ typedef struct { unsigned int split_by_reloc; bfd_size_type split_by_file; - bfd_size_type specified_data_size; - /* The size of the hash table to use. */ unsigned long hash_table_size; -- 2.7.4