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