f54c12d923b8f388e80e41a7ff904b87a61bb9af
[deliverable/binutils-gdb.git] / binutils / ChangeLog
1 2017-02-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2
3 Fix compilation with GCC 4.4.7.
4 * dwarf.c (display_loclists_list, display_debug_rnglists_list):
5 Initialize begin and end.
6
7 2017-02-25 Alan Modra <amodra@gmail.com>
8
9 * testsuite/binutils-all/dw5.S: Replace .string with .asciz.
10 Support hpux .comm variant.
11 * testsuite/binutils-all/readelf.exp: Define HPUX when assembling
12 dw5 test for hppa64-hpux.
13
14 2017-02-24 Nick Clifton <nickc@redhat.com>
15
16 * readelf.c (show_name, do_dynamic, do_syms, do_dyn_syms,
17 (do_reloc, do_sections, do_section_groups, do_section_details,
18 (do_segments, do_unwind, do_using_dynamic, do_header, do_dump,
19 (do_version, do_histogram, do_debugging, do_arch, do_notes,
20 (do_archive_index, is_32bit_elf, decompress_dumps): Use
21 bfd_boolean type.
22 (parse_args): Treat the do_* variables as booleans.
23 (print_vma): Return an unsigned int.
24 (print_symbol): Change width parameter to signed int.
25 (is_ia64_vms): Change return type to bfd_boolean.
26 (guess_is_rela): Likewise.
27 (slurp_rela_relocs): Likewise.
28 (slurp_rel_relocs): Likewise.
29 (dump_relocations): Likewise.
30 (process_file_header): Likewise.
31 (get_program_headers): Likewise.
32 (process_program_headers): Likewise.
33 (process_section_headers): Likewise.
34 (process_section_groups): Likewise.
35 (dump_ia64_vms_dynamic_fixups): Likewise.
36 (dump_ia64_vms_dynamic_relocs): Likewise.
37 (process_ia64_vms_dynamic_relocs): Likewise.
38 (process_relocs): Likewise.
39 (dump_ia64_unwind): Likewise.
40 (ia64_process_unwind): Likewise.
41 (dump_hppa_unwind): Likewise.
42 (slurp_hppa_unwind_table): Likewise.
43 (hppa_process_unwind): Likewise.
44 (decode_arm_unwind_bytecode): Likewise.
45 (decode_tic6x_unwind_bytecode): Likewise.
46 (decode_arm_unwind): Likewise.
47 (dump_arm_unwind): Likewise.
48 (arm_process_unwind): Likewise.
49 (process_unwind): Likewise.
50 (get_32bit_dynamic_section): Likewise.
51 (get_64bit_dynamic_section): Likewise.
52 (process_dynamic_section): Likewise.
53 (process_version_sections): Likewise.
54 (process_symbol_table): Likewise.
55 (process_syminfo): Likewise.
56 (apply_relocations): Likewise.
57 (disassemble_section): Likewise.
58 (dump_section_as_strings): Likewise.
59 (dump_section_as_bytes): Likewise.
60 (load_specific_debug_section): Likewise.
61 (load_debug_section): Likewise.
62 (display_debug_section): Likewise.
63 (process_section_contents): Likewise.
64 (process_attributes): Likewise.
65 (process_nds32_specific): Likewise.
66 (process_gnu_liblist): Likewise.
67 (print_core_note): Likewise.
68 (print_gnu_note): Likewise.
69 (print_v850_note): Likewise.
70 (process_netbsd_elf_note): Likewise.
71 (print_stapsdt_note): Likewise.
72 (print_ia64_vms_note): Likewise.
73 (process_note): Likewise.
74 (process_notes_at): Likewise.
75 (process_corefile_note_segments): Likewise.
76 (process_v850_notes): Likewise.
77 (process_note_sections): Likewise.
78 (process_notes): Likewise.
79 (process_arch_specific): Likewise.
80 (get_file_header): Likewise.
81 (process_object): Likewise.
82 (process_archive): Likewise.
83 (process_file): Likewise.
84 (section_subset): Make static.
85 (get_mips_reg_size): Return a signed integer.
86 (process_object): Reverse the logic of the return value.
87 (process_archive): Likewise.
88 (process_file): Likewise.
89 (process_program_headers): Fix snafu - if the program headers are
90 not available then this is not a cause to fail.
91 (process_corefile_note_segments): Likewise.
92
93 2017-02-24 Maciej W. Rozycki <macro@imgtec.com>
94
95 * readelf.c (get_ver_flags): Tidy the formatting of the string
96 returned
97
98 2017-02-24 Maciej W. Rozycki <macro@imgtec.com>
99
100 * readelf.c (process_version_sections) <SHT_GNU_verdef>: Make
101 `isum' unsigned.
102 <SHT_GNU_verneed>: Likewise.
103
104 2017-02-24 Maciej W. Rozycki <macro@imgtec.com>
105
106 * readelf.c (process_version_sections) <SHT_GNU_verdef>: Limit
107 the number of entries processed by the section size. Don't
108 break out of the loop if `ent.vd_next' is 0.
109
110 2017-02-23 Jan Kratochvil <jan.kratochvil@redhat.com>
111
112 * testsuite/binutils-all/dw5.S: New file.
113 * testsuite/binutils-all/dw5.W: New file.
114 * testsuite/binutils-all/readelf.exp (readelf -wiaoRlL): New test.
115
116 2017-02-23 Jan Kratochvil <jan.kratochvil@redhat.com>
117
118 * dwarf.c (read_and_display_attr_value): Support DW_FORM_data16.
119
120 2017-02-23 Jan Kratochvil <jan.kratochvil@redhat.com>
121
122 * dwarf.c (display_debug_macro): Support DWARF-5. Rename
123 DW_MACRO_GNU_*.
124
125 2017-02-23 Jan Kratochvil <jan.kratochvil@redhat.com>
126
127 * dwarf.c (decode_location_expression): Support DW_OP_implicit_pointer,
128 DW_OP_const_type, DW_OP_regval_type, DW_OP_deref_type, DW_OP_convert
129 and DW_OP_reinterpret.
130 (read_and_display_attr_value): Support DW_AT_call_value,
131 DW_AT_call_data_value, DW_AT_call_target and
132 DW_AT_call_target_clobbered.
133
134 2017-02-23 Jan Kratochvil <jan.kratochvil@redhat.com>
135
136 * dwarf.c (fetch_indirect_line_string): New function.
137 (abbrev_attr): New field implicit_const.
138 (add_abbrev_attr): New parameter implicit_const.
139 (process_abbrev_section): Support DW_FORM_implicit_const.
140 (decode_location_expression): Support DW_OP_entry_value.
141 (read_and_display_attr_value): Add parameter implicit_const. Support
142 DW_FORM_line_strp and DW_FORM_implicit_const.
143 (read_and_display_attr): Add parameter implicit_const.
144 (process_debug_info): Support line_str and DWARF-5.
145 (read_debug_line_header): Support DWARF-5.
146 (display_formatted_table): New function.
147 (display_debug_lines_raw): New parameter file. Support DWARF-5.
148 (display_debug_lines_decoded): New parameter fileptr. Support DWARF-5.
149 (display_debug_lines): Pass file parameter.
150 (display_debug_macro): Update read_and_display_attr_value caller.
151 (display_debug_abbrev): Support DW_FORM_implicit_const.
152 (display_loclists_list): New function.
153 (display_loc_list): Support .debug_loclists.
154 (display_debug_ranges_list): New function from display_debug_ranges.
155 (display_debug_rnglists_list): New function.
156 (display_debug_ranges): Support .debug_rnglists.
157 (debug_displays): Add .debug_line_str, .debug_loclists and
158 .debug_rnglists.
159 * dwarf.h: Include dwarf2.h
160 (DWARF2_Internal_LineInfo): Add li_offset_size.
161 (DWARF2_Internal_CompUnit): Add cu_unit_type.
162 (enum dwarf_section_display_enum): Add line_str.
163 * readelf.c (process_section_headers): Add rnglists and loclists.
164
165 2017-02-23 Jan Kratochvil <jan.kratochvil@redhat.com>
166
167 * dwarf.c (display_block): Add parameter delimiter.
168 (decode_location_expression): Update display_block callers.
169 (read_and_display_attr_value): Add parameter delimiter.
170 (read_and_display_attr, display_debug_macro): Update
171 read_and_display_attr_value caller.
172
173 2017-02-23 Jan Kratochvil <jan.kratochvil@redhat.com>
174
175 * dwarf.c (display_loc_list): Use dwarf_vma for offset, base_address
176 and off.
177 (display_loc_list_dwo): Use dwarf_vma for offset.
178 (display_debug_loc): Use dwarf_vma for offset, base_address.
179 (struct range_entry, range_entry_compar): Use dwarf_vma for
180 ranges_offset.
181 (display_debug_ranges): Use dwarf_vma for ranges_offset, offset and
182 base_address.
183
184 2017-02-23 Nick Clifton <nickc@redhat.com>
185
186 * readelf.c (display_tag_value): Use an explicit signed type for
187 the tag parameter.
188 (display_gnu_attributes): Use an unsigned integer type for
189 attribute tags.
190 (display_power_gnu_attribute): Likewise.
191 (display_s390_gnu_attribute): Likewise.
192 (display_sparc_hwcaps): Likewise.
193 (display_sparc_hwcaps2): Likewise.
194 (display_sparc_gnu_attribute): Likewise.
195 (display_mips_gnu_attribute): Likewise.
196 (display_tic6x_attribute): Likewise.
197 (display_raw_attribute): Likewise.
198 (process_attributes): Likewise.
199 (process_arm_specific): Delete redundant function.
200 (process_power_specific): Likewise.
201 (process_s390_specific): Likewise.
202 (process_sparc_specific): Likewise.
203 (process_tic6x_specific): Likewise.
204 (process_msp430x_specific): Likewise.
205 (display_public_gnu_attributes): New function. Displays known
206 information about an unknown gnu attribute.
207 (display_generic_attribute): New function. Calls
208 display_tag_value for non-nul tags.
209 (process_arch_specific): Call process_attributes even for
210 architectures not known to specifically support gnu attributes.
211
212 2017-02-22 Jan Kratochvil <jan.kratochvil@redhat.com>
213
214 * dwarf.c (decode_location_expression): Display also OP.
215
216 2017-02-22 Maciej W. Rozycki <macro@imgtec.com>
217
218 * readelf.c (process_version_sections) <SHT_GNU_verdef>: Print a
219 new line between the heading and the first version definition
220 entry.
221
222 2017-02-20 Nick Clifton <nickc@redhat.com>
223
224 PR binutils/21156
225 * dwarf.c (cu_tu_indexes_read): Move into...
226 (load_cu_tu_indexes): ... here. Change the variable into
227 tri-state. Change the function into boolean, returning
228 false if the indicies could not be loaded.
229 (find_cu_tu_set): Return NULL if the indicies could not be
230 loaded.
231
232 2017-02-17 Nick Clifton <nickc@redhat.com>
233
234 PR binutils/21156
235 * readelf.c (find_section_in_set): Test for invalid section
236 indicies.
237
238 2017-02-17 Nick Clifton <nickc@redhat.com>
239
240 * readelf.c (get_section_type_name): Add decoding of GNU section
241 types.
242
243 2017-02-15 Nick Clifton <nickc@redhat.com>
244
245 * MAINTAINERS: (MIPS, MN10300): Move Eric Christopher to Past
246 Maintainers section.
247
248 2017-02-14 Nick Clifton <nickc@redhat.com>
249
250 PR binutils/21159
251 * readelf.c (dump_section_as_strings): Reset the start address if
252 no decompression is perfromed.
253 (dump_section_as_bytes): Likewise.
254
255 2017-02-14 Nick Clifton <nickc@redhat.com>
256
257 PR binutils/21158
258 * rddbg.c (read_symbol_stabs_debugging_info): Check for a null or
259 empty symbol name.
260
261 2017-02-14 Nick Clifton <nickc@redhat.com>
262
263 PR binutils/21157
264 * stabs.c (parse_stab_enum_type): Check for corrupt NAME:VALUE
265 pairs.
266 (parse_number): Exit early if passed an empty string.
267
268 2017-02-14 Nick Clifton <nickc@redhat.com>
269
270 PR binutils/21155
271 * readelf.c (IN_RANGE): New macro. Tests for an address + offset
272 being within a given range.
273 (target_specific_reloc_handling): Use macro to test for underflow
274 as well as overflow of reloc offset.
275
276 2017-02-13 Nick Clifton <nickc@redhat.com>
277
278 PR binutils/21150
279 * nm.c (file_symbol): Add test of string length before testing
280 string characters.
281
282 2017-02-13 Nick Clifton <nickc@redhat.com>
283
284 PR binutils/21135
285 * readelf.c (dump_section_as_bytes): Handle the case where
286 uncompress_section_contents returns false.
287 (dump_section_as_bytes, load_specific_debug_section): Likewise.
288
289 2017-02-13 Nick Clifton <nickc@redhat.com>
290
291 PR binutils/21149
292 * readelf.c (get_compression_header): Add size parameter. Check
293 size against sizeof compression header before attempting to
294 extract the header.
295 (process_section_headers): Pass size to get_compression_header.
296 (dump_section_as_strings): Likewise.
297 (dump_section_as_bytes): Likewise.
298 (load_specific_debug_section): Likewise.
299
300 2017-02-13 Nick Clifton <nickc@redhat.com>
301
302 PR binutils/21148
303 * readelf.c (process_version_sections): Include size of auxillary
304 version information when checking for buffer overflow.
305
306 2017-02-13 Nick Clifton <nickc@redhat.com>
307
308 PR binutils/21147
309 * readelf.c (process_section_contents): Fix off by one error
310 reporting un-dumped sections.
311
312 2017-02-13 Nick Clifton <nickc@redhat.com>
313
314 PR binutils/21139
315 * readelf.c (target_specific_reloc_handling): Add num_syms
316 parameter. Check for symbol table overflow before accessing
317 symbol value. If reloc pointer is NULL, discard all saved state.
318 (apply_relocations): Pass num_syms to target_specific_reloc_handling.
319 Call target_specific_reloc_handling with a NULL reloc pointer
320 after processing all of the relocs.
321
322 2017-02-13 Nick Clifton <nickc@redhat.com>
323
324 PR binutils/21137
325 * readelf.c (target_specific_reloc_handling): Add end parameter.
326 Check for buffer overflow before writing relocated values.
327 (apply_relocations): Pass end to target_specific_reloc_handling.
328
329 2017-01-27 Dilyan Palauzov <dilyan.palauzov@aegee.org>
330 Nick Clifton <nickc@redhat.com>
331
332 PR 20343
333 * doc/binutils.texi (ar): Extend documentation of the --plugin
334 option. Include a description of where the plugins should be
335 located.
336 (nm): Likewise.
337
338 2017-01-23 Nick Clifton <nickc@redhat.com>
339
340 * MAINTAINERS: Add Bernd to Past Maintainers section.
341 (SCORE): Remove Mei Ligang as maintainer. Add to Past Maintainers
342 section.
343
344 2017-01-23 Bernd Schmidt <bschmidt@redhat.com>
345
346 * MAINTAINERS (BFIN): Remove myself as Blackfin maintainer.
347
348 2017-01-20 Andrew Burgess <andrew.burgess@embecosm.com>
349
350 * objdump.c (dump_section_header): Extract max section name length
351 from data parameter, use this when formatting output.
352 (find_longest_section_name): New function.
353 (dump_headers): Calculate longest section name when in wide mode,
354 reformat to unify printing of header line.
355
356 2017-01-18 Bernhard Rosenkranzer <bero@lindev.ch>
357
358 PR 21059
359 * arlex.l: Support processing with flex 2.6.3.
360 * deflex.l: Likewise.
361
362 2017-01-17 Dmitry Timoshkov <dmitry@baikal.ru>
363
364 * resbin.c: Optional dialog control data immediately follows
365 the control description without alignment.
366 * testsuite/binutils-all/windres/controldata.rc: New test.
367 source.
368 * testsuite/binutils-all/windres/controldata.rsd: New test.
369
370 2017-01-12 Nick Clifton <nickc@redhat.com>
371
372 PR binutils/20876
373 * NEWS: Mention the new feature.
374 * testsuite/binutils-all/objdump.exp (test_build_id_debuglink):
375 New proc to test the location of separate debug info files using
376 the build-id method.
377
378 2017-01-10 Nick Clifton <nickc@redhat.com>
379
380 PR 21034
381 * stabs.c (parse_stab_members): Fix thinko checking for g++
382 version 1 stabs information.
383
384 2017-01-09 Nick Clifton <nickc@redhat.com>
385
386 * objdump.c (display_file): Add new parameter 'last_file'. If
387 last_file is true, do not call bfd_close at the end of the
388 function.
389 (main): Set the value of the last_file parameter when calling
390 display_file.
391
392 2017-01-09 Alan Modra <amodra@gmail.com>
393
394 * readelf.c (process_section_headers): Correct .rel.dyn/.rela.dyn
395 comment.
396
397 2017-01-06 Nick Clifton <nickc@redhat.com>
398
399 * MAINTAINERS: Move Paul Brook to the Past Maintainers section.
400
401 2017-01-04 Dilan Palauzov <dilyan.palauzov@aegee.org>
402
403 PR 20958
404 * syslex.l (option): Add noyywrap
405 (yywrap): Delete.
406
407 2017-01-02 Alan Modra <amodra@gmail.com>
408
409 Update year range in copyright notice of all files.
410
411 For older changes see ChangeLog-2016
412 \f
413 Copyright (C) 2017 Free Software Foundation, Inc.
414
415 Copying and distribution of this file, with or without modification,
416 are permitted in any medium without royalty provided the copyright
417 notice and this notice are preserved.
418
419 Local Variables:
420 mode: change-log
421 left-margin: 8
422 fill-column: 74
423 version-control: never
424 End:
This page took 0.040161 seconds and 4 git commands to generate.