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