1 2018-08-25 H.J. Lu <hongjiu.lu@intel.com>
4 * readelf.c (get_symbol_version_string): Return _("<corrupt>")
5 for corrupt symbol version info.
7 2018-08-24 H.J. Lu <hongjiu.lu@intel.com>
9 * readelf.c (decode_x86_compat_isa): New function.
10 (decode_x86_feature_2): Likewise.
11 (decode_x86_isa): Updated for new X86_ISA_1_XXX bits.
12 (decode_x86_feature): Renamed to ...
13 (decode_x86_feature_1): This. Remove the type argument.
14 (print_gnu_property_note): Handle X86_COMPAT_ISA_1_USED,
15 X86_COMPAT_ISA_1_NEEDED, X86_UINT32_AND_LO, X86_UINT32_AND_HI,
16 X86_UINT32_OR_LO, X86_UINT32_OR_HI, X86_UINT32_OR_AND_LO and
17 X86_UINT32_OR_AND_HI instead of X86_ISA_1_USED, X86_ISA_1_NEEDED
18 and X86_FEATURE_1_AND.
19 * testsuite/binutils-all/i386/pr21231b.s: Updated to the current
20 GNU_PROPERTY_X86_ISA_1_USED and GNU_PROPERTY_X86_ISA_1_NEEDED
22 * testsuite/binutils-all/x86-64/pr21231b.s: Likewise.
23 * testsuite/binutils-all/x86-64/pr23494a.s: Likewise.
24 * testsuite/binutils-all/x86-64/pr23494b.s: Likewise.
25 * testsuite/binutils-all/x86-64/pr23494c.s: Likewise.
26 * testsuite/binutils-all/i386/pr21231b.d: Updated.
27 * testsuite/binutils-all/x86-64/pr21231b.d: Likewise.
28 * testsuite/binutils-all/x86-64/pr23494a-x32.d: Likewise.
29 * testsuite/binutils-all/x86-64/pr23494a.d: Likewise.
30 * testsuite/binutils-all/x86-64/pr23494c-x32.d: Likewise.
31 * testsuite/binutils-all/x86-64/pr23494c.d: Likewise.
32 * testsuite/binutils-all/x86-64/pr23494d-x32.d: Likewise.
33 * testsuite/binutils-all/x86-64/pr23494d.d: Likewise.
34 * testsuite/binutils-all/x86-64/pr23494e-x32.d: Likewise.
35 * testsuite/binutils-all/x86-64/pr23494e.d: Likewise.
37 2018-08-24 H.J. Lu <hongjiu.lu@intel.com>
39 * readelf.c (print_gnu_property_note): Check the
40 GNU_PROPERTY_X86_UINT32_VALID bit for invalid GNU property note.
42 2018-08-23 Alan Modra <amodra@gmail.com>
44 * readelf.c (get_ppc64_symbol_other): Return NULL if st_other
45 field contains unrecognised or reserved values. Handle
48 2018-08-23 H.J. Lu <hongjiu.lu@intel.com>
51 * Makefile.am (development.exp): New target.
52 (EXTRA_DEJAGNU_SITE_CONFIG): New.
53 (DISTCLEANFILES): Add development.exp.
54 * Makefile.in: Regenerated.
55 * testsuite/binutils-all/objcopy.exp (strip_test): Call
56 prune_warnings to prune BFD output.
57 (strip_test_with_saving_a_symbol): Likewise.
58 (objcopy_test_without_global_symbol): Likewise.
59 * testsuite/lib/binutils-common.exp (prune_warnings_extra):
61 (prune_warnings): Likewise.
63 2018-08-23 H.J. Lu <hongjiu.lu@intel.com>
65 * README-how-to-make-a-release: Document setting "experimental"
68 2018-08-22 Alan Modra <amodra@gmail.com>
70 * readelf.c (process_file_header): Assign updated values from
71 section_header[0] fields to e_phnum, e_shnum and e_shstrndx
72 during printing of header. Correct e_shstrndx range check.
73 Remove unnecessary casts and use %u rather than %ld for
74 unsigned int header fields. Don't print a random %lx when
75 reporting an unknown EI_VERSION.
77 2018-08-21 Nick Clifton <nickc@redhat.com>
79 * MAINTAINERS: Note that Arnold Metselaar has retired as the z80
82 2018-08-21 L. Simon <l.simon@samsung.com>
85 * readelf.c (hppa_process_unwind): Only dump the unwind table if
86 the data was successfully read in.
88 2018-08-18 Alan Modra <amodra@gmail.com>
90 * testsuite/lib/binutils-common.exp (is_elf64): Use directory of
91 input file for readelf.out.
93 * testsuite/binutils-all/objcopy.exp (elf64): Set new variable
94 from first result of is_elf64 test.
95 (reloc_format): Set using is_rela.
96 (strip-13): Pass RELOC and ELF64 to assembler.
97 (strip-14, strip-15): Use elf64 rather than calling is_elf64 again.
98 * testsuite/binutils-all/strip-13.d: Run for more targets.
99 * testsuite/binutils-all/strip-13mips64.s: Use RELOC and set
101 * testsuite/binutils-all/strip-13rel.s: Use RELOC and ELF64.
102 Don't add _NONE reloc.
103 * testsuite/binutils-all/strip-13rela.s: Likewise.
105 2018-08-10 H.J. Lu <hongjiu.lu@intel.com>
108 * testsuite/binutils-all/x86-64/pr23494c.s: New file.
109 * testsuite/binutils-all/x86-64/pr23494e-x32.d: Likewise.
110 * testsuite/binutils-all/x86-64/pr23494e.d: Likewise.
112 2018-08-10 H.J. Lu <hongjiu.lu@intel.com>
114 * testsuite/binutils-all/x86-64/pr23494a-x32.d: Skip nacl
116 * testsuite/binutils-all/x86-64/pr23494a.d: Likewise.
117 * testsuite/binutils-all/x86-64/pr23494b-x32.d: Likewise.
118 * testsuite/binutils-all/x86-64/pr23494b.d: Likewise.
119 * testsuite/binutils-all/x86-64/pr23494c-x32.d: Likewise.
120 * testsuite/binutils-all/x86-64/pr23494c.d: Likewise.
121 * testsuite/binutils-all/x86-64/pr23494d-x32.d: Likewise.
122 * testsuite/binutils-all/x86-64/pr23494d.d: Likewise.
124 2018-08-08 H.J. Lu <hongjiu.lu@intel.com>
127 * testsuite/binutils-all/x86-64/pr23494a-x32.d: New file.
128 * testsuite/binutils-all/x86-64/pr23494a.d: Likewise.
129 * testsuite/binutils-all/x86-64/pr23494a.s: Likewise.
130 * testsuite/binutils-all/x86-64/pr23494b-x32.d: Likewise.
131 * testsuite/binutils-all/x86-64/pr23494b.d: Likewise.
132 * testsuite/binutils-all/x86-64/pr23494b.s: Likewise.
133 * testsuite/binutils-all/x86-64/pr23494c-x32.d: Likewise.
134 * testsuite/binutils-all/x86-64/pr23494c.d: Likewise.
135 * testsuite/binutils-all/x86-64/pr23494d-x32.d: Likewise.
136 * testsuite/binutils-all/x86-64/pr23494d.d: Likewise.
138 2018-08-08 Kevin Buettner <kevinb@redhat.com>
140 * dwarf.c (decode_location_expresion): Add case for
141 DW_OP_GNU_variable_value.
143 2018-08-06 Claudiu Zissulescu <claziss@synopsys.com>
145 * readelf.c (display_arc_attribute): Print Tag_ARC_ATR_version.
147 2018-08-03 Nick Clifton <nickc@redhat.com>
149 * objcopy.c (merge_gnu_build_notes): Delete empty notes. Merge
150 identical function notes.
152 2018-08-01 Nick Clifton <nickc@redhat.com>
154 * README-how-to-make-a-release: Add note about regenerating the
155 info files prior to the release.
157 2018-07-30 Andrew Jenner <andrew@codesourcery.com>
159 * MAINTAINERS (C-SKY): Add Yunhai Shang as co-maintainer.
161 2018-07-30 Andrew Jenner <andrew@codesourcery.com>
163 * MAINTAINERS (C-SKY): Add Lifang Xia as maintainer.
165 2018-07-30 Andrew Jenner <andrew@codesourcery.com>
167 * readelf.c: Include elf/csky.h.
168 (guess_is_rela): Handle EM_CSKY.
169 (dump_relocations): Likewise.
170 (get_machine_name): Likewise.
171 (is_32bit_abs_reloc): Likewise.
173 2018-07-25 Nick Clifton <nickc@redhat.com>
175 * rdcoff.c (parse_coff_struct_type): Free fields array upon early
177 (parse_coff_enum_type): Free names and vals arrays upon early
179 * rddbg.c (read_section_stabs_debugging_info): Free shandle and
180 strings and stabs arrays upon early exit.
181 * readelf.c (get_32bit_section_headers): Free shdrs structure upon
183 (get_64bit_section_headers): Likewise.
184 (get_32bit_elf_symbols): Generate an error if multiple symbol
185 table index sections are associated with the same symbol section.
186 (get_64bit_elf_symbols): Likewise.
187 (process_dynamic_section): Generate an error if there are multiple
188 dynamic symbol table sections, multiple dynamic string tables or
189 multiple dynamic symbol information sections.
191 2018-07-24 Nick Clifton <nickc@redhat.com>
193 * po/sv.po: Updated Swedish translation.
195 2018-07-24 Alan Modra <amodra@gmail.com>
198 * dwarf.c (display_formatted_table): Replace "what" parameter
199 with "is_dir". Expand messages. Fix capitalisation.
200 * testsuite/binutils-all/dw5.W: Update expected output.
202 2018-07-24 Alan Modra <amodra@gmail.com>
205 * elfcomm.h (struct archive_info): Rename uses_64bit_indicies
206 to uses_64bit_indices.
207 * elfcomm.c (setup_archive): Update uses of above.
208 * readelf.c (process_archive): Likewise.
209 (get_section_type_name): Rename indicies to indices.
210 (get_32bit_elf_symbols, get_64bit_elf_symbols): Likewise.
211 (process_section_groups): Likewise.
213 2018-07-20 Maciej W. Rozycki <macro@mips.com>
215 * MAINTAINERS: Update my e-mail address, downgrade to MIPS I-IV
218 2018-07-20 Nick Clifton <nickc@redhat.com>
220 * objcopy.c (add_specific_symbols): Free buffer on exit.
221 (add_redefine_syms_file): Close file handle on exit.
222 (copy_object): Close file handle on early exit.
223 Free buffer on early exit.
224 Free gaps buffers once they are no longer needed.
225 * dwarf.c (display_debug_frames): Free allocated memory on exit.
226 (load_separate_debug_info): Free allocate memory on early exit.
228 2018-07-20 Chenghua Xu <paul.hua.gm@gmail.com>
229 Maciej W. Rozycki <macro@mips.com>
231 * readelf.c (print_mips_ases): Add MMI extension.
233 2018-07-19 DJ Delorie <dj@redhat.com>
235 * MAINTAINERS (RL78, RX): Remove myself as maintainer.
237 2018-07-19 Nick Clifton <nickc@redhat.com>
239 * dwarf.c (read_cie): Free allocated memory before returning with
242 2018-07-16 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
244 * readelf.c (get_note_type): Fix typo in NT_PPC_TM_CVSX note
247 2018-07-16 Nick Clifton <nickc@redhat.com>
249 * README-how-to-make-a-release: Add note to check for new top
250 level files and add them to the src-release.sh script.
252 2018-07-14 Nick Clifton <nickc@redhat.com>
254 * README-how-to-make-a-release: Updated with corrections based on
255 the 2.31 release experience.
257 2018-07-12 Francois H. Theron <francois.theron@netronome.com>
259 * readelf.c (process_section_headers): Don't print section type
260 twice for --section-details.
262 2018-07-10 Alan Modra <amodra@gmail.com>
264 * testsuite/lib/binutils-common.exp (supports_gnu_unique): Return
267 2018-07-06 Nick Clifton <nickc@redhat.com>
269 * readelf.c (same_section): New function.
270 (print_gnu_build_attribute_description): Do not complain about
271 gaps that cross a section boundary.
273 2018-07-05 Nick Clifton <nickc@redhat.com>
275 * po/bg.po: Updated Bulgarian translation.
277 2018-07-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
279 * NEWS: Use command-line consistently when used in a compount word.
280 * doc/binutils.texi: Likewise and fix trailing whitespace on same
283 2018-06-26 Nick Clifton <nickc@redhat.com>
285 * po/sv.po: Updated Swedish translation.
286 * po/uk.po: Updated Ukranian translation.
288 2018-06-26 Nick Clifton <nickc@redhat.com>
290 * doc/binutils.texi: Fix spelling mistakes.
291 * README--how-to-make-a-release: Likewise.
293 2018-06-25 Tom Tromey <tom@tromey.com>
295 * dwarf-mode.el (dwarf-mode-syntax-table): New variable.
298 2018-06-24 Nick Clifton <nickc@redhat.com>
300 * README-how-to-make-a-release: Update with experiences from
302 * po/binutils.pot: Regenerate.
303 * configure: Regenerate.
305 2018-06-24 Nick Clifton <nickc@redhat.com>
308 * NEWS: Add marker for 2.31.
310 2018-06-21 Alan Modra <amodra@gmail.com>
312 * doc/Makefile.am (AUTOMAKE_OPTIONS): Add "foreign".
313 * doc/Makefile.in: Regenerate.
315 2018-06-19 Simon Marchi <simon.marchi@ericsson.com>
317 * configure.ac: Remove AC_PREREQ.
318 * doc/Makefile.am (AUTOMAKE_OPTIONS): Remove cygnus, add
319 info-in-builddir no-texinfo.tex.
320 * Makefile.in: Re-generate.
321 * aclocal.m4: Re-generate.
322 * config.in: Re-generate.
323 * configure: Re-generate.
324 * doc/Makefile.in: Re-generate.
326 2018-06-19 Andreas Schwab <schwab@suse.de>
328 * readelf.c (is_16bit_abs_reloc): Handle R_RISCV_SET16.
329 (is_8bit_abs_reloc): New function.
330 (is_6bit_abs_reloc): New function.
331 (is_6bit_inplace_sub_reloc): New function.
332 (apply_relocations): Use them. Handle 6-bit relocations.
334 2018-06-14 Faraz Shahbazker <Faraz.Shahbazker@mips.com>
336 * readelf.c (print_mips_ases): Add GINV extension.
338 2018-06-14 H.J. Lu <hongjiu.lu@intel.com>
341 * readelf.c (get_symbol_version_string): Check if the first
342 symbol version is base version.
344 2018-06-13 Scott Egerton <scott.egerton@imgtec.com>
345 Faraz Shahbazker <Faraz.Shahbazker@mips.com>
347 * readelf.c (print_mips_ases): Add CRC.
349 2018-06-13 Nick Clifton <nickc@redhat.com>
351 * doc/binutils.texi (objdump): Add missing closing square
352 parenthesis to listing of objcopy's command line options.
354 2018-06-11 Nick Clifton <nickc@redhat.com>
356 * po/es.po: Updated Spanish translation.
358 2018-06-01 H.J. Lu <hongjiu.lu@intel.com>
360 * configure: Regenerated.
362 2018-05-31 Alan Modra <amodra@gmail.com>
364 * testsuite/binutils-all/compress.exp (test_gnu_debuglink): Don't
365 set CC_FOR_TARGET. Run test non-native.
366 * testsuite/binutils-all/objdump.exp (test_build_id_debuglink):
368 (test_follow_debuglink): Run test non-native.
370 2018-05-30 Ant Bikeneev <ant.bikineev@gmail.com>
373 * ar.c (display_offsets): New variable.
374 (usage): Add description of 'O' operator.
375 (decode_option): Handle 'O' operator.
376 (print_descr): Pass display_offsets to print_arelt_descr.
377 * arsup.c: Update call to printy_arelt_descr.
378 * objdump.c: Likewise.
379 * bucomm.c (print_arelt_descr): If offsets parameter is true then
380 display offset of archive element within the archive.
381 * bucomm.h: Update prototype for print_arelt_descr.
382 * doc/binutils.texi: Update description of ar command.
383 * NEWS: Mention the new feature.
384 * testsuite/binutils-all/ar.exp: Add text of new feature.
386 2018-05-28 Alan Modra <amodra@gmail.com>
389 * testsuite/binutils-all/compress.exp (test_gnu_debuglink): Return
390 unsupported rather than fail on compile errors.
391 * testsuite/binutils-all/objdump.exp (test_build_id_debuglink):
392 Likewise. Save and restore CFLAGS_FOR_TARGET.
394 2018-05-18 Kito Cheng <kito.cheng@gmail.com>
396 * readelf.c (get_machine_flags): Handle EF_RISCV_RVE.
398 2018-05-18 John Darrington <john@darrington.wattle.id.au>
400 * readelf.c: Add support for s12z architecture.
401 * testsuite/lib/binutils-common.exp (is_elf_format): Excluse s12z
404 2018-05-15 Tamar Christina <tamar.christina@arm.com>
407 * doc/binutils.texi (-M): Document AArch64 options.
409 2018-05-15 Tamar Christina <tamar.christina@arm.com>
412 * doc/binutils.texi (-M): Document AArch64 options.
413 * NEWS: Document notes and warnings.
415 2018-05-15 Alan Modra <amodra@gmail.com>
417 * testsuite/lib/binutils-common.exp (is_elf_format): Add chorus,
418 cloudabi, fuchsia, kaos and nto. Merge netbsdelf* into *elf*,
419 and *uclinux* into *linux*.
420 * testsuite/binutils-all/objcopy.exp: Accept armeb for rel
421 strip-13 test, exclude arm-vxworks and arm-windiss.
423 2018-05-10 John Darrington <john@darrington.wattle.id.au>
425 * readelf.c (get_machine_name): EM_S12Z - handle new case.
427 2018-05-09 Alan Modra <amodra@gmail.com>
429 * od-macho.c (dump_unwind_encoding_x86): Fix typo in last patch.
431 2018-05-09 Sebastian Rasmussen <sebras@gmail.com>
433 * od-macho.c (dump_unwind_encoding_x86): Adjust for macro renaming.
435 2018-05-08 Alan Modra <amodra@gmail.com>
438 * objcopy.c (is_strip_section): Strip groups without a valid
441 2018-05-07 Alan Modra <amodra@gmail.com>
444 * objcopy.c (group_signature): Don't accept groups that use a
445 symbol table other than the one we've read.
447 2018-04-30 Francois H. Theron <francois.theron@netronome.com>
449 * readelf.c: Very basic support for EM_NFP and its section types.
450 * testsuite/binutils-all/nfp: New directory.
451 * testsuite/binutils-all/nfp/objdump.exp: New file. Run new
453 * testsuite/binutils-all/nfp/test2_ctx8.d: New file.
454 * testsuite/binutils-all/nfp/test2_no-pc_ctx4.d: New file.
455 * testsuite/binutils-all/nfp/test1.d: New file.
456 * testsuite/binutils-all/nfp/nfp6000.nffw: New file.
457 * testsuite/binutils-all/nfp/test2_nfp6000.nffw: New file.
458 * NEWS: Mention the new support.
460 2018-04-27 Maciej W. Rozycki <macro@mips.com>
462 * testsuite/lib/binutils-common.exp (match_target): New procedure.
463 * testsuite/lib/utils-lib.exp (run_dump_test): Use it in place
464 of `istarget' for matching with `target', `not-target', `skip'
465 and `not-skip' options.
467 2018-04-26 Nick Clifton <nickc@redhat.com>
469 * readelf.c (is_32bit_abs_reloc): Support R_PARISC_DIR32 as a
470 32-bit absolute reloc for the HPPA target.
471 * testsuite/binutils-all/note-5.d: New test.
472 * testsuite/binutils-all/note-5.s: Source file for new test.
473 * testsuite/binutils-all/objcopy.exp: Run new test.
475 2018-04-25 Christophe Lyon <christophe.lyon@st.com>
477 * testsuite/binutils-all/elfedit-2.d: Accept arm*-*-uclinuxfdpiceabi.
478 * testsuite/binutils-all/elfedit-3.d: Likewise.
479 * testsuite/binutils-all/objcopy.exp: Likewise.
480 * testsuite/binutils-all/strip-3.d: Likewise.
481 * testsuite/lib/binutils-common.exp: Likewise.
483 2018-04-25 Christophe Lyon <christophe.lyon@st.com>
484 Mickaël Guêné <mickael.guene@st.com>
486 * readelf.c (decode_ARM_machine_flags): Support EF_ARM_PIC.
487 (get_osabi_name): Support ELFOSABI_ARM_FDPIC.
489 2018-04-25 Alan Modra <amodra@gmail.com>
491 * testsuite/binutils-all/arm/objdump.exp: Remove arm-aout and
493 * testsuite/binutils-all/objcopy.exp: Likewise.
494 * testsuite/lib/binutils-common.exp: Likewise.
496 2018-04-18 Nick Clifton <nickc@redhat.com>
499 * dwarf.c (read_and_display_attr_value): Replace assertions with
500 test and warning message.
502 2018-04-18 Alan Modra <amodra@gmail.com>
504 * testsuite/lib/binutils-common.exp: Remove support for assorted
507 2018-04-17 Nick Clifton <nickc@redhat.com>
510 * readelf.c (print_symbol): If the width is zero, return straight
514 * dwarf.c (process_cu_tu_index): Test for a potential buffer
515 overrun before copying signature pointer.
517 2018-04-17 Alan Modra <amodra@gmail.com>
519 * readelf.c: Revert 2018-04-16 and 2018-04-11 changes.
521 2018-04-16 Alan Modra <amodra@gmail.com>
523 * readelf.c (get_machine_name): Correct typo.
525 2018-04-16 Alan Modra <amodra@gmail.com>
527 * configure.ac: Remove arm-epoc-pe support.
528 * dlltool.c: Likewise.
529 * configure: Regenerate.
531 2018-04-16 Alan Modra <amodra@gmail.com>
533 * testsuite/lib/binutils-common.exp: Remove sparc-aout and
536 2018-04-16 Alan Modra <amodra@gmail.com>
538 * testsuite/binutils-all/copy-2.d: Remove m68k-aout and m68k-coff
540 * testsuite/binutils-all/copy-3.d: Likewise.
541 * testsuite/binutils-all/objcopy.exp: Likewise.
542 * testsuite/lib/binutils-common.exp: Likewise.
544 2018-04-16 Alan Modra <amodra@gmail.com>
546 * testsuite/binutils-all/objcopy.exp: Remove sh5 and sh64 support.
548 2018-04-16 Alan Modra <amodra@gmail.com>
550 * testsuite/binutils-all/objcopy.exp: Remove w65 support.
552 2018-04-16 Alan Modra <amodra@gmail.com>
554 * testsuite/binutils-all/objdump.exp: Remove we32k support.
556 2018-04-16 Alan Modra <amodra@gmail.com>
558 * MAINTAINERS (Mark Kettenis): Move to past maintainers.
559 * testsuite/binutils-all/objdump.exp: Remove m88k support.
561 2018-04-16 Alan Modra <amodra@gmail.com>
563 * readelf.c: Remove i370 support.
564 * testsuite/binutils-all/objdump.exp: Likewise.
566 2018-04-16 Alan Modra <amodra@gmail.com>
568 * testsuite/binutils-all/objcopy.exp: Remove h8500 support.
569 * testsuite/lib/binutils-common.exp: Likewise.
571 2018-04-16 Alan Modra <amodra@gmail.com>
573 * testsuite/binutils-all/objcopy.exp: Remove h8300-coff support.
575 2018-04-16 Alan Modra <amodra@gmail.com>
577 * Makefile.am: Remove IEEE 695 support.
579 * doc/binutils.texi: Likewise.
580 * makefile.vms: Likewise.
581 * objcopy.c: Likewise.
582 * objdump.c: Likewise.
585 * Makefile.in: Regenerate.
586 * po/POTFILES.in: Regenerate.
588 2018-04-16 Alan Modra <amodra@gmail.com>
590 * testsuite/binutils-all/copy-2.d: Remove newsos3 support.
591 * testsuite/binutils-all/nm.exp: Likewise.
593 2018-04-16 Alan Modra <amodra@gmail.com>
595 * .gitignore: Remove netware support.
596 * Makefile.am: Likewise.
597 * configure.ac: Likewise.
598 * doc/Makefile.am: Likewise.
599 * doc/binutils.texi: Likewise.
600 * testsuite/binutils-all/nm.exp: Likewise.
603 * nlmheader.y: Delete.
604 * Makefile.in: Regenerate.
605 * configure: Regenerate.
606 * doc/Makefile.in: Regenerate.
607 * po/POTFILES.in: Regenerate.
609 2018-04-16 Alan Modra <amodra@gmail.com>
611 * testsuite/binutils-all/objdump.exp: Remove tahoe support.
613 2018-04-14 Alan Modra <amodra@gmail.com>
615 * readelf.c (get_machine_name): Revert 2018-04-11 change.
617 2018-04-12 Nick Clifton <nickc@redhat.com>
620 * readelf.c (process_dynamic_section): Correct dynamic string
621 table size calculation.
623 2018-04-11 Alan Modra <amodra@gmail.com>
625 * ieee.c: Remove i960 support.
626 * od-macho.c: Remove i860 support.
627 * readelf.c: Remove i860 and i960 support.
628 * testsuite/binutils-all/objcopy.exp: Likewise.
629 * testsuite/binutils-all/objdump.exp: Likewise.
630 * testsuite/lib/binutils-common.exp: Likewise.
632 2018-04-11 Maciej W. Rozycki <macro@mips.com>
634 * testsuite/lib/binutils-common.exp (is_elf_format): Also return
635 1 for `*-*-lynxos*' and `*-*-symbianelf*' targets.
637 2018-04-10 Alan Modra <amodra@gmail.com>
639 * testsuite/binutils-all/objcopy.exp (strip-14, strip-15): Choose
640 reloc=11 for pru and reloc=50 for nds32.
641 * testsuite/binutils-all/strip-15.d: Accept 0xb reloc number.
643 2018-04-09 Maciej W. Rozycki <macro@mips.com>
645 * testsuite/binutils-all/strip-15.d: New test.
646 * testsuite/binutils-all/strip-15rel.s: New test source.
647 * testsuite/binutils-all/strip-15rela.s: New test source.
648 * testsuite/binutils-all/strip-15mips64.s: New test source.
649 * testsuite/binutils-all/objcopy.exp: Run the new test.
651 2018-04-09 Maciej W. Rozycki <macro@mips.com>
653 * testsuite/binutils-all/strip-14.d: New test.
654 * testsuite/binutils-all/strip-14rel.s: New test source.
655 * testsuite/binutils-all/strip-14rela.s: New test source.
656 * testsuite/binutils-all/strip-14mips64.s: New test source.
657 * testsuite/binutils-all/objcopy.exp: Run the new test.
659 2018-04-06 Tom Tromey <tom@tromey.com>
661 * dwarf.c (read_and_display_attr_value): Add missing DW_LANG
662 constants from DWARF 5.
664 2018-04-05 H.J. Lu <hongjiu.lu@intel.com>
667 * configure: Regenerated.
669 2018-04-05 Maciej W. Rozycki <macro@mips.com>
671 * testsuite/binutils-all/strip-13mips64.s: Use `.dc.l' rather
672 than `.dc.w' in second relocation.
674 2018-04-05 Maciej W. Rozycki <macro@mips.com>
676 * testsuite/binutils-all/strip-13.d: Also expect `unsupported
677 relocation type 0x8f' error message.
679 2018-04-05 Maciej W. Rozycki <macro@mips.com>
681 * testsuite/binutils-all/strip-13.s: Rename to...
682 * testsuite/binutils-all/strip-13rela.s: ... this.
683 * testsuite/binutils-all/strip-13rel.s: New test source.
684 * testsuite/binutils-all/strip-13mips64.s: New test source.
685 * testsuite/binutils-all/strip-13.d: Remove `arm-*', `d10v-*',
686 `dlx-*' and `xgate-*' from `not-target' list. Add `m6811-*' and
687 `m68hc11-*' to `not-target' list.
688 * testsuite/binutils-all/objcopy.exp: Switch between sources for
691 2018-04-05 Maciej W. Rozycki <macro@mips.com>
693 * testsuite/binutils-all/strip-13.s: Use 143 (0x8f) rather than
694 241 (0xf1) for the relocation number and RELA addend.
695 * testsuite/binutils-all/strip-13.d: Remove `hppa*-*' from the
698 2018-04-04 John David Anglin <danglin@gcc.gnu.org>
700 * MAINTAINERS: Update my e-mail address.
702 2018-04-04 Nick Clifton <nickc@redhat.com>
704 * MAINTAINERS: Move Jason Eckhardt to past maintainers section.
706 2018-03-23 Nick Clifton <nickc@redhat.com>
708 * readelf.c (get_symbol_for_build_attribute): Skip ARM mapping
710 (print_gnu_build_attribute_description): If no file start symbol
711 could be found, look for one two bytes into the file.
712 * testsuite/binutils-all/note-4-64.s: Set the address of the file
713 start symbol to two bytes into the file.
714 * testsuite/binutils-all/note-4-32.s: Likewise.
716 2018-03-21 H.J. Lu <hongjiu.lu@intel.com>
718 * readelf.c (process_dynamic_section): Also dump DF_1_KMOD,
719 DF_1_WEAKFILTER and DF_1_NOCOMMON.
721 2018-03-20 Nick Clifton <nickc@redhat.com>
723 * po/es.po: Updated Spanish translation.
724 * po/ru.po: Updated Russian translation.
726 2018-03-13 Nick Clifton <nickc@redhat.com>
729 * stabs.c (pop_binincl): Fail if the file index is off the end of
732 2018-03-13 Nick Clifton <nickc@redhat.com>
735 * stabs.c (parse_number): Add p_end parameter and use it to check
736 the validity of the pp parameter. Add checks to prevent walking
737 off the end of the string buffer.
738 (parse_stab_string): Likewise.
739 (parse_stab_type): Likewise.
740 (parse_stab_type_number): Likewise.
741 (parse_stab_range_type): Likewise.
742 (parse_stab_sun_builtin_type): Likewise.
743 (parse_stab_sun_floating_type): Likewise.
744 (parse_stab_enum_type): Likewise.
745 (parse_stab_struct_type): Likewise.
746 (parse_stab_baseclasses): Likewise.
747 (parse_stab_struct_fields): Likewise.
748 (parse_stab_cpp_abbrev): Likewise.
749 (parse_stab_one_struct_field): Likewise.
750 (parse_stab_members): Likewise.
751 (parse_stab_tilde_field): Likewise.
752 (parse_stab_array_type): Likewise.
754 * parse_stab: Compute the end of the string and then pass it on to
755 individual parser functions.
757 2018-03-07 Paul Pluzhnikov <ppluzhnikov@google.com>
760 * binutils/readelf.c (get_ver_flags): Expand buffer to avoid
763 2018-03-07 Alan Modra <amodra@gmail.com>
765 * configure.ac: Add objdump_private_desc_xcoff for rs6000.
766 * configure: Regenerate.
768 2018-03-05 H.J. Lu <hongjiu.lu@intel.com>
771 * objdump.c (is_significant_symbol_name): Return TRUE for all
773 (find_symbol_for_address): Replace linear search with binary
774 search on dynamic relocations.
776 2018-03-01 Nick Clifton <nickc@redhat.com>
779 * dwarf.c (display_debug_ranges): Check that the offset loaded
780 from the range_entry structure is valid.
782 2018-03-01 Alan Modra <amodra@gmail.com>
784 * configure.ac (ALL_LINGUAS): Add sr. Sort.
785 * configure: Regenerate.
787 2018-02-27 Nick Clifton <nickc@redhat.com>
789 * po/pt.po: New Portuguese translation.
790 * configure.ac (ALL_LINGUAS): Add pt.
791 * configure: Regenerate.
793 2018-02-27 Nick Clifton <nickc@redhat.com>
796 * objcopy.c (copy_object): Check the error status after marking
797 symbols used in relocations.
798 * testsuite/binutils-all/strip-13.s: New test source file.
799 * testsuite/binutils-all/strip-13.s: New test driver file.
800 * testsuite/binutils-all/objcopy.exp: Run the new test.
802 2018-02-26 Alan Modra <amodra@gmail.com>
804 * testsuite/binutils-all/mips/mips-reginfo-n32.d,
805 * testsuite/binutils-all/mips/mips-reginfo.d: Update.
807 2018-02-23 Alan Modra <amodra@gmail.com>
809 * testsuite/binutils-all/mips/mips-reginfo-n32.d,
810 * testsuite/binutils-all/mips/mips-reginfo.d: Update.
812 2018-02-20 Ronald Hoogenboom <hoogenboom30@zonnet.nl>
814 * doc/binutils.texi (objcopy): Add missing closing square
815 parenthesis to listing of objcopy's command line options.
817 2018-02-19 Matthias Klose <doko@debian.org>
819 * strings.c (long_options): Include-all-whitespace does not take
822 2018-02-13 Alan Modra <amodra@gmail.com>
825 * testsuite/binutils-all/group-7.s,
826 * testsuite/binutils-all/group-7a.d,
827 * testsuite/binutils-all/group-7b.d,
828 * testsuite/binutils-all/group-7c.d: New tests.
829 * testsuite/binutils-all/objcopy.exp: Run them.
831 2018-02-08 Nick Clifton <nickc@redhat.com>
834 * dwarf.c (load_separate_debug_file): Return early if the user is
835 not interested in debug links.
837 2018-02-06 Nick Clifton <nickc@redhat.com>
840 * readelf.c (find_section): Replace assertion with test and return
842 (find_section_by_address): Add test of section header table
844 (find_section_by_type): Likewise.
845 (find_section_in_set): Likewise.
847 2018-02-05 Maciej W. Rozycki <macro@mips.com>
849 * testsuite/binutils-all/mips/mips-reginfo.d: New test.
850 * testsuite/binutils-all/mips/mips-reginfo-n32.d: New test.
851 * testsuite/binutils-all/mips/mips-reginfo.s: New test source.
852 * testsuite/binutils-all/mips/mips.exp: Run the new tests.
854 2018-02-05 Maciej W. Rozycki <macro@mips.com>
856 * testsuite/config/default.exp (binutils_run): Document
857 `binutils_run_status'.
858 * testsuite/lib/utils-lib.exp (default_binutils_run): Likewise,
860 (run_dump_test): Add `error', `error_output', `warning' and
861 `warning_output' options. Update documentation accordingly.
863 2018-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
865 * dwarf.c (dwarf_regnames_riscv): New register name table.
866 (init_dwarf_regnames_riscv): New function.
867 (init_dwarf_regnames): Add call to initialise RiscV register
869 * dwarf.h (init_dwarf_regnames_riscv): Declare.
870 * objdump.c (dump_dwarf): Add call to initialise RiscV register
873 2018-02-01 Alan Modra <amodra@gmail.com>
876 * objdump.c (load_specific_debug_section): Check for overflow
877 when adding one to section size for a string section terminator.
879 2018-01-30 Nick Clifton <nickc@redhat.com>
882 * doc/binutils.texi (nm): Update description to point out that
883 zero-initialized values can also be shown as type B, b, S or s
884 since they can be stored in the BSS section.
886 2018-01-30 Alan Modra <amodra@gmail.com>
888 * objcopy.c (merge_gnu_build_notes): Use (bfd_vma) -1 as
889 "artificially large" end address.
891 2018-01-28 Nick Clifton <nickc@redhat.com>
893 * README-how-to-make-a-release: Add note about checking gpg key
894 and the results of gnupload.
896 2018-01-27 Nick Clifton <nickc@redhat.com>
898 * README-how-to-make-a-release: Add details on how to actually
901 2018-01-26 Nick Clifton <nickc@redhat.com>
903 * README-how-to-make-a-release: Add more details on updating
906 2018-01-22 Maciej W. Rozycki <macro@mips.com>
908 * doc/binutils.texi (objcopy): Fix a typo in `--rename-section'
911 2018-01-22 Maciej W. Rozycki <macro@mips.com>
913 * MAINTAINERS: Update my company e-mail address.
915 2018-01-22 Nick Clifton <nickc@redhat.com>
917 * po/sv.po: Updated Swedish translation.
919 2018-01-18 Nick Clifton <nickc@redhat.com>
921 * po/bg.po: Updated Bulgarian translation.
923 2018-01-16 Joel Brobecker <brobecker@adacore.com>
925 * README-how-to-make-a-release: Add reminder to update the
926 branch name in gdbadmin's crontab on sourceware.
928 2018-01-16 Joel Brobecker <brobecker@adacore.com>
930 * README-how-to-make-a-release: Remove trailing spaces.
932 2018-01-16 Nick Clifton <nickc@redhat.com>
934 * po/fr.po: Updated French translation.
936 2018-01-15 Nick Clifton <nickc@redhat.com>
938 * po/uk.po: Updated Ukranian translation.
940 2018-01-13 Nick Clifton <nickc@redhat.com>
942 * README-how-to-make-a-release: Update notes.
943 * po/binutils.pot: Regenerated.
945 2018-01-13 Nick Clifton <nickc@redhat.com>
947 * configure: Regenerate.
949 2018-01-13 Nick Clifton <nickc@redhat.com>
952 * NEWS: Add marker for 2.30.
954 2018-01-12 Nick Clifton <nickc@redhat.com>
956 * README-how-to-make-a-release: Add notes on how to make the
957 branch and prelease snapshot.
958 * BRANCHES: Add binutils-2_29-branch.
960 2018-01-10 Nick Clifton <nickc@redhat.com>
962 * MAINTAINERS: Note that it is now the configure.ac file and not
963 the configure.in file that needs to be kept in sync with gcc.
964 Add a note about sending patches for libiberty to gcc.
966 2018-01-03 Nick Clifton <nickc@redhat.com>
968 * objcopy.c (merge_gnu_build_notes): Add cast to maximum address
971 2018-01-03 Nick Clifton <nickc@redhat.com>
973 * objcopy.c (objcopy_internal_note): New structure.
974 (gap_exists): New function.
975 (is_open_note): New function.
976 (is_func_note): New function.
977 (is_64bit): New function.
978 (merge_gnu_build_notes): Handle v3 notes. Do not merge
979 if there are relocations against the notes.
980 * readelf.c (get_note_type): Use short names for build attribute
982 (print_symbol_for_build_attribute): Rename to
983 get_symbol_for_build_attribute. Returns the found symbol rather
985 (print_gnu_build_attribute_description): Maintain address ranges
986 for function notes as well as global notes. Handle v3 notes.
987 (print_gnu_build_attribute_name): Use more space for printing the
989 * testsuite/binutils-all/note-2-32.s: Use .dc.l instead of .word.
990 Eliminate symbol references in order to remove the need for
992 * testsuite/binutils-all/note-2-64.s: Likewise.
993 * testsuite/binutils-all/note-3-32.s: Add a size to the note_1
995 * testsuite/binutils-all/note-3-64.s: Likewise.
996 * testsuite/binutils-all/mips/mips-note-2r-n32.d: Update expected
998 * testsuite/binutils-all/mips/mips-note-2r-n64.d: Likewise.
999 * testsuite/binutils-all/mips/mips-note-2r.d: Likewise.
1000 * testsuite/binutils-all/note-2-32.d: Likewise.
1001 * testsuite/binutils-all/note-2-64.d: Likewise.
1002 * testsuite/binutils-all/note-3-32.d: Likewise.
1003 * testsuite/binutils-all/note-3-64.d: Likewise.
1004 * testsuite/binutils-all/note-4-64.s: New test. Checks v3 notes.
1005 * testsuite/binutils-all/note-4-32.s: New test.
1006 * testsuite/binutils-all/note-4-64.d: New test result file.
1007 * testsuite/binutils-all/note-4-32.d: New test result file.
1009 2018-01-03 Alan Modra <amodra@gmail.com>
1011 Update year range in copyright notice of all files.
1013 For older changes see ChangeLog-2017
1015 Copyright (C) 2018 Free Software Foundation, Inc.
1017 Copying and distribution of this file, with or without modification,
1018 are permitted in any medium without royalty provided the copyright
1019 notice and this notice are preserved.
1025 version-control: never