PR 21408, segfault in display_debug_lines_decoded
[deliverable/binutils-gdb.git] / binutils / ChangeLog
CommitLineData
f082820d
AM
12017-04-23 Alan Modra <amodra@gmail.com>
2
3 PR 21408
4 * dwarf.c (display_debug_lines_decoded): Don't segfault on NULL
5 file_table.
6
ddef72cd
NC
72017-04-21 Nick Clifton <nickc@redhat.com>
8
9 PR binutils/21378
10 * readelf.c (print_gnu_build_attribute_name): Check for an
11 overlarge name field.
12
7296a62a
NC
132017-04-13 Nick Clifton <nickc@redhat.com>
14
15 PR binutils/21379
16 * readelf.c (process_dynamic_section): Detect over large section
17 offsets in the DT_SYMTAB entry.
18
192017-04-13 Nick Clifton <nickc@redhat.com>
20
21 PR binutils/21345
22 * readelf.c (process_mips_specific): Catch an unfeasible memory
23 allocation before it happens and print a suitable error message.
24
1d15e434
NC
252017-04-13 Nick Clifton <nickc@redhat.com>
26
27 * objcopy.c: Add --no-merge-notes option to disable note merging.
28 Add --[no-]merge-notes option to strip, and enable it by default.
29 (num_bytes): New function.
30 (merge_gnu_build_notes): Add code to merge stack size notes.
31 * binutils.texi: Update strip and objcopy documentation.
32 * readelf.c (print_gnu_build_attribute_name): Use defined
33 constants for note types.
34
28d909e5
JD
352017-04-10 John Delsignor <john.delsignore@roguewave.com>
36
37 PR binutils/21319
38 * dwarf.c (display_gdb_index): Correct test for a corrupt address
39 table size.
40
0f65a5d8
JW
412017-04-05 Jiong Wang <jiong.wang@arm.com>
42
43 * objcopy.c (struct redefine_node): Delete the field "next".
44 (redefine_sym_list): Deleted.
45 (redefine_specific_htab): New hash table.
46 (redefine_specific_reverse_htab): Likewise.
47 (eq_string_redefnode): New function.
48 (htab_hash_redefnode): Likewise.
49 (create_symbol2redef_htab): Likewise.
50 (add_specific_symbol_node): Likewise.
51 (create_symbol_htabs): Create redefine_specific_htab and
52 redefine_specific_reverse_htab.
53 (lookup_sym_redefinition): Use hash table instead of list.
54 (redefine_list_append): Likewise, and rename to add_redefine_and_check.
55 (copy_main): Use redefine_specific_htab instead of redefine_sym_list.
56 Update comments.
57
a91e1603
L
582017-04-04 H.J. Lu <hongjiu.lu@intel.com>
59
60 * NEWS: Mention support for ELF SHF_GNU_MBIND and
61 PT_GNU_MBIND_XXX.
62 * readelf.c (get_segment_type): Handle PT_GNU_MBIND_XXX.
63 (get_elf_section_flags): Handle SHF_GNU_MBIND.
64 (process_section_headers): Likewise.
65 * testsuite/binutils-all/mbind1.s: New file.
66 * testsuite/binutils-all/objcopy.exp: Run readelf test on
67 mbind1.s.
68
82156ab7
NC
692017-04-03 Nick Clifton <nickc@redhat.com>
70
71 PR binutils/21345
72 * readelf.c (get_program_headers): Check for there being too many
73 program headers before attempting to allocate space for them.
74
75ec1fdb
NC
752017-04-03 Nick Clifton <nickc@redhat.com>
76
77 PR binutils/21344
78 * readelf.c (process_mips_specific): Check for an out of range GOT
79 entry before reading the module pointer.
80
f32ba729
NC
812017-04-03 Nick Clifton <nickc@redhat.com>
82
83 PR binutils/21343
84 * readelf.c (get_unwind_section_word): Fix snafu checking for
85 invalid word offsets in ARM unwind information.
86
efdf7a02
PC
872017-03-31 Pip Cet <pipcet@gmail.com>
88
89 * NEWS: Use "WebAssembly" consistently.
90 * testsuite/binutils-all/wasm32/wasm32.exp: Fix copyright notice.
91
f96bd6c2
PC
922017-03-30 Pip Cet <pipcet@gmail.com>
93
94 * readelf.c: Add support for wasm32 ELF format WebAssembly files.
95 (guess_is_rela): Likewise.
96 (dump_relocations): Likewise.
97 (is_32bit_abs_reloc): Likewise.
98 (is_none_reloc_): Likewise.
99 * NEWS: Mention the new support.
100 * testsuite/lib/binutils-common.exp (is_elf_format): Mark wasm32
101 as ELF target.
102 (supports_gnu_unique): Mark wasm32 as supporting STB_GNU_UNIQUE.
103 * testsuite/binutils-all/nm.exp: Mark wasm32 as requiring .size annotations.
104 * testsuite/binutils-all/wasm32: New directory.
105 * testsuite/binutils-all/wasm32/create-wasm.d: New file.
106 * testsuite/binutils-all/wasm32/create-wasm.s: Likewise.
107 * testsuite/binutils-all/wasm32/custom-section.d: Likewise.
108 * testsuite/binutils-all/wasm32/custom-section.s: Likewise.
109 * testsuite/binutils-all/wasm32/invalid-wasm-1.d: Likewise.
110 * testsuite/binutils-all/wasm32/invalid-wasm-1.s: Likewise.
111 * testsuite/binutils-all/wasm32/long-sections.d: Likewise.
112 * testsuite/binutils-all/wasm32/long-sections.s: Likewise.
113 * testsuite/binutils-all/wasm32/parse-wasm.d: Likewise.
114 * testsuite/binutils-all/wasm32/parse-wasm.s: Likewise.
115 * testsuite/binutils-all/wasm32/parse-wasm-2.d: Likewise.
116 * testsuite/binutils-all/wasm32/parse-wasm-2.s: Likewise.
117 * testsuite/binutils-all/wasm32/prepared-section.d: Likewise.
118 * testsuite/binutils-all/wasm32/prepared-section.s: Likewise.
119 * testsuite/binutils-all/wasm32/wasm32.exp: New file, run tests.
120
52be03fd
AM
1212017-03-29 Alan Modra <amodra@gmail.com>
122
123 * doc/binutils.texi (objdump): Document PowerPC -M options.
124
4a14e306
AK
1252017-03-21 Andi Kleen <ak@linux.intel.com>
126
127 * objdump.c (unwind_inlines): Add.
128 (option_values): Add OPTION_INLINES.
129 (show_line): Unwind inlines if requested.
130 (main): Parse OPTION_INLINES.
131 (usage): Document --inlines.
132 * doc/binutils.texi: Document --inlines.
133 * NEWS: Likewise.
134
75d7d298
NC
1352017-03-21 Nick Clifton <nickc@redhat.com>
136
137 * readelf.c (print_gnu_build_attribute_name): Allow stack
138 protection notes to contain numeric values. Use a colon rather
139 than a space to separate a string name from its values. Decode
140 the numeric value of a stack protection note.
141 * objcopy.c (merge_gnu_build_notes): Allow version notes to
142 contain extra text after the protocol version number.
143
39e224f6
MW
1442017-03-20 Mark Wielaard <mark@klomp.org>
145
146 * readelf.c (process_program_headers): Move dynamic_addr check
147 after .dynamic section cross check.
148
0dd6ae21
NC
1492017-03-17 Nick Clifton <nickc@redhat.com>
150
151 * readelf.c (print_gnu_build_attribute_name): Fix off by one error
152 printing the value for a build note with an ascii name.
153
a8be5506
NC
1542017-03-16 Nick Clifton <nickc@redhat.com>
155
156 * readelf.c (print_gnu_build_attribute_name): Add support for
157 GNU_BUILD_ATTRIBUTE_SHORT_ENUM.
158
c799a79d
NC
1592017-03-14 Nick Clifton <nickc@redhat.com>
160
161 * readelf.c (print_gnu_build_attribute_description): Move symbol
162 printing code to...
163 (print_symbol_for_build_attribute): New function. ...here.
164 Add to find the best symbol to associate with an OPEN note.
165 Add code to cache the symbol table and string table, so that they
166 are not loaded every time a note is displayed.
167 * testsuite/binutils-all/note-2-32.s: Add a function symbol.
168 * testsuite/binutils-all/note-2-64.s: Likewise.
169 * testsuite/binutils-all/note-2-32.d: Update expected note output.
170 * testsuite/binutils-all/note-2-64.d: Likewise.
171
5ef2d51b
AM
1722017-03-13 Alan Modra <amodra@gmail.com>
173 Taeung Song <treeze.taeung@gmail.com>
174
175 * objdump.c (update_source_path): Add abfd param. Add struct
176 stat var. Pass to try_print_file_open. Warn if source is more
177 recent than object.
178 (try_print_file_open, slurp_file): Add struct stat param to
179 return fstat.
180 (show_line): Call update_source_path with bfd.
181
7b5d4822
CHL
1822017-03-10 Chia-Hao Lo <fcamel@gmail.com>
183
184 PR binutils/21235
185 * objdump.c (main): Set do_wide with --wide.
186
55e22ca8
NC
1872017-03-10 Nick Clifton <nickc@redhat.com>
188
189 * readelf.c (get_machine_name): Rearrange switch table in order of
190 increasing machine number. Add missing entries.
191
1fc87489
L
1922017-03-08 H.J. Lu <hongjiu.lu@intel.com>
193
194 PR binutils/21231
195 * readelf.c (decode_x86_isa): Change argument to unsigned int.
196 (print_gnu_property_note): Retrieve property type and datasz as
197 4-byte integer. Consolidate property datasz check. Check
198 GNU_PROPERTY_LOPROC and GNU_PROPERTY_LOUSER.
199 * testsuite/binutils-all/i386/pr21231a.d: New file.
200 * testsuite/binutils-all/i386/pr21231a.s: Likewise.
201 * testsuite/binutils-all/i386/pr21231b.d: Likewise.
202 * testsuite/binutils-all/i386/pr21231b.s: Likewise.
203 * testsuite/binutils-all/x86-64/pr21231a.d: Likewise.
204 * testsuite/binutils-all/x86-64/pr21231a.s: Likewise.
205 * testsuite/binutils-all/x86-64/pr21231b.d: Likewise.
206 * testsuite/binutils-all/x86-64/pr21231b.s: Likewise.
207
79a964dc
NC
2082017-03-06 Nick Clifton <nickc@redhat.com>
209
210 * readelf.c (print_gnu_build_attribute_name): Read byte values
211 from the name string as unsigned bytes.
212 (process_notes_at): Use memcpy to copy an unterminated name
213 string.
214
1f5345a6
ST
2152017-03-06 Sam Thursfield <sam.thursfield@codethink.co.uk>
216
217 * configure.ac (AC_CHECK_DECLS): Add asprintf.
218 * config.in: Regenerate.
219 * configure: Regenerate.
220
c871dade
NC
2212017-03-02 Nick Clifton <nickc@redhat.com>
222
223 * readelf.c (print_gnu_build_attribute_description): Use global
224 symbols for OPEN attributes if at all possible.
05ed4310
NC
225 * objcopy.c (is_merged_note_section): Support build note sections
226 without the SHF_GNU_BUILD_NOTE section flag set.
c871dade 227
b451e98a
JK
2282017-03-02 Jan Kratochvil <jan.kratochvil@redhat.com>
229
230 * dwarf.c (debug_displays_assert): New static assertion.
231
d4620bee
JK
2322017-03-02 Jan Kratochvil <jan.kratochvil@redhat.com>
233
234 * dwarf.h (enum dwarf_section_display_enum): Add loclists and rnglists.
235
9ef920e9
NC
2362017-03-01 Nick Clifton <nickc@redhat.com>
237
238 * readelf.c (get_note_type): Add support for GNU_BUILD_NOTEs.
239 (get_gnu_elf_note_type): Add support for GNU_PROPERTY_NOTEs.
240 (decode_x86_isa): New function.
241 (print_gnu_property_note): New function.
242 (print_gnu_note): Handle GNU_PROPERTY_NOTEs.
243 (print_gnu_build_attribute_description): New function.
244 (print_gnu_build_attribute_name): New function.
245 (process_note): Add support for GNU_BUILD_NOTEs.
246 * objcopy.c (--merge-notes): New command line option.
247 (copy_options): Add merge-notes.
248 (copy_usage): Likewise.
249 (is_merge_note_section): New function.
250 (merge_gnu_build_notes): New function.
251 (copy_object): Merge note sections if asked to do so.
252 (skip_section): Add skip_copy parameter. Add support for skipping
253 merged note sections.
254 (copy_relocations_in_section): Update call to skip_section.
255 (copy_section): Likewise.
256 (copy_main): Add support for merge-notes option.
257 * doc/binutils.texi: Document the new option to objcopy.
258 * NEWS: Mention the new feature.
259 * testsuite/binutils-all/note-2-32.d: New test. Checks note
260 merging on 32-bit targets.
261 * testsuite/binutils-all/note-2-32.s: New test source file.
262 * testsuite/binutils-all/note-2-64.d: New test. Like note-2-32.d
263 but for 64-bit targets.
264 * testsuite/binutils-all/note-2-64.s: New test source file.
265 * testsuite/binutils-all/objcopy.exp: Run the new test.
266
65b48a81
PB
2672017-02-28 Peter Bergner <bergner@vnet.ibm.com>
268
269 * objdump.c (main): Use remove_whitespace_and_extra_commas.
270
9dfd0db9
JK
2712017-02-27 Jan Kratochvil <jan.kratochvil@redhat.com>
272
273 Fix compilation with GCC 4.4.7.
274 * dwarf.c (display_loclists_list, display_debug_rnglists_list):
275 Initialize begin and end.
276
3b83ea38
AM
2772017-02-25 Alan Modra <amodra@gmail.com>
278
279 * testsuite/binutils-all/dw5.S: Replace .string with .asciz.
280 Support hpux .comm variant.
281 * testsuite/binutils-all/readelf.exp: Define HPUX when assembling
282 dw5 test for hppa64-hpux.
283
32ec8896
NC
2842017-02-24 Nick Clifton <nickc@redhat.com>
285
286 * readelf.c (show_name, do_dynamic, do_syms, do_dyn_syms,
287 (do_reloc, do_sections, do_section_groups, do_section_details,
288 (do_segments, do_unwind, do_using_dynamic, do_header, do_dump,
289 (do_version, do_histogram, do_debugging, do_arch, do_notes,
290 (do_archive_index, is_32bit_elf, decompress_dumps): Use
291 bfd_boolean type.
292 (parse_args): Treat the do_* variables as booleans.
293 (print_vma): Return an unsigned int.
294 (print_symbol): Change width parameter to signed int.
295 (is_ia64_vms): Change return type to bfd_boolean.
296 (guess_is_rela): Likewise.
297 (slurp_rela_relocs): Likewise.
298 (slurp_rel_relocs): Likewise.
299 (dump_relocations): Likewise.
300 (process_file_header): Likewise.
301 (get_program_headers): Likewise.
302 (process_program_headers): Likewise.
303 (process_section_headers): Likewise.
304 (process_section_groups): Likewise.
305 (dump_ia64_vms_dynamic_fixups): Likewise.
306 (dump_ia64_vms_dynamic_relocs): Likewise.
307 (process_ia64_vms_dynamic_relocs): Likewise.
308 (process_relocs): Likewise.
309 (dump_ia64_unwind): Likewise.
310 (ia64_process_unwind): Likewise.
311 (dump_hppa_unwind): Likewise.
312 (slurp_hppa_unwind_table): Likewise.
313 (hppa_process_unwind): Likewise.
314 (decode_arm_unwind_bytecode): Likewise.
315 (decode_tic6x_unwind_bytecode): Likewise.
316 (decode_arm_unwind): Likewise.
317 (dump_arm_unwind): Likewise.
318 (arm_process_unwind): Likewise.
319 (process_unwind): Likewise.
320 (get_32bit_dynamic_section): Likewise.
321 (get_64bit_dynamic_section): Likewise.
322 (process_dynamic_section): Likewise.
323 (process_version_sections): Likewise.
324 (process_symbol_table): Likewise.
325 (process_syminfo): Likewise.
326 (apply_relocations): Likewise.
327 (disassemble_section): Likewise.
328 (dump_section_as_strings): Likewise.
329 (dump_section_as_bytes): Likewise.
330 (load_specific_debug_section): Likewise.
331 (load_debug_section): Likewise.
332 (display_debug_section): Likewise.
333 (process_section_contents): Likewise.
334 (process_attributes): Likewise.
335 (process_nds32_specific): Likewise.
336 (process_gnu_liblist): Likewise.
337 (print_core_note): Likewise.
338 (print_gnu_note): Likewise.
339 (print_v850_note): Likewise.
340 (process_netbsd_elf_note): Likewise.
341 (print_stapsdt_note): Likewise.
342 (print_ia64_vms_note): Likewise.
343 (process_note): Likewise.
344 (process_notes_at): Likewise.
345 (process_corefile_note_segments): Likewise.
346 (process_v850_notes): Likewise.
347 (process_note_sections): Likewise.
348 (process_notes): Likewise.
349 (process_arch_specific): Likewise.
350 (get_file_header): Likewise.
351 (process_object): Likewise.
352 (process_archive): Likewise.
353 (process_file): Likewise.
354 (section_subset): Make static.
355 (get_mips_reg_size): Return a signed integer.
356 (process_object): Reverse the logic of the return value.
357 (process_archive): Likewise.
358 (process_file): Likewise.
6b4bf3bc
NC
359 (process_program_headers): Fix snafu - if the program headers are
360 not available then this is not a cause to fail.
361 (process_corefile_note_segments): Likewise.
32ec8896 362
7bb1ad17
MR
3632017-02-24 Maciej W. Rozycki <macro@imgtec.com>
364
365 * readelf.c (get_ver_flags): Tidy the formatting of the string
366 returned
367
5235cd68
MR
3682017-02-24 Maciej W. Rozycki <macro@imgtec.com>
369
370 * readelf.c (process_version_sections) <SHT_GNU_verdef>: Make
371 `isum' unsigned.
372 <SHT_GNU_verneed>: Likewise.
373
c9f02c3e
MR
3742017-02-24 Maciej W. Rozycki <macro@imgtec.com>
375
376 * readelf.c (process_version_sections) <SHT_GNU_verdef>: Limit
377 the number of entries processed by the section size. Don't
378 break out of the loop if `ent.vd_next' is 0.
379
a567769b
JK
3802017-02-23 Jan Kratochvil <jan.kratochvil@redhat.com>
381
382 * testsuite/binutils-all/dw5.S: New file.
383 * testsuite/binutils-all/dw5.W: New file.
384 * testsuite/binutils-all/readelf.exp (readelf -wiaoRlL): New test.
385
2f6cd591
JK
3862017-02-23 Jan Kratochvil <jan.kratochvil@redhat.com>
387
388 * dwarf.c (read_and_display_attr_value): Support DW_FORM_data16.
389
7a7e1061
JK
3902017-02-23 Jan Kratochvil <jan.kratochvil@redhat.com>
391
392 * dwarf.c (display_debug_macro): Support DWARF-5. Rename
393 DW_MACRO_GNU_*.
394
bc0a77d2
JK
3952017-02-23 Jan Kratochvil <jan.kratochvil@redhat.com>
396
397 * dwarf.c (decode_location_expression): Support DW_OP_implicit_pointer,
398 DW_OP_const_type, DW_OP_regval_type, DW_OP_deref_type, DW_OP_convert
399 and DW_OP_reinterpret.
400 (read_and_display_attr_value): Support DW_AT_call_value,
401 DW_AT_call_data_value, DW_AT_call_target and
402 DW_AT_call_target_clobbered.
403
77145576
JK
4042017-02-23 Jan Kratochvil <jan.kratochvil@redhat.com>
405
406 * dwarf.c (fetch_indirect_line_string): New function.
407 (abbrev_attr): New field implicit_const.
408 (add_abbrev_attr): New parameter implicit_const.
409 (process_abbrev_section): Support DW_FORM_implicit_const.
410 (decode_location_expression): Support DW_OP_entry_value.
411 (read_and_display_attr_value): Add parameter implicit_const. Support
412 DW_FORM_line_strp and DW_FORM_implicit_const.
413 (read_and_display_attr): Add parameter implicit_const.
414 (process_debug_info): Support line_str and DWARF-5.
415 (read_debug_line_header): Support DWARF-5.
416 (display_formatted_table): New function.
417 (display_debug_lines_raw): New parameter file. Support DWARF-5.
418 (display_debug_lines_decoded): New parameter fileptr. Support DWARF-5.
419 (display_debug_lines): Pass file parameter.
420 (display_debug_macro): Update read_and_display_attr_value caller.
421 (display_debug_abbrev): Support DW_FORM_implicit_const.
422 (display_loclists_list): New function.
423 (display_loc_list): Support .debug_loclists.
424 (display_debug_ranges_list): New function from display_debug_ranges.
425 (display_debug_rnglists_list): New function.
426 (display_debug_ranges): Support .debug_rnglists.
427 (debug_displays): Add .debug_line_str, .debug_loclists and
428 .debug_rnglists.
429 * dwarf.h: Include dwarf2.h
430 (DWARF2_Internal_LineInfo): Add li_offset_size.
431 (DWARF2_Internal_CompUnit): Add cu_unit_type.
432 (enum dwarf_section_display_enum): Add line_str.
433 * readelf.c (process_section_headers): Add rnglists and loclists.
434
ef0b5f1c
JK
4352017-02-23 Jan Kratochvil <jan.kratochvil@redhat.com>
436
437 * dwarf.c (display_block): Add parameter delimiter.
438 (decode_location_expression): Update display_block callers.
439 (read_and_display_attr_value): Add parameter delimiter.
440 (read_and_display_attr, display_debug_macro): Update
441 read_and_display_attr_value caller.
442
359ca075
JK
4432017-02-23 Jan Kratochvil <jan.kratochvil@redhat.com>
444
445 * dwarf.c (display_loc_list): Use dwarf_vma for offset, base_address
446 and off.
447 (display_loc_list_dwo): Use dwarf_vma for offset.
448 (display_debug_loc): Use dwarf_vma for offset, base_address.
449 (struct range_entry, range_entry_compar): Use dwarf_vma for
450 ranges_offset.
451 (display_debug_ranges): Use dwarf_vma for ranges_offset, offset and
452 base_address.
453
60abdbed
NC
4542017-02-23 Nick Clifton <nickc@redhat.com>
455
456 * readelf.c (display_tag_value): Use an explicit signed type for
457 the tag parameter.
458 (display_gnu_attributes): Use an unsigned integer type for
459 attribute tags.
460 (display_power_gnu_attribute): Likewise.
461 (display_s390_gnu_attribute): Likewise.
462 (display_sparc_hwcaps): Likewise.
463 (display_sparc_hwcaps2): Likewise.
464 (display_sparc_gnu_attribute): Likewise.
465 (display_mips_gnu_attribute): Likewise.
466 (display_tic6x_attribute): Likewise.
467 (display_raw_attribute): Likewise.
468 (process_attributes): Likewise.
469 (process_arm_specific): Delete redundant function.
470 (process_power_specific): Likewise.
471 (process_s390_specific): Likewise.
472 (process_sparc_specific): Likewise.
473 (process_tic6x_specific): Likewise.
474 (process_msp430x_specific): Likewise.
475 (display_public_gnu_attributes): New function. Displays known
476 information about an unknown gnu attribute.
477 (display_generic_attribute): New function. Calls
478 display_tag_value for non-nul tags.
479 (process_arch_specific): Call process_attributes even for
480 architectures not known to specifically support gnu attributes.
481
0502a2b4
JK
4822017-02-22 Jan Kratochvil <jan.kratochvil@redhat.com>
483
484 * dwarf.c (decode_location_expression): Display also OP.
485
233f82cf
MR
4862017-02-22 Maciej W. Rozycki <macro@imgtec.com>
487
488 * readelf.c (process_version_sections) <SHT_GNU_verdef>: Print a
489 new line between the heading and the first version definition
490 entry.
491
43a444f9
NC
4922017-02-20 Nick Clifton <nickc@redhat.com>
493
494 PR binutils/21156
495 * dwarf.c (cu_tu_indexes_read): Move into...
496 (load_cu_tu_indexes): ... here. Change the variable into
497 tri-state. Change the function into boolean, returning
498 false if the indicies could not be loaded.
499 (find_cu_tu_set): Return NULL if the indicies could not be
500 loaded.
501
b814a36d
NC
5022017-02-17 Nick Clifton <nickc@redhat.com>
503
504 PR binutils/21156
505 * readelf.c (find_section_in_set): Test for invalid section
506 indicies.
507
1b4b80bf
NC
5082017-02-17 Nick Clifton <nickc@redhat.com>
509
510 * readelf.c (get_section_type_name): Add decoding of GNU section
511 types.
512
7c723eec
NC
5132017-02-15 Nick Clifton <nickc@redhat.com>
514
515 * MAINTAINERS: (MIPS, MN10300): Move Eric Christopher to Past
516 Maintainers section.
517
bc303e5d
NC
5182017-02-14 Nick Clifton <nickc@redhat.com>
519
520 PR binutils/21159
521 * readelf.c (dump_section_as_strings): Reset the start address if
522 no decompression is perfromed.
523 (dump_section_as_bytes): Likewise.
524
92134dc1
NC
5252017-02-14 Nick Clifton <nickc@redhat.com>
526
527 PR binutils/21158
528 * rddbg.c (read_symbol_stabs_debugging_info): Check for a null or
529 empty symbol name.
530
a2dea0b2
NC
5312017-02-14 Nick Clifton <nickc@redhat.com>
532
533 PR binutils/21157
534 * stabs.c (parse_stab_enum_type): Check for corrupt NAME:VALUE
535 pairs.
536 (parse_number): Exit early if passed an empty string.
537
b32e566b
NC
5382017-02-14 Nick Clifton <nickc@redhat.com>
539
540 PR binutils/21155
541 * readelf.c (IN_RANGE): New macro. Tests for an address + offset
542 being within a given range.
543 (target_specific_reloc_handling): Use macro to test for underflow
544 as well as overflow of reloc offset.
545
c1221402
NC
5462017-02-13 Nick Clifton <nickc@redhat.com>
547
548 PR binutils/21150
549 * nm.c (file_symbol): Add test of string length before testing
550 string characters.
551
f055032e
NC
5522017-02-13 Nick Clifton <nickc@redhat.com>
553
554 PR binutils/21135
555 * readelf.c (dump_section_as_bytes): Handle the case where
556 uncompress_section_contents returns false.
1835f746 557 (dump_section_as_bytes, load_specific_debug_section): Likewise.
f055032e 558
ebdf1ebf
NC
5592017-02-13 Nick Clifton <nickc@redhat.com>
560
561 PR binutils/21149
562 * readelf.c (get_compression_header): Add size parameter. Check
563 size against sizeof compression header before attempting to
564 extract the header.
565 (process_section_headers): Pass size to get_compression_header.
566 (dump_section_as_strings): Likewise.
567 (dump_section_as_bytes): Likewise.
568 (load_specific_debug_section): Likewise.
569
4aeb00ad
NC
5702017-02-13 Nick Clifton <nickc@redhat.com>
571
572 PR binutils/21148
573 * readelf.c (process_version_sections): Include size of auxillary
574 version information when checking for buffer overflow.
575
0ee3043f
NC
5762017-02-13 Nick Clifton <nickc@redhat.com>
577
578 PR binutils/21147
579 * readelf.c (process_section_contents): Fix off by one error
580 reporting un-dumped sections.
581
f84ce13b
NC
5822017-02-13 Nick Clifton <nickc@redhat.com>
583
584 PR binutils/21139
585 * readelf.c (target_specific_reloc_handling): Add num_syms
586 parameter. Check for symbol table overflow before accessing
587 symbol value. If reloc pointer is NULL, discard all saved state.
588 (apply_relocations): Pass num_syms to target_specific_reloc_handling.
589 Call target_specific_reloc_handling with a NULL reloc pointer
590 after processing all of the relocs.
591
03f7786e
NC
5922017-02-13 Nick Clifton <nickc@redhat.com>
593
594 PR binutils/21137
595 * readelf.c (target_specific_reloc_handling): Add end parameter.
596 Check for buffer overflow before writing relocated values.
597 (apply_relocations): Pass end to target_specific_reloc_handling.
598
387dd777
DP
5992017-01-27 Dilyan Palauzov <dilyan.palauzov@aegee.org>
600 Nick Clifton <nickc@redhat.com>
601
602 PR 20343
603 * doc/binutils.texi (ar): Extend documentation of the --plugin
604 option. Include a description of where the plugins should be
605 located.
606 (nm): Likewise.
607
cf581a9b
NC
6082017-01-23 Nick Clifton <nickc@redhat.com>
609
610 * MAINTAINERS: Add Bernd to Past Maintainers section.
c49f9d0f 611 (SCORE): Remove Mei Ligang as maintainer. Add to Past Maintainers
71d01c69 612 section.
cf581a9b 613
715e99a4
BS
6142017-01-23 Bernd Schmidt <bschmidt@redhat.com>
615
616 * MAINTAINERS (BFIN): Remove myself as Blackfin maintainer.
617
1737c640
AB
6182017-01-20 Andrew Burgess <andrew.burgess@embecosm.com>
619
620 * objdump.c (dump_section_header): Extract max section name length
621 from data parameter, use this when formatting output.
622 (find_longest_section_name): New function.
623 (dump_headers): Calculate longest section name when in wide mode,
624 reformat to unify printing of header line.
625
2cedb9eb
BR
6262017-01-18 Bernhard Rosenkranzer <bero@lindev.ch>
627
628 PR 21059
629 * arlex.l: Support processing with flex 2.6.3.
630 * deflex.l: Likewise.
631
6bb21700
DT
6322017-01-17 Dmitry Timoshkov <dmitry@baikal.ru>
633
634 * resbin.c: Optional dialog control data immediately follows
635 the control description without alignment.
636 * testsuite/binutils-all/windres/controldata.rc: New test.
637 source.
638 * testsuite/binutils-all/windres/controldata.rsd: New test.
639
2425a30e
NC
6402017-01-12 Nick Clifton <nickc@redhat.com>
641
642 PR binutils/20876
643 * NEWS: Mention the new feature.
644 * testsuite/binutils-all/objdump.exp (test_build_id_debuglink):
645 New proc to test the location of separate debug info files using
646 the build-id method.
647
b972a0d6
NC
6482017-01-10 Nick Clifton <nickc@redhat.com>
649
650 PR 21034
651 * stabs.c (parse_stab_members): Fix thinko checking for g++
652 version 1 stabs information.
653
cd6581da
NC
6542017-01-09 Nick Clifton <nickc@redhat.com>
655
656 * objdump.c (display_file): Add new parameter 'last_file'. If
657 last_file is true, do not call bfd_close at the end of the
658 function.
659 (main): Set the value of the last_file parameter when calling
660 display_file.
661
4d74727a
AM
6622017-01-09 Alan Modra <amodra@gmail.com>
663
664 * readelf.c (process_section_headers): Correct .rel.dyn/.rela.dyn
665 comment.
666
fd13a84b
NC
6672017-01-06 Nick Clifton <nickc@redhat.com>
668
669 * MAINTAINERS: Move Paul Brook to the Past Maintainers section.
670
b0556316
DP
6712017-01-04 Dilan Palauzov <dilyan.palauzov@aegee.org>
672
673 PR 20958
674 * syslex.l (option): Add noyywrap
675 (yywrap): Delete.
676
2571583a
AM
6772017-01-02 Alan Modra <amodra@gmail.com>
678
679 Update year range in copyright notice of all files.
680
5c1ad6b5 681For older changes see ChangeLog-2016
3499769a 682\f
5c1ad6b5 683Copyright (C) 2017 Free Software Foundation, Inc.
3499769a
AM
684
685Copying and distribution of this file, with or without modification,
686are permitted in any medium without royalty provided the copyright
687notice and this notice are preserved.
688
689Local Variables:
690mode: change-log
691left-margin: 8
692fill-column: 74
693version-control: never
694End:
This page took 0.101446 seconds and 4 git commands to generate.