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