dwarf.c: Use more dwarf_vma
[external/binutils.git] / binutils / ChangeLog
1 2017-02-23  Jan Kratochvil  <jan.kratochvil@redhat.com>
2
3         * dwarf.c (display_loc_list): Use dwarf_vma for offset, base_address
4         and off.
5         (display_loc_list_dwo): Use dwarf_vma for offset.
6         (display_debug_loc): Use dwarf_vma for offset, base_address.
7         (struct range_entry, range_entry_compar): Use dwarf_vma for
8         ranges_offset.
9         (display_debug_ranges): Use dwarf_vma for ranges_offset, offset and
10         base_address.
11
12 2017-02-23  Nick Clifton  <nickc@redhat.com>
13
14         * readelf.c (display_tag_value): Use an explicit signed type for
15         the tag parameter.
16         (display_gnu_attributes): Use an unsigned integer type for
17         attribute tags.
18         (display_power_gnu_attribute): Likewise.
19         (display_s390_gnu_attribute): Likewise.
20         (display_sparc_hwcaps): Likewise.
21         (display_sparc_hwcaps2): Likewise.
22         (display_sparc_gnu_attribute): Likewise.
23         (display_mips_gnu_attribute): Likewise.
24         (display_tic6x_attribute): Likewise.
25         (display_raw_attribute): Likewise.
26         (process_attributes): Likewise.
27         (process_arm_specific): Delete redundant function.
28         (process_power_specific): Likewise.
29         (process_s390_specific): Likewise.
30         (process_sparc_specific): Likewise.
31         (process_tic6x_specific): Likewise.
32         (process_msp430x_specific): Likewise.
33         (display_public_gnu_attributes): New function.  Displays known
34         information about an unknown gnu attribute.
35         (display_generic_attribute): New function.  Calls
36         display_tag_value for non-nul tags.
37         (process_arch_specific): Call process_attributes even for
38         architectures not known to specifically support gnu attributes.
39
40 2017-02-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
41
42         * dwarf.c (decode_location_expression): Display also OP.
43
44 2017-02-22  Maciej W. Rozycki  <macro@imgtec.com>
45
46         * readelf.c (process_version_sections) <SHT_GNU_verdef>: Print a
47         new line between the heading and the first version definition
48         entry.
49
50 2017-02-20  Nick Clifton  <nickc@redhat.com>
51
52         PR binutils/21156
53         * dwarf.c (cu_tu_indexes_read): Move into...
54         (load_cu_tu_indexes): ... here.  Change the variable into
55         tri-state.  Change the function into boolean, returning
56         false if the indicies could not be loaded.
57         (find_cu_tu_set): Return NULL if the indicies could not be
58         loaded.
59
60 2017-02-17  Nick Clifton  <nickc@redhat.com>
61
62         PR binutils/21156
63         * readelf.c (find_section_in_set): Test for invalid section
64         indicies.
65
66 2017-02-17  Nick Clifton  <nickc@redhat.com>
67
68         * readelf.c (get_section_type_name): Add decoding of GNU section
69         types.
70
71 2017-02-15  Nick Clifton  <nickc@redhat.com>
72
73         * MAINTAINERS: (MIPS, MN10300): Move Eric Christopher to Past
74         Maintainers section.
75
76 2017-02-14  Nick Clifton  <nickc@redhat.com>
77
78         PR binutils/21159
79         * readelf.c (dump_section_as_strings): Reset the start address if
80         no decompression is perfromed.
81         (dump_section_as_bytes): Likewise.
82
83 2017-02-14  Nick Clifton  <nickc@redhat.com>
84
85         PR binutils/21158
86         * rddbg.c (read_symbol_stabs_debugging_info): Check for a null or
87         empty symbol name.
88
89 2017-02-14  Nick Clifton  <nickc@redhat.com>
90
91         PR binutils/21157
92         * stabs.c (parse_stab_enum_type): Check for corrupt NAME:VALUE
93         pairs.
94         (parse_number): Exit early if passed an empty string.
95
96 2017-02-14  Nick Clifton  <nickc@redhat.com>
97
98         PR binutils/21155
99         * readelf.c (IN_RANGE): New macro.  Tests for an address + offset
100         being within a given range.
101         (target_specific_reloc_handling): Use macro to test for underflow
102         as well as overflow of reloc offset.
103
104 2017-02-13  Nick Clifton  <nickc@redhat.com>
105
106         PR binutils/21150
107         * nm.c (file_symbol): Add test of string length before testing
108         string characters.
109
110 2017-02-13  Nick Clifton  <nickc@redhat.com>
111
112         PR binutils/21135
113         * readelf.c (dump_section_as_bytes): Handle the case where
114         uncompress_section_contents returns false.
115         (dump_section_as_bytes, load_specific_debug_section): Likewise.
116
117 2017-02-13  Nick Clifton  <nickc@redhat.com>
118
119         PR binutils/21149
120         * readelf.c (get_compression_header): Add size parameter.  Check
121         size against sizeof compression header before attempting to
122         extract the header.
123         (process_section_headers): Pass size to get_compression_header.
124         (dump_section_as_strings): Likewise.
125         (dump_section_as_bytes): Likewise.
126         (load_specific_debug_section): Likewise.
127
128 2017-02-13  Nick Clifton  <nickc@redhat.com>
129
130         PR binutils/21148
131         * readelf.c (process_version_sections): Include size of auxillary
132         version information when checking for buffer overflow.
133
134 2017-02-13  Nick Clifton  <nickc@redhat.com>
135
136         PR binutils/21147
137         * readelf.c (process_section_contents): Fix off by one error
138         reporting un-dumped sections.
139
140 2017-02-13  Nick Clifton  <nickc@redhat.com>
141
142         PR binutils/21139
143         * readelf.c (target_specific_reloc_handling): Add num_syms
144         parameter.  Check for symbol table overflow before accessing
145         symbol value.  If reloc pointer is NULL, discard all saved state.
146         (apply_relocations): Pass num_syms to target_specific_reloc_handling.
147         Call target_specific_reloc_handling with a NULL reloc pointer
148         after processing all of the relocs.
149
150 2017-02-13  Nick Clifton  <nickc@redhat.com>
151
152         PR binutils/21137
153         * readelf.c (target_specific_reloc_handling): Add end parameter.
154         Check for buffer overflow before writing relocated values.
155         (apply_relocations): Pass end to target_specific_reloc_handling.
156
157 2017-01-27  Dilyan Palauzov  <dilyan.palauzov@aegee.org>
158             Nick Clifton  <nickc@redhat.com>
159
160         PR 20343
161         * doc/binutils.texi (ar): Extend documentation of the --plugin
162         option.  Include a description of where the plugins should be
163         located.
164         (nm): Likewise.
165
166 2017-01-23  Nick Clifton  <nickc@redhat.com>
167
168         * MAINTAINERS: Add Bernd to Past Maintainers section.
169         (SCORE): Remove Mei Ligang as maintainer.  Add to Past Maintainers
170         section.
171
172 2017-01-23  Bernd Schmidt  <bschmidt@redhat.com>
173
174         * MAINTAINERS (BFIN): Remove myself as Blackfin maintainer.
175
176 2017-01-20  Andrew Burgess  <andrew.burgess@embecosm.com>
177
178         * objdump.c (dump_section_header): Extract max section name length
179         from data parameter, use this when formatting output.
180         (find_longest_section_name): New function.
181         (dump_headers): Calculate longest section name when in wide mode,
182         reformat to unify printing of header line.
183
184 2017-01-18  Bernhard Rosenkranzer  <bero@lindev.ch>
185
186         PR 21059
187         * arlex.l: Support processing with flex 2.6.3.
188         * deflex.l: Likewise.
189
190 2017-01-17  Dmitry Timoshkov  <dmitry@baikal.ru>
191
192         * resbin.c: Optional dialog control data immediately follows
193         the control description without alignment.
194         * testsuite/binutils-all/windres/controldata.rc: New test.
195         source.
196         * testsuite/binutils-all/windres/controldata.rsd: New test.
197
198 2017-01-12  Nick Clifton  <nickc@redhat.com>
199
200         PR binutils/20876
201         * NEWS: Mention the new feature.
202         * testsuite/binutils-all/objdump.exp (test_build_id_debuglink):
203         New proc to test the location of separate debug info files using
204         the build-id method.
205
206 2017-01-10  Nick Clifton  <nickc@redhat.com>
207
208         PR 21034
209         * stabs.c (parse_stab_members): Fix thinko checking for g++
210         version 1 stabs information.
211
212 2017-01-09  Nick Clifton  <nickc@redhat.com>
213
214         * objdump.c (display_file): Add new parameter 'last_file'.  If
215         last_file is true, do not call bfd_close at the end of the
216         function.
217         (main): Set the value of the last_file parameter when calling
218         display_file.
219
220 2017-01-09  Alan Modra  <amodra@gmail.com>
221
222         * readelf.c (process_section_headers): Correct .rel.dyn/.rela.dyn
223         comment.
224
225 2017-01-06  Nick Clifton  <nickc@redhat.com>
226
227         * MAINTAINERS: Move Paul Brook to the Past Maintainers section.
228
229 2017-01-04  Dilan Palauzov  <dilyan.palauzov@aegee.org>
230
231         PR 20958
232         * syslex.l (option): Add noyywrap
233         (yywrap): Delete.
234
235 2017-01-02  Alan Modra  <amodra@gmail.com>
236
237         Update year range in copyright notice of all files.
238
239 For older changes see ChangeLog-2016
240 \f
241 Copyright (C) 2017 Free Software Foundation, Inc.
242
243 Copying and distribution of this file, with or without modification,
244 are permitted in any medium without royalty provided the copyright
245 notice and this notice are preserved.
246
247 Local Variables:
248 mode: change-log
249 left-margin: 8
250 fill-column: 74
251 version-control: never
252 End: