diff options
author | Nick Clifton <nickc@redhat.com> | 2016-02-25 10:33:29 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2016-02-25 10:33:29 +0000 |
commit | 920e4862a2319cafcbf608a4b85a23bd9738d349 (patch) | |
tree | 8a6a63667d4ccb9126960e8b9e8998d61123b223 /ld | |
parent | f3234b0bc78364bf87e7f962c9c1c209f27417c8 (diff) | |
download | gdb-920e4862a2319cafcbf608a4b85a23bd9738d349.zip gdb-920e4862a2319cafcbf608a4b85a23bd9738d349.tar.gz gdb-920e4862a2319cafcbf608a4b85a23bd9738d349.tar.bz2 |
Remove unused field from ld_config_type structure.
* ld.h (struct ld_config_type): Remove specified_data_size field.
Diffstat (limited to 'ld')
-rw-r--r-- | ld/ChangeLog | 4 | ||||
-rw-r--r-- | 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 <nickc@redhat.com> + + * ld.h (struct ld_config_type): Remove specified_data_size field. + 2016-02-24 H.J. Lu <hongjiu.lu@intel.com> PR ld/19698 @@ -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; |