1 2018-08-24 H.J. Lu <hongjiu.lu@intel.com>
3 * readelf.c (decode_x86_compat_isa): New function.
4 (decode_x86_feature_2): Likewise.
5 (decode_x86_isa): Updated for new X86_ISA_1_XXX bits.
6 (decode_x86_feature): Renamed to ...
7 (decode_x86_feature_1): This. Remove the type argument.
8 (print_gnu_property_note): Handle X86_COMPAT_ISA_1_USED,
9 X86_COMPAT_ISA_1_NEEDED, X86_UINT32_AND_LO, X86_UINT32_AND_HI,
10 X86_UINT32_OR_LO, X86_UINT32_OR_HI, X86_UINT32_OR_AND_LO and
11 X86_UINT32_OR_AND_HI instead of X86_ISA_1_USED, X86_ISA_1_NEEDED
12 and X86_FEATURE_1_AND.
13 * testsuite/binutils-all/i386/pr21231b.s: Updated to the current
14 GNU_PROPERTY_X86_ISA_1_USED and GNU_PROPERTY_X86_ISA_1_NEEDED
16 * testsuite/binutils-all/x86-64/pr21231b.s: Likewise.
17 * testsuite/binutils-all/x86-64/pr23494a.s: Likewise.
18 * testsuite/binutils-all/x86-64/pr23494b.s: Likewise.
19 * testsuite/binutils-all/x86-64/pr23494c.s: Likewise.
20 * testsuite/binutils-all/i386/pr21231b.d: Updated.
21 * testsuite/binutils-all/x86-64/pr21231b.d: Likewise.
22 * testsuite/binutils-all/x86-64/pr23494a-x32.d: Likewise.
23 * testsuite/binutils-all/x86-64/pr23494a.d: Likewise.
24 * testsuite/binutils-all/x86-64/pr23494c-x32.d: Likewise.
25 * testsuite/binutils-all/x86-64/pr23494c.d: Likewise.
26 * testsuite/binutils-all/x86-64/pr23494d-x32.d: Likewise.
27 * testsuite/binutils-all/x86-64/pr23494d.d: Likewise.
28 * testsuite/binutils-all/x86-64/pr23494e-x32.d: Likewise.
29 * testsuite/binutils-all/x86-64/pr23494e.d: Likewise.
31 2018-08-24 H.J. Lu <hongjiu.lu@intel.com>
33 * readelf.c (print_gnu_property_note): Check the
34 GNU_PROPERTY_X86_UINT32_VALID bit for invalid GNU property note.
36 2018-08-23 Alan Modra <amodra@gmail.com>
38 * readelf.c (get_ppc64_symbol_other): Return NULL if st_other
39 field contains unrecognised or reserved values. Handle
42 2018-08-23 H.J. Lu <hongjiu.lu@intel.com>
45 * Makefile.am (development.exp): New target.
46 (EXTRA_DEJAGNU_SITE_CONFIG): New.
47 (DISTCLEANFILES): Add development.exp.
48 * Makefile.in: Regenerated.
49 * testsuite/binutils-all/objcopy.exp (strip_test): Call
50 prune_warnings to prune BFD output.
51 (strip_test_with_saving_a_symbol): Likewise.
52 (objcopy_test_without_global_symbol): Likewise.
53 * testsuite/lib/binutils-common.exp (prune_warnings_extra):
55 (prune_warnings): Likewise.
57 2018-08-23 H.J. Lu <hongjiu.lu@intel.com>
59 * README-how-to-make-a-release: Document setting "experimental"
62 2018-08-22 Alan Modra <amodra@gmail.com>
64 * readelf.c (process_file_header): Assign updated values from
65 section_header[0] fields to e_phnum, e_shnum and e_shstrndx
66 during printing of header. Correct e_shstrndx range check.
67 Remove unnecessary casts and use %u rather than %ld for
68 unsigned int header fields. Don't print a random %lx when
69 reporting an unknown EI_VERSION.
71 2018-08-21 Nick Clifton <nickc@redhat.com>
73 * MAINTAINERS: Note that Arnold Metselaar has retired as the z80
76 2018-08-21 L. Simon <l.simon@samsung.com>
79 * readelf.c (hppa_process_unwind): Only dump the unwind table if
80 the data was successfully read in.
82 2018-08-18 Alan Modra <amodra@gmail.com>
84 * testsuite/lib/binutils-common.exp (is_elf64): Use directory of
85 input file for readelf.out.
87 * testsuite/binutils-all/objcopy.exp (elf64): Set new variable
88 from first result of is_elf64 test.
89 (reloc_format): Set using is_rela.
90 (strip-13): Pass RELOC and ELF64 to assembler.
91 (strip-14, strip-15): Use elf64 rather than calling is_elf64 again.
92 * testsuite/binutils-all/strip-13.d: Run for more targets.
93 * testsuite/binutils-all/strip-13mips64.s: Use RELOC and set
95 * testsuite/binutils-all/strip-13rel.s: Use RELOC and ELF64.
96 Don't add _NONE reloc.
97 * testsuite/binutils-all/strip-13rela.s: Likewise.
99 2018-08-10 H.J. Lu <hongjiu.lu@intel.com>
102 * testsuite/binutils-all/x86-64/pr23494c.s: New file.
103 * testsuite/binutils-all/x86-64/pr23494e-x32.d: Likewise.
104 * testsuite/binutils-all/x86-64/pr23494e.d: Likewise.
106 2018-08-10 H.J. Lu <hongjiu.lu@intel.com>
108 * testsuite/binutils-all/x86-64/pr23494a-x32.d: Skip nacl
110 * testsuite/binutils-all/x86-64/pr23494a.d: Likewise.
111 * testsuite/binutils-all/x86-64/pr23494b-x32.d: Likewise.
112 * testsuite/binutils-all/x86-64/pr23494b.d: Likewise.
113 * testsuite/binutils-all/x86-64/pr23494c-x32.d: Likewise.
114 * testsuite/binutils-all/x86-64/pr23494c.d: Likewise.
115 * testsuite/binutils-all/x86-64/pr23494d-x32.d: Likewise.
116 * testsuite/binutils-all/x86-64/pr23494d.d: Likewise.
118 2018-08-08 H.J. Lu <hongjiu.lu@intel.com>
121 * testsuite/binutils-all/x86-64/pr23494a-x32.d: New file.
122 * testsuite/binutils-all/x86-64/pr23494a.d: Likewise.
123 * testsuite/binutils-all/x86-64/pr23494a.s: Likewise.
124 * testsuite/binutils-all/x86-64/pr23494b-x32.d: Likewise.
125 * testsuite/binutils-all/x86-64/pr23494b.d: Likewise.
126 * testsuite/binutils-all/x86-64/pr23494b.s: Likewise.
127 * testsuite/binutils-all/x86-64/pr23494c-x32.d: Likewise.
128 * testsuite/binutils-all/x86-64/pr23494c.d: Likewise.
129 * testsuite/binutils-all/x86-64/pr23494d-x32.d: Likewise.
130 * testsuite/binutils-all/x86-64/pr23494d.d: Likewise.
132 2018-08-08 Kevin Buettner <kevinb@redhat.com>
134 * dwarf.c (decode_location_expresion): Add case for
135 DW_OP_GNU_variable_value.
137 2018-08-06 Claudiu Zissulescu <claziss@synopsys.com>
139 * readelf.c (display_arc_attribute): Print Tag_ARC_ATR_version.
141 2018-08-03 Nick Clifton <nickc@redhat.com>
143 * objcopy.c (merge_gnu_build_notes): Delete empty notes. Merge
144 identical function notes.
146 2018-08-01 Nick Clifton <nickc@redhat.com>
148 * README-how-to-make-a-release: Add note about regenerating the
149 info files prior to the release.
151 2018-07-30 Andrew Jenner <andrew@codesourcery.com>
153 * MAINTAINERS (C-SKY): Add Yunhai Shang as co-maintainer.
155 2018-07-30 Andrew Jenner <andrew@codesourcery.com>
157 * MAINTAINERS (C-SKY): Add Lifang Xia as maintainer.
159 2018-07-30 Andrew Jenner <andrew@codesourcery.com>
161 * readelf.c: Include elf/csky.h.
162 (guess_is_rela): Handle EM_CSKY.
163 (dump_relocations): Likewise.
164 (get_machine_name): Likewise.
165 (is_32bit_abs_reloc): Likewise.
167 2018-07-25 Nick Clifton <nickc@redhat.com>
169 * rdcoff.c (parse_coff_struct_type): Free fields array upon early
171 (parse_coff_enum_type): Free names and vals arrays upon early
173 * rddbg.c (read_section_stabs_debugging_info): Free shandle and
174 strings and stabs arrays upon early exit.
175 * readelf.c (get_32bit_section_headers): Free shdrs structure upon
177 (get_64bit_section_headers): Likewise.
178 (get_32bit_elf_symbols): Generate an error if multiple symbol
179 table index sections are associated with the same symbol section.
180 (get_64bit_elf_symbols): Likewise.
181 (process_dynamic_section): Generate an error if there are multiple
182 dynamic symbol table sections, multiple dynamic string tables or
183 multiple dynamic symbol information sections.
185 2018-07-24 Nick Clifton <nickc@redhat.com>
187 * po/sv.po: Updated Swedish translation.
189 2018-07-24 Alan Modra <amodra@gmail.com>
192 * dwarf.c (display_formatted_table): Replace "what" parameter
193 with "is_dir". Expand messages. Fix capitalisation.
194 * testsuite/binutils-all/dw5.W: Update expected output.
196 2018-07-24 Alan Modra <amodra@gmail.com>
199 * elfcomm.h (struct archive_info): Rename uses_64bit_indicies
200 to uses_64bit_indices.
201 * elfcomm.c (setup_archive): Update uses of above.
202 * readelf.c (process_archive): Likewise.
203 (get_section_type_name): Rename indicies to indices.
204 (get_32bit_elf_symbols, get_64bit_elf_symbols): Likewise.
205 (process_section_groups): Likewise.
207 2018-07-20 Maciej W. Rozycki <macro@mips.com>
209 * MAINTAINERS: Update my e-mail address, downgrade to MIPS I-IV
212 2018-07-20 Nick Clifton <nickc@redhat.com>
214 * objcopy.c (add_specific_symbols): Free buffer on exit.
215 (add_redefine_syms_file): Close file handle on exit.
216 (copy_object): Close file handle on early exit.
217 Free buffer on early exit.
218 Free gaps buffers once they are no longer needed.
219 * dwarf.c (display_debug_frames): Free allocated memory on exit.
220 (load_separate_debug_info): Free allocate memory on early exit.
222 2018-07-20 Chenghua Xu <paul.hua.gm@gmail.com>
223 Maciej W. Rozycki <macro@mips.com>
225 * readelf.c (print_mips_ases): Add MMI extension.
227 2018-07-19 DJ Delorie <dj@redhat.com>
229 * MAINTAINERS (RL78, RX): Remove myself as maintainer.
231 2018-07-19 Nick Clifton <nickc@redhat.com>
233 * dwarf.c (read_cie): Free allocated memory before returning with
236 2018-07-16 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
238 * readelf.c (get_note_type): Fix typo in NT_PPC_TM_CVSX note
241 2018-07-16 Nick Clifton <nickc@redhat.com>
243 * README-how-to-make-a-release: Add note to check for new top
244 level files and add them to the src-release.sh script.
246 2018-07-14 Nick Clifton <nickc@redhat.com>
248 * README-how-to-make-a-release: Updated with corrections based on
249 the 2.31 release experience.
251 2018-07-12 Francois H. Theron <francois.theron@netronome.com>
253 * readelf.c (process_section_headers): Don't print section type
254 twice for --section-details.
256 2018-07-10 Alan Modra <amodra@gmail.com>
258 * testsuite/lib/binutils-common.exp (supports_gnu_unique): Return
261 2018-07-06 Nick Clifton <nickc@redhat.com>
263 * readelf.c (same_section): New function.
264 (print_gnu_build_attribute_description): Do not complain about
265 gaps that cross a section boundary.
267 2018-07-05 Nick Clifton <nickc@redhat.com>
269 * po/bg.po: Updated Bulgarian translation.
271 2018-07-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
273 * NEWS: Use command-line consistently when used in a compount word.
274 * doc/binutils.texi: Likewise and fix trailing whitespace on same
277 2018-06-26 Nick Clifton <nickc@redhat.com>
279 * po/sv.po: Updated Swedish translation.
280 * po/uk.po: Updated Ukranian translation.
282 2018-06-26 Nick Clifton <nickc@redhat.com>
284 * doc/binutils.texi: Fix spelling mistakes.
285 * README--how-to-make-a-release: Likewise.
287 2018-06-25 Tom Tromey <tom@tromey.com>
289 * dwarf-mode.el (dwarf-mode-syntax-table): New variable.
292 2018-06-24 Nick Clifton <nickc@redhat.com>
294 * README-how-to-make-a-release: Update with experiences from
296 * po/binutils.pot: Regenerate.
297 * configure: Regenerate.
299 2018-06-24 Nick Clifton <nickc@redhat.com>
302 * NEWS: Add marker for 2.31.
304 2018-06-21 Alan Modra <amodra@gmail.com>
306 * doc/Makefile.am (AUTOMAKE_OPTIONS): Add "foreign".
307 * doc/Makefile.in: Regenerate.
309 2018-06-19 Simon Marchi <simon.marchi@ericsson.com>
311 * configure.ac: Remove AC_PREREQ.
312 * doc/Makefile.am (AUTOMAKE_OPTIONS): Remove cygnus, add
313 info-in-builddir no-texinfo.tex.
314 * Makefile.in: Re-generate.
315 * aclocal.m4: Re-generate.
316 * config.in: Re-generate.
317 * configure: Re-generate.
318 * doc/Makefile.in: Re-generate.
320 2018-06-19 Andreas Schwab <schwab@suse.de>
322 * readelf.c (is_16bit_abs_reloc): Handle R_RISCV_SET16.
323 (is_8bit_abs_reloc): New function.
324 (is_6bit_abs_reloc): New function.
325 (is_6bit_inplace_sub_reloc): New function.
326 (apply_relocations): Use them. Handle 6-bit relocations.
328 2018-06-14 Faraz Shahbazker <Faraz.Shahbazker@mips.com>
330 * readelf.c (print_mips_ases): Add GINV extension.
332 2018-06-14 H.J. Lu <hongjiu.lu@intel.com>
335 * readelf.c (get_symbol_version_string): Check if the first
336 symbol version is base version.
338 2018-06-13 Scott Egerton <scott.egerton@imgtec.com>
339 Faraz Shahbazker <Faraz.Shahbazker@mips.com>
341 * readelf.c (print_mips_ases): Add CRC.
343 2018-06-13 Nick Clifton <nickc@redhat.com>
345 * doc/binutils.texi (objdump): Add missing closing square
346 parenthesis to listing of objcopy's command line options.
348 2018-06-11 Nick Clifton <nickc@redhat.com>
350 * po/es.po: Updated Spanish translation.
352 2018-06-01 H.J. Lu <hongjiu.lu@intel.com>
354 * configure: Regenerated.
356 2018-05-31 Alan Modra <amodra@gmail.com>
358 * testsuite/binutils-all/compress.exp (test_gnu_debuglink): Don't
359 set CC_FOR_TARGET. Run test non-native.
360 * testsuite/binutils-all/objdump.exp (test_build_id_debuglink):
362 (test_follow_debuglink): Run test non-native.
364 2018-05-30 Ant Bikeneev <ant.bikineev@gmail.com>
367 * ar.c (display_offsets): New variable.
368 (usage): Add description of 'O' operator.
369 (decode_option): Handle 'O' operator.
370 (print_descr): Pass display_offsets to print_arelt_descr.
371 * arsup.c: Update call to printy_arelt_descr.
372 * objdump.c: Likewise.
373 * bucomm.c (print_arelt_descr): If offsets parameter is true then
374 display offset of archive element within the archive.
375 * bucomm.h: Update prototype for print_arelt_descr.
376 * doc/binutils.texi: Update description of ar command.
377 * NEWS: Mention the new feature.
378 * testsuite/binutils-all/ar.exp: Add text of new feature.
380 2018-05-28 Alan Modra <amodra@gmail.com>
383 * testsuite/binutils-all/compress.exp (test_gnu_debuglink): Return
384 unsupported rather than fail on compile errors.
385 * testsuite/binutils-all/objdump.exp (test_build_id_debuglink):
386 Likewise. Save and restore CFLAGS_FOR_TARGET.
388 2018-05-18 Kito Cheng <kito.cheng@gmail.com>
390 * readelf.c (get_machine_flags): Handle EF_RISCV_RVE.
392 2018-05-18 John Darrington <john@darrington.wattle.id.au>
394 * readelf.c: Add support for s12z architecture.
395 * testsuite/lib/binutils-common.exp (is_elf_format): Excluse s12z
398 2018-05-15 Tamar Christina <tamar.christina@arm.com>
401 * doc/binutils.texi (-M): Document AArch64 options.
403 2018-05-15 Tamar Christina <tamar.christina@arm.com>
406 * doc/binutils.texi (-M): Document AArch64 options.
407 * NEWS: Document notes and warnings.
409 2018-05-15 Alan Modra <amodra@gmail.com>
411 * testsuite/lib/binutils-common.exp (is_elf_format): Add chorus,
412 cloudabi, fuchsia, kaos and nto. Merge netbsdelf* into *elf*,
413 and *uclinux* into *linux*.
414 * testsuite/binutils-all/objcopy.exp: Accept armeb for rel
415 strip-13 test, exclude arm-vxworks and arm-windiss.
417 2018-05-10 John Darrington <john@darrington.wattle.id.au>
419 * readelf.c (get_machine_name): EM_S12Z - handle new case.
421 2018-05-09 Alan Modra <amodra@gmail.com>
423 * od-macho.c (dump_unwind_encoding_x86): Fix typo in last patch.
425 2018-05-09 Sebastian Rasmussen <sebras@gmail.com>
427 * od-macho.c (dump_unwind_encoding_x86): Adjust for macro renaming.
429 2018-05-08 Alan Modra <amodra@gmail.com>
432 * objcopy.c (is_strip_section): Strip groups without a valid
435 2018-05-07 Alan Modra <amodra@gmail.com>
438 * objcopy.c (group_signature): Don't accept groups that use a
439 symbol table other than the one we've read.
441 2018-04-30 Francois H. Theron <francois.theron@netronome.com>
443 * readelf.c: Very basic support for EM_NFP and its section types.
444 * testsuite/binutils-all/nfp: New directory.
445 * testsuite/binutils-all/nfp/objdump.exp: New file. Run new
447 * testsuite/binutils-all/nfp/test2_ctx8.d: New file.
448 * testsuite/binutils-all/nfp/test2_no-pc_ctx4.d: New file.
449 * testsuite/binutils-all/nfp/test1.d: New file.
450 * testsuite/binutils-all/nfp/nfp6000.nffw: New file.
451 * testsuite/binutils-all/nfp/test2_nfp6000.nffw: New file.
452 * NEWS: Mention the new support.
454 2018-04-27 Maciej W. Rozycki <macro@mips.com>
456 * testsuite/lib/binutils-common.exp (match_target): New procedure.
457 * testsuite/lib/utils-lib.exp (run_dump_test): Use it in place
458 of `istarget' for matching with `target', `not-target', `skip'
459 and `not-skip' options.
461 2018-04-26 Nick Clifton <nickc@redhat.com>
463 * readelf.c (is_32bit_abs_reloc): Support R_PARISC_DIR32 as a
464 32-bit absolute reloc for the HPPA target.
465 * testsuite/binutils-all/note-5.d: New test.
466 * testsuite/binutils-all/note-5.s: Source file for new test.
467 * testsuite/binutils-all/objcopy.exp: Run new test.
469 2018-04-25 Christophe Lyon <christophe.lyon@st.com>
471 * testsuite/binutils-all/elfedit-2.d: Accept arm*-*-uclinuxfdpiceabi.
472 * testsuite/binutils-all/elfedit-3.d: Likewise.
473 * testsuite/binutils-all/objcopy.exp: Likewise.
474 * testsuite/binutils-all/strip-3.d: Likewise.
475 * testsuite/lib/binutils-common.exp: Likewise.
477 2018-04-25 Christophe Lyon <christophe.lyon@st.com>
478 Mickaël Guêné <mickael.guene@st.com>
480 * readelf.c (decode_ARM_machine_flags): Support EF_ARM_PIC.
481 (get_osabi_name): Support ELFOSABI_ARM_FDPIC.
483 2018-04-25 Alan Modra <amodra@gmail.com>
485 * testsuite/binutils-all/arm/objdump.exp: Remove arm-aout and
487 * testsuite/binutils-all/objcopy.exp: Likewise.
488 * testsuite/lib/binutils-common.exp: Likewise.
490 2018-04-18 Nick Clifton <nickc@redhat.com>
493 * dwarf.c (read_and_display_attr_value): Replace assertions with
494 test and warning message.
496 2018-04-18 Alan Modra <amodra@gmail.com>
498 * testsuite/lib/binutils-common.exp: Remove support for assorted
501 2018-04-17 Nick Clifton <nickc@redhat.com>
504 * readelf.c (print_symbol): If the width is zero, return straight
508 * dwarf.c (process_cu_tu_index): Test for a potential buffer
509 overrun before copying signature pointer.
511 2018-04-17 Alan Modra <amodra@gmail.com>
513 * readelf.c: Revert 2018-04-16 and 2018-04-11 changes.
515 2018-04-16 Alan Modra <amodra@gmail.com>
517 * readelf.c (get_machine_name): Correct typo.
519 2018-04-16 Alan Modra <amodra@gmail.com>
521 * configure.ac: Remove arm-epoc-pe support.
522 * dlltool.c: Likewise.
523 * configure: Regenerate.
525 2018-04-16 Alan Modra <amodra@gmail.com>
527 * testsuite/lib/binutils-common.exp: Remove sparc-aout and
530 2018-04-16 Alan Modra <amodra@gmail.com>
532 * testsuite/binutils-all/copy-2.d: Remove m68k-aout and m68k-coff
534 * testsuite/binutils-all/copy-3.d: Likewise.
535 * testsuite/binutils-all/objcopy.exp: Likewise.
536 * testsuite/lib/binutils-common.exp: Likewise.
538 2018-04-16 Alan Modra <amodra@gmail.com>
540 * testsuite/binutils-all/objcopy.exp: Remove sh5 and sh64 support.
542 2018-04-16 Alan Modra <amodra@gmail.com>
544 * testsuite/binutils-all/objcopy.exp: Remove w65 support.
546 2018-04-16 Alan Modra <amodra@gmail.com>
548 * testsuite/binutils-all/objdump.exp: Remove we32k support.
550 2018-04-16 Alan Modra <amodra@gmail.com>
552 * MAINTAINERS (Mark Kettenis): Move to past maintainers.
553 * testsuite/binutils-all/objdump.exp: Remove m88k support.
555 2018-04-16 Alan Modra <amodra@gmail.com>
557 * readelf.c: Remove i370 support.
558 * testsuite/binutils-all/objdump.exp: Likewise.
560 2018-04-16 Alan Modra <amodra@gmail.com>
562 * testsuite/binutils-all/objcopy.exp: Remove h8500 support.
563 * testsuite/lib/binutils-common.exp: Likewise.
565 2018-04-16 Alan Modra <amodra@gmail.com>
567 * testsuite/binutils-all/objcopy.exp: Remove h8300-coff support.
569 2018-04-16 Alan Modra <amodra@gmail.com>
571 * Makefile.am: Remove IEEE 695 support.
573 * doc/binutils.texi: Likewise.
574 * makefile.vms: Likewise.
575 * objcopy.c: Likewise.
576 * objdump.c: Likewise.
579 * Makefile.in: Regenerate.
580 * po/POTFILES.in: Regenerate.
582 2018-04-16 Alan Modra <amodra@gmail.com>
584 * testsuite/binutils-all/copy-2.d: Remove newsos3 support.
585 * testsuite/binutils-all/nm.exp: Likewise.
587 2018-04-16 Alan Modra <amodra@gmail.com>
589 * .gitignore: Remove netware support.
590 * Makefile.am: Likewise.
591 * configure.ac: Likewise.
592 * doc/Makefile.am: Likewise.
593 * doc/binutils.texi: Likewise.
594 * testsuite/binutils-all/nm.exp: Likewise.
597 * nlmheader.y: Delete.
598 * Makefile.in: Regenerate.
599 * configure: Regenerate.
600 * doc/Makefile.in: Regenerate.
601 * po/POTFILES.in: Regenerate.
603 2018-04-16 Alan Modra <amodra@gmail.com>
605 * testsuite/binutils-all/objdump.exp: Remove tahoe support.
607 2018-04-14 Alan Modra <amodra@gmail.com>
609 * readelf.c (get_machine_name): Revert 2018-04-11 change.
611 2018-04-12 Nick Clifton <nickc@redhat.com>
614 * readelf.c (process_dynamic_section): Correct dynamic string
615 table size calculation.
617 2018-04-11 Alan Modra <amodra@gmail.com>
619 * ieee.c: Remove i960 support.
620 * od-macho.c: Remove i860 support.
621 * readelf.c: Remove i860 and i960 support.
622 * testsuite/binutils-all/objcopy.exp: Likewise.
623 * testsuite/binutils-all/objdump.exp: Likewise.
624 * testsuite/lib/binutils-common.exp: Likewise.
626 2018-04-11 Maciej W. Rozycki <macro@mips.com>
628 * testsuite/lib/binutils-common.exp (is_elf_format): Also return
629 1 for `*-*-lynxos*' and `*-*-symbianelf*' targets.
631 2018-04-10 Alan Modra <amodra@gmail.com>
633 * testsuite/binutils-all/objcopy.exp (strip-14, strip-15): Choose
634 reloc=11 for pru and reloc=50 for nds32.
635 * testsuite/binutils-all/strip-15.d: Accept 0xb reloc number.
637 2018-04-09 Maciej W. Rozycki <macro@mips.com>
639 * testsuite/binutils-all/strip-15.d: New test.
640 * testsuite/binutils-all/strip-15rel.s: New test source.
641 * testsuite/binutils-all/strip-15rela.s: New test source.
642 * testsuite/binutils-all/strip-15mips64.s: New test source.
643 * testsuite/binutils-all/objcopy.exp: Run the new test.
645 2018-04-09 Maciej W. Rozycki <macro@mips.com>
647 * testsuite/binutils-all/strip-14.d: New test.
648 * testsuite/binutils-all/strip-14rel.s: New test source.
649 * testsuite/binutils-all/strip-14rela.s: New test source.
650 * testsuite/binutils-all/strip-14mips64.s: New test source.
651 * testsuite/binutils-all/objcopy.exp: Run the new test.
653 2018-04-06 Tom Tromey <tom@tromey.com>
655 * dwarf.c (read_and_display_attr_value): Add missing DW_LANG
656 constants from DWARF 5.
658 2018-04-05 H.J. Lu <hongjiu.lu@intel.com>
661 * configure: Regenerated.
663 2018-04-05 Maciej W. Rozycki <macro@mips.com>
665 * testsuite/binutils-all/strip-13mips64.s: Use `.dc.l' rather
666 than `.dc.w' in second relocation.
668 2018-04-05 Maciej W. Rozycki <macro@mips.com>
670 * testsuite/binutils-all/strip-13.d: Also expect `unsupported
671 relocation type 0x8f' error message.
673 2018-04-05 Maciej W. Rozycki <macro@mips.com>
675 * testsuite/binutils-all/strip-13.s: Rename to...
676 * testsuite/binutils-all/strip-13rela.s: ... this.
677 * testsuite/binutils-all/strip-13rel.s: New test source.
678 * testsuite/binutils-all/strip-13mips64.s: New test source.
679 * testsuite/binutils-all/strip-13.d: Remove `arm-*', `d10v-*',
680 `dlx-*' and `xgate-*' from `not-target' list. Add `m6811-*' and
681 `m68hc11-*' to `not-target' list.
682 * testsuite/binutils-all/objcopy.exp: Switch between sources for
685 2018-04-05 Maciej W. Rozycki <macro@mips.com>
687 * testsuite/binutils-all/strip-13.s: Use 143 (0x8f) rather than
688 241 (0xf1) for the relocation number and RELA addend.
689 * testsuite/binutils-all/strip-13.d: Remove `hppa*-*' from the
692 2018-04-04 John David Anglin <danglin@gcc.gnu.org>
694 * MAINTAINERS: Update my e-mail address.
696 2018-04-04 Nick Clifton <nickc@redhat.com>
698 * MAINTAINERS: Move Jason Eckhardt to past maintainers section.
700 2018-03-23 Nick Clifton <nickc@redhat.com>
702 * readelf.c (get_symbol_for_build_attribute): Skip ARM mapping
704 (print_gnu_build_attribute_description): If no file start symbol
705 could be found, look for one two bytes into the file.
706 * testsuite/binutils-all/note-4-64.s: Set the address of the file
707 start symbol to two bytes into the file.
708 * testsuite/binutils-all/note-4-32.s: Likewise.
710 2018-03-21 H.J. Lu <hongjiu.lu@intel.com>
712 * readelf.c (process_dynamic_section): Also dump DF_1_KMOD,
713 DF_1_WEAKFILTER and DF_1_NOCOMMON.
715 2018-03-20 Nick Clifton <nickc@redhat.com>
717 * po/es.po: Updated Spanish translation.
718 * po/ru.po: Updated Russian translation.
720 2018-03-13 Nick Clifton <nickc@redhat.com>
723 * stabs.c (pop_binincl): Fail if the file index is off the end of
726 2018-03-13 Nick Clifton <nickc@redhat.com>
729 * stabs.c (parse_number): Add p_end parameter and use it to check
730 the validity of the pp parameter. Add checks to prevent walking
731 off the end of the string buffer.
732 (parse_stab_string): Likewise.
733 (parse_stab_type): Likewise.
734 (parse_stab_type_number): Likewise.
735 (parse_stab_range_type): Likewise.
736 (parse_stab_sun_builtin_type): Likewise.
737 (parse_stab_sun_floating_type): Likewise.
738 (parse_stab_enum_type): Likewise.
739 (parse_stab_struct_type): Likewise.
740 (parse_stab_baseclasses): Likewise.
741 (parse_stab_struct_fields): Likewise.
742 (parse_stab_cpp_abbrev): Likewise.
743 (parse_stab_one_struct_field): Likewise.
744 (parse_stab_members): Likewise.
745 (parse_stab_tilde_field): Likewise.
746 (parse_stab_array_type): Likewise.
748 * parse_stab: Compute the end of the string and then pass it on to
749 individual parser functions.
751 2018-03-07 Paul Pluzhnikov <ppluzhnikov@google.com>
754 * binutils/readelf.c (get_ver_flags): Expand buffer to avoid
757 2018-03-07 Alan Modra <amodra@gmail.com>
759 * configure.ac: Add objdump_private_desc_xcoff for rs6000.
760 * configure: Regenerate.
762 2018-03-05 H.J. Lu <hongjiu.lu@intel.com>
765 * objdump.c (is_significant_symbol_name): Return TRUE for all
767 (find_symbol_for_address): Replace linear search with binary
768 search on dynamic relocations.
770 2018-03-01 Nick Clifton <nickc@redhat.com>
773 * dwarf.c (display_debug_ranges): Check that the offset loaded
774 from the range_entry structure is valid.
776 2018-03-01 Alan Modra <amodra@gmail.com>
778 * configure.ac (ALL_LINGUAS): Add sr. Sort.
779 * configure: Regenerate.
781 2018-02-27 Nick Clifton <nickc@redhat.com>
783 * po/pt.po: New Portuguese translation.
784 * configure.ac (ALL_LINGUAS): Add pt.
785 * configure: Regenerate.
787 2018-02-27 Nick Clifton <nickc@redhat.com>
790 * objcopy.c (copy_object): Check the error status after marking
791 symbols used in relocations.
792 * testsuite/binutils-all/strip-13.s: New test source file.
793 * testsuite/binutils-all/strip-13.s: New test driver file.
794 * testsuite/binutils-all/objcopy.exp: Run the new test.
796 2018-02-26 Alan Modra <amodra@gmail.com>
798 * testsuite/binutils-all/mips/mips-reginfo-n32.d,
799 * testsuite/binutils-all/mips/mips-reginfo.d: Update.
801 2018-02-23 Alan Modra <amodra@gmail.com>
803 * testsuite/binutils-all/mips/mips-reginfo-n32.d,
804 * testsuite/binutils-all/mips/mips-reginfo.d: Update.
806 2018-02-20 Ronald Hoogenboom <hoogenboom30@zonnet.nl>
808 * doc/binutils.texi (objcopy): Add missing closing square
809 parenthesis to listing of objcopy's command line options.
811 2018-02-19 Matthias Klose <doko@debian.org>
813 * strings.c (long_options): Include-all-whitespace does not take
816 2018-02-13 Alan Modra <amodra@gmail.com>
819 * testsuite/binutils-all/group-7.s,
820 * testsuite/binutils-all/group-7a.d,
821 * testsuite/binutils-all/group-7b.d,
822 * testsuite/binutils-all/group-7c.d: New tests.
823 * testsuite/binutils-all/objcopy.exp: Run them.
825 2018-02-08 Nick Clifton <nickc@redhat.com>
828 * dwarf.c (load_separate_debug_file): Return early if the user is
829 not interested in debug links.
831 2018-02-06 Nick Clifton <nickc@redhat.com>
834 * readelf.c (find_section): Replace assertion with test and return
836 (find_section_by_address): Add test of section header table
838 (find_section_by_type): Likewise.
839 (find_section_in_set): Likewise.
841 2018-02-05 Maciej W. Rozycki <macro@mips.com>
843 * testsuite/binutils-all/mips/mips-reginfo.d: New test.
844 * testsuite/binutils-all/mips/mips-reginfo-n32.d: New test.
845 * testsuite/binutils-all/mips/mips-reginfo.s: New test source.
846 * testsuite/binutils-all/mips/mips.exp: Run the new tests.
848 2018-02-05 Maciej W. Rozycki <macro@mips.com>
850 * testsuite/config/default.exp (binutils_run): Document
851 `binutils_run_status'.
852 * testsuite/lib/utils-lib.exp (default_binutils_run): Likewise,
854 (run_dump_test): Add `error', `error_output', `warning' and
855 `warning_output' options. Update documentation accordingly.
857 2018-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
859 * dwarf.c (dwarf_regnames_riscv): New register name table.
860 (init_dwarf_regnames_riscv): New function.
861 (init_dwarf_regnames): Add call to initialise RiscV register
863 * dwarf.h (init_dwarf_regnames_riscv): Declare.
864 * objdump.c (dump_dwarf): Add call to initialise RiscV register
867 2018-02-01 Alan Modra <amodra@gmail.com>
870 * objdump.c (load_specific_debug_section): Check for overflow
871 when adding one to section size for a string section terminator.
873 2018-01-30 Nick Clifton <nickc@redhat.com>
876 * doc/binutils.texi (nm): Update description to point out that
877 zero-initialized values can also be shown as type B, b, S or s
878 since they can be stored in the BSS section.
880 2018-01-30 Alan Modra <amodra@gmail.com>
882 * objcopy.c (merge_gnu_build_notes): Use (bfd_vma) -1 as
883 "artificially large" end address.
885 2018-01-28 Nick Clifton <nickc@redhat.com>
887 * README-how-to-make-a-release: Add note about checking gpg key
888 and the results of gnupload.
890 2018-01-27 Nick Clifton <nickc@redhat.com>
892 * README-how-to-make-a-release: Add details on how to actually
895 2018-01-26 Nick Clifton <nickc@redhat.com>
897 * README-how-to-make-a-release: Add more details on updating
900 2018-01-22 Maciej W. Rozycki <macro@mips.com>
902 * doc/binutils.texi (objcopy): Fix a typo in `--rename-section'
905 2018-01-22 Maciej W. Rozycki <macro@mips.com>
907 * MAINTAINERS: Update my company e-mail address.
909 2018-01-22 Nick Clifton <nickc@redhat.com>
911 * po/sv.po: Updated Swedish translation.
913 2018-01-18 Nick Clifton <nickc@redhat.com>
915 * po/bg.po: Updated Bulgarian translation.
917 2018-01-16 Joel Brobecker <brobecker@adacore.com>
919 * README-how-to-make-a-release: Add reminder to update the
920 branch name in gdbadmin's crontab on sourceware.
922 2018-01-16 Joel Brobecker <brobecker@adacore.com>
924 * README-how-to-make-a-release: Remove trailing spaces.
926 2018-01-16 Nick Clifton <nickc@redhat.com>
928 * po/fr.po: Updated French translation.
930 2018-01-15 Nick Clifton <nickc@redhat.com>
932 * po/uk.po: Updated Ukranian translation.
934 2018-01-13 Nick Clifton <nickc@redhat.com>
936 * README-how-to-make-a-release: Update notes.
937 * po/binutils.pot: Regenerated.
939 2018-01-13 Nick Clifton <nickc@redhat.com>
941 * configure: Regenerate.
943 2018-01-13 Nick Clifton <nickc@redhat.com>
946 * NEWS: Add marker for 2.30.
948 2018-01-12 Nick Clifton <nickc@redhat.com>
950 * README-how-to-make-a-release: Add notes on how to make the
951 branch and prelease snapshot.
952 * BRANCHES: Add binutils-2_29-branch.
954 2018-01-10 Nick Clifton <nickc@redhat.com>
956 * MAINTAINERS: Note that it is now the configure.ac file and not
957 the configure.in file that needs to be kept in sync with gcc.
958 Add a note about sending patches for libiberty to gcc.
960 2018-01-03 Nick Clifton <nickc@redhat.com>
962 * objcopy.c (merge_gnu_build_notes): Add cast to maximum address
965 2018-01-03 Nick Clifton <nickc@redhat.com>
967 * objcopy.c (objcopy_internal_note): New structure.
968 (gap_exists): New function.
969 (is_open_note): New function.
970 (is_func_note): New function.
971 (is_64bit): New function.
972 (merge_gnu_build_notes): Handle v3 notes. Do not merge
973 if there are relocations against the notes.
974 * readelf.c (get_note_type): Use short names for build attribute
976 (print_symbol_for_build_attribute): Rename to
977 get_symbol_for_build_attribute. Returns the found symbol rather
979 (print_gnu_build_attribute_description): Maintain address ranges
980 for function notes as well as global notes. Handle v3 notes.
981 (print_gnu_build_attribute_name): Use more space for printing the
983 * testsuite/binutils-all/note-2-32.s: Use .dc.l instead of .word.
984 Eliminate symbol references in order to remove the need for
986 * testsuite/binutils-all/note-2-64.s: Likewise.
987 * testsuite/binutils-all/note-3-32.s: Add a size to the note_1
989 * testsuite/binutils-all/note-3-64.s: Likewise.
990 * testsuite/binutils-all/mips/mips-note-2r-n32.d: Update expected
992 * testsuite/binutils-all/mips/mips-note-2r-n64.d: Likewise.
993 * testsuite/binutils-all/mips/mips-note-2r.d: Likewise.
994 * testsuite/binutils-all/note-2-32.d: Likewise.
995 * testsuite/binutils-all/note-2-64.d: Likewise.
996 * testsuite/binutils-all/note-3-32.d: Likewise.
997 * testsuite/binutils-all/note-3-64.d: Likewise.
998 * testsuite/binutils-all/note-4-64.s: New test. Checks v3 notes.
999 * testsuite/binutils-all/note-4-32.s: New test.
1000 * testsuite/binutils-all/note-4-64.d: New test result file.
1001 * testsuite/binutils-all/note-4-32.d: New test result file.
1003 2018-01-03 Alan Modra <amodra@gmail.com>
1005 Update year range in copyright notice of all files.
1007 For older changes see ChangeLog-2017
1009 Copyright (C) 2018 Free Software Foundation, Inc.
1011 Copying and distribution of this file, with or without modification,
1012 are permitted in any medium without royalty provided the copyright
1013 notice and this notice are preserved.
1019 version-control: never