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