1 2018-08-29 Chenghua Xu <paul.hua.gm@gmail.com>
3 * readelf.c (print_mips_ases): Add Loongson EXT2 extension.
5 2018-08-29 Chenghua Xu <paul.hua.gm@gmail.com>
7 * readelf.c (print_mips_ases): Add Loongson EXT extension.
9 2018-08-29 Chenghua Xu <paul.hua.gm@gmail.com>
11 * readelf.c (print_mips_ases): Add CAM extension.
13 2018-08-27 H.J. Lu <hongjiu.lu@intel.com>
15 * readelf.c (decode_x86_isa): Print <None> if bitmask only
16 contains the GNU_PROPERTY_X86_UINT32_VALID bit.
17 (decode_x86_feature_1): Likewise.
18 (decode_x86_feature_2): Likewise.
19 (print_gnu_property_note): Don't mask out the
20 GNU_PROPERTY_X86_UINT32_VALID bit.
21 * testsuite/binutils-all/i386/pr21231b.d: Updated.
22 * testsuite/binutils-all/x86-64/pr21231b.d: Likewise.
24 2018-08-27 H.J. Lu <hongjiu.lu@intel.com>
26 * readelf.c (decode_x86_compat_isa): Break multi-statement line.
27 (decode_x86_isa): Likewise.
28 (decode_x86_feature_2): Likewise.
30 2018-08-25 H.J. Lu <hongjiu.lu@intel.com>
33 * readelf.c (get_symbol_version_string): Return _("<corrupt>")
34 for corrupt symbol version info.
36 2018-08-24 H.J. Lu <hongjiu.lu@intel.com>
38 * readelf.c (decode_x86_compat_isa): New function.
39 (decode_x86_feature_2): Likewise.
40 (decode_x86_isa): Updated for new X86_ISA_1_XXX bits.
41 (decode_x86_feature): Renamed to ...
42 (decode_x86_feature_1): This. Remove the type argument.
43 (print_gnu_property_note): Handle X86_COMPAT_ISA_1_USED,
44 X86_COMPAT_ISA_1_NEEDED, X86_UINT32_AND_LO, X86_UINT32_AND_HI,
45 X86_UINT32_OR_LO, X86_UINT32_OR_HI, X86_UINT32_OR_AND_LO and
46 X86_UINT32_OR_AND_HI instead of X86_ISA_1_USED, X86_ISA_1_NEEDED
47 and X86_FEATURE_1_AND.
48 * testsuite/binutils-all/i386/pr21231b.s: Updated to the current
49 GNU_PROPERTY_X86_ISA_1_USED and GNU_PROPERTY_X86_ISA_1_NEEDED
51 * testsuite/binutils-all/x86-64/pr21231b.s: Likewise.
52 * testsuite/binutils-all/x86-64/pr23494a.s: Likewise.
53 * testsuite/binutils-all/x86-64/pr23494b.s: Likewise.
54 * testsuite/binutils-all/x86-64/pr23494c.s: Likewise.
55 * testsuite/binutils-all/i386/pr21231b.d: Updated.
56 * testsuite/binutils-all/x86-64/pr21231b.d: Likewise.
57 * testsuite/binutils-all/x86-64/pr23494a-x32.d: Likewise.
58 * testsuite/binutils-all/x86-64/pr23494a.d: Likewise.
59 * testsuite/binutils-all/x86-64/pr23494c-x32.d: Likewise.
60 * testsuite/binutils-all/x86-64/pr23494c.d: Likewise.
61 * testsuite/binutils-all/x86-64/pr23494d-x32.d: Likewise.
62 * testsuite/binutils-all/x86-64/pr23494d.d: Likewise.
63 * testsuite/binutils-all/x86-64/pr23494e-x32.d: Likewise.
64 * testsuite/binutils-all/x86-64/pr23494e.d: Likewise.
66 2018-08-24 H.J. Lu <hongjiu.lu@intel.com>
68 * readelf.c (print_gnu_property_note): Check the
69 GNU_PROPERTY_X86_UINT32_VALID bit for invalid GNU property note.
71 2018-08-23 Alan Modra <amodra@gmail.com>
73 * readelf.c (get_ppc64_symbol_other): Return NULL if st_other
74 field contains unrecognised or reserved values. Handle
77 2018-08-23 H.J. Lu <hongjiu.lu@intel.com>
80 * Makefile.am (development.exp): New target.
81 (EXTRA_DEJAGNU_SITE_CONFIG): New.
82 (DISTCLEANFILES): Add development.exp.
83 * Makefile.in: Regenerated.
84 * testsuite/binutils-all/objcopy.exp (strip_test): Call
85 prune_warnings to prune BFD output.
86 (strip_test_with_saving_a_symbol): Likewise.
87 (objcopy_test_without_global_symbol): Likewise.
88 * testsuite/lib/binutils-common.exp (prune_warnings_extra):
90 (prune_warnings): Likewise.
92 2018-08-23 H.J. Lu <hongjiu.lu@intel.com>
94 * README-how-to-make-a-release: Document setting "experimental"
97 2018-08-22 Alan Modra <amodra@gmail.com>
99 * readelf.c (process_file_header): Assign updated values from
100 section_header[0] fields to e_phnum, e_shnum and e_shstrndx
101 during printing of header. Correct e_shstrndx range check.
102 Remove unnecessary casts and use %u rather than %ld for
103 unsigned int header fields. Don't print a random %lx when
104 reporting an unknown EI_VERSION.
106 2018-08-21 Nick Clifton <nickc@redhat.com>
108 * MAINTAINERS: Note that Arnold Metselaar has retired as the z80
111 2018-08-21 L. Simon <l.simon@samsung.com>
114 * readelf.c (hppa_process_unwind): Only dump the unwind table if
115 the data was successfully read in.
117 2018-08-18 Alan Modra <amodra@gmail.com>
119 * testsuite/lib/binutils-common.exp (is_elf64): Use directory of
120 input file for readelf.out.
122 * testsuite/binutils-all/objcopy.exp (elf64): Set new variable
123 from first result of is_elf64 test.
124 (reloc_format): Set using is_rela.
125 (strip-13): Pass RELOC and ELF64 to assembler.
126 (strip-14, strip-15): Use elf64 rather than calling is_elf64 again.
127 * testsuite/binutils-all/strip-13.d: Run for more targets.
128 * testsuite/binutils-all/strip-13mips64.s: Use RELOC and set
130 * testsuite/binutils-all/strip-13rel.s: Use RELOC and ELF64.
131 Don't add _NONE reloc.
132 * testsuite/binutils-all/strip-13rela.s: Likewise.
134 2018-08-10 H.J. Lu <hongjiu.lu@intel.com>
137 * testsuite/binutils-all/x86-64/pr23494c.s: New file.
138 * testsuite/binutils-all/x86-64/pr23494e-x32.d: Likewise.
139 * testsuite/binutils-all/x86-64/pr23494e.d: Likewise.
141 2018-08-10 H.J. Lu <hongjiu.lu@intel.com>
143 * testsuite/binutils-all/x86-64/pr23494a-x32.d: Skip nacl
145 * testsuite/binutils-all/x86-64/pr23494a.d: Likewise.
146 * testsuite/binutils-all/x86-64/pr23494b-x32.d: Likewise.
147 * testsuite/binutils-all/x86-64/pr23494b.d: Likewise.
148 * testsuite/binutils-all/x86-64/pr23494c-x32.d: Likewise.
149 * testsuite/binutils-all/x86-64/pr23494c.d: Likewise.
150 * testsuite/binutils-all/x86-64/pr23494d-x32.d: Likewise.
151 * testsuite/binutils-all/x86-64/pr23494d.d: Likewise.
153 2018-08-08 H.J. Lu <hongjiu.lu@intel.com>
156 * testsuite/binutils-all/x86-64/pr23494a-x32.d: New file.
157 * testsuite/binutils-all/x86-64/pr23494a.d: Likewise.
158 * testsuite/binutils-all/x86-64/pr23494a.s: Likewise.
159 * testsuite/binutils-all/x86-64/pr23494b-x32.d: Likewise.
160 * testsuite/binutils-all/x86-64/pr23494b.d: Likewise.
161 * testsuite/binutils-all/x86-64/pr23494b.s: Likewise.
162 * testsuite/binutils-all/x86-64/pr23494c-x32.d: Likewise.
163 * testsuite/binutils-all/x86-64/pr23494c.d: Likewise.
164 * testsuite/binutils-all/x86-64/pr23494d-x32.d: Likewise.
165 * testsuite/binutils-all/x86-64/pr23494d.d: Likewise.
167 2018-08-08 Kevin Buettner <kevinb@redhat.com>
169 * dwarf.c (decode_location_expresion): Add case for
170 DW_OP_GNU_variable_value.
172 2018-08-06 Claudiu Zissulescu <claziss@synopsys.com>
174 * readelf.c (display_arc_attribute): Print Tag_ARC_ATR_version.
176 2018-08-03 Nick Clifton <nickc@redhat.com>
178 * objcopy.c (merge_gnu_build_notes): Delete empty notes. Merge
179 identical function notes.
181 2018-08-01 Nick Clifton <nickc@redhat.com>
183 * README-how-to-make-a-release: Add note about regenerating the
184 info files prior to the release.
186 2018-07-30 Andrew Jenner <andrew@codesourcery.com>
188 * MAINTAINERS (C-SKY): Add Yunhai Shang as co-maintainer.
190 2018-07-30 Andrew Jenner <andrew@codesourcery.com>
192 * MAINTAINERS (C-SKY): Add Lifang Xia as maintainer.
194 2018-07-30 Andrew Jenner <andrew@codesourcery.com>
196 * readelf.c: Include elf/csky.h.
197 (guess_is_rela): Handle EM_CSKY.
198 (dump_relocations): Likewise.
199 (get_machine_name): Likewise.
200 (is_32bit_abs_reloc): Likewise.
202 2018-07-25 Nick Clifton <nickc@redhat.com>
204 * rdcoff.c (parse_coff_struct_type): Free fields array upon early
206 (parse_coff_enum_type): Free names and vals arrays upon early
208 * rddbg.c (read_section_stabs_debugging_info): Free shandle and
209 strings and stabs arrays upon early exit.
210 * readelf.c (get_32bit_section_headers): Free shdrs structure upon
212 (get_64bit_section_headers): Likewise.
213 (get_32bit_elf_symbols): Generate an error if multiple symbol
214 table index sections are associated with the same symbol section.
215 (get_64bit_elf_symbols): Likewise.
216 (process_dynamic_section): Generate an error if there are multiple
217 dynamic symbol table sections, multiple dynamic string tables or
218 multiple dynamic symbol information sections.
220 2018-07-24 Nick Clifton <nickc@redhat.com>
222 * po/sv.po: Updated Swedish translation.
224 2018-07-24 Alan Modra <amodra@gmail.com>
227 * dwarf.c (display_formatted_table): Replace "what" parameter
228 with "is_dir". Expand messages. Fix capitalisation.
229 * testsuite/binutils-all/dw5.W: Update expected output.
231 2018-07-24 Alan Modra <amodra@gmail.com>
234 * elfcomm.h (struct archive_info): Rename uses_64bit_indicies
235 to uses_64bit_indices.
236 * elfcomm.c (setup_archive): Update uses of above.
237 * readelf.c (process_archive): Likewise.
238 (get_section_type_name): Rename indicies to indices.
239 (get_32bit_elf_symbols, get_64bit_elf_symbols): Likewise.
240 (process_section_groups): Likewise.
242 2018-07-20 Maciej W. Rozycki <macro@mips.com>
244 * MAINTAINERS: Update my e-mail address, downgrade to MIPS I-IV
247 2018-07-20 Nick Clifton <nickc@redhat.com>
249 * objcopy.c (add_specific_symbols): Free buffer on exit.
250 (add_redefine_syms_file): Close file handle on exit.
251 (copy_object): Close file handle on early exit.
252 Free buffer on early exit.
253 Free gaps buffers once they are no longer needed.
254 * dwarf.c (display_debug_frames): Free allocated memory on exit.
255 (load_separate_debug_info): Free allocate memory on early exit.
257 2018-07-20 Chenghua Xu <paul.hua.gm@gmail.com>
258 Maciej W. Rozycki <macro@mips.com>
260 * readelf.c (print_mips_ases): Add MMI extension.
262 2018-07-19 DJ Delorie <dj@redhat.com>
264 * MAINTAINERS (RL78, RX): Remove myself as maintainer.
266 2018-07-19 Nick Clifton <nickc@redhat.com>
268 * dwarf.c (read_cie): Free allocated memory before returning with
271 2018-07-16 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
273 * readelf.c (get_note_type): Fix typo in NT_PPC_TM_CVSX note
276 2018-07-16 Nick Clifton <nickc@redhat.com>
278 * README-how-to-make-a-release: Add note to check for new top
279 level files and add them to the src-release.sh script.
281 2018-07-14 Nick Clifton <nickc@redhat.com>
283 * README-how-to-make-a-release: Updated with corrections based on
284 the 2.31 release experience.
286 2018-07-12 Francois H. Theron <francois.theron@netronome.com>
288 * readelf.c (process_section_headers): Don't print section type
289 twice for --section-details.
291 2018-07-10 Alan Modra <amodra@gmail.com>
293 * testsuite/lib/binutils-common.exp (supports_gnu_unique): Return
296 2018-07-06 Nick Clifton <nickc@redhat.com>
298 * readelf.c (same_section): New function.
299 (print_gnu_build_attribute_description): Do not complain about
300 gaps that cross a section boundary.
302 2018-07-05 Nick Clifton <nickc@redhat.com>
304 * po/bg.po: Updated Bulgarian translation.
306 2018-07-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
308 * NEWS: Use command-line consistently when used in a compount word.
309 * doc/binutils.texi: Likewise and fix trailing whitespace on same
312 2018-06-26 Nick Clifton <nickc@redhat.com>
314 * po/sv.po: Updated Swedish translation.
315 * po/uk.po: Updated Ukranian translation.
317 2018-06-26 Nick Clifton <nickc@redhat.com>
319 * doc/binutils.texi: Fix spelling mistakes.
320 * README--how-to-make-a-release: Likewise.
322 2018-06-25 Tom Tromey <tom@tromey.com>
324 * dwarf-mode.el (dwarf-mode-syntax-table): New variable.
327 2018-06-24 Nick Clifton <nickc@redhat.com>
329 * README-how-to-make-a-release: Update with experiences from
331 * po/binutils.pot: Regenerate.
332 * configure: Regenerate.
334 2018-06-24 Nick Clifton <nickc@redhat.com>
337 * NEWS: Add marker for 2.31.
339 2018-06-21 Alan Modra <amodra@gmail.com>
341 * doc/Makefile.am (AUTOMAKE_OPTIONS): Add "foreign".
342 * doc/Makefile.in: Regenerate.
344 2018-06-19 Simon Marchi <simon.marchi@ericsson.com>
346 * configure.ac: Remove AC_PREREQ.
347 * doc/Makefile.am (AUTOMAKE_OPTIONS): Remove cygnus, add
348 info-in-builddir no-texinfo.tex.
349 * Makefile.in: Re-generate.
350 * aclocal.m4: Re-generate.
351 * config.in: Re-generate.
352 * configure: Re-generate.
353 * doc/Makefile.in: Re-generate.
355 2018-06-19 Andreas Schwab <schwab@suse.de>
357 * readelf.c (is_16bit_abs_reloc): Handle R_RISCV_SET16.
358 (is_8bit_abs_reloc): New function.
359 (is_6bit_abs_reloc): New function.
360 (is_6bit_inplace_sub_reloc): New function.
361 (apply_relocations): Use them. Handle 6-bit relocations.
363 2018-06-14 Faraz Shahbazker <Faraz.Shahbazker@mips.com>
365 * readelf.c (print_mips_ases): Add GINV extension.
367 2018-06-14 H.J. Lu <hongjiu.lu@intel.com>
370 * readelf.c (get_symbol_version_string): Check if the first
371 symbol version is base version.
373 2018-06-13 Scott Egerton <scott.egerton@imgtec.com>
374 Faraz Shahbazker <Faraz.Shahbazker@mips.com>
376 * readelf.c (print_mips_ases): Add CRC.
378 2018-06-13 Nick Clifton <nickc@redhat.com>
380 * doc/binutils.texi (objdump): Add missing closing square
381 parenthesis to listing of objcopy's command line options.
383 2018-06-11 Nick Clifton <nickc@redhat.com>
385 * po/es.po: Updated Spanish translation.
387 2018-06-01 H.J. Lu <hongjiu.lu@intel.com>
389 * configure: Regenerated.
391 2018-05-31 Alan Modra <amodra@gmail.com>
393 * testsuite/binutils-all/compress.exp (test_gnu_debuglink): Don't
394 set CC_FOR_TARGET. Run test non-native.
395 * testsuite/binutils-all/objdump.exp (test_build_id_debuglink):
397 (test_follow_debuglink): Run test non-native.
399 2018-05-30 Ant Bikeneev <ant.bikineev@gmail.com>
402 * ar.c (display_offsets): New variable.
403 (usage): Add description of 'O' operator.
404 (decode_option): Handle 'O' operator.
405 (print_descr): Pass display_offsets to print_arelt_descr.
406 * arsup.c: Update call to printy_arelt_descr.
407 * objdump.c: Likewise.
408 * bucomm.c (print_arelt_descr): If offsets parameter is true then
409 display offset of archive element within the archive.
410 * bucomm.h: Update prototype for print_arelt_descr.
411 * doc/binutils.texi: Update description of ar command.
412 * NEWS: Mention the new feature.
413 * testsuite/binutils-all/ar.exp: Add text of new feature.
415 2018-05-28 Alan Modra <amodra@gmail.com>
418 * testsuite/binutils-all/compress.exp (test_gnu_debuglink): Return
419 unsupported rather than fail on compile errors.
420 * testsuite/binutils-all/objdump.exp (test_build_id_debuglink):
421 Likewise. Save and restore CFLAGS_FOR_TARGET.
423 2018-05-18 Kito Cheng <kito.cheng@gmail.com>
425 * readelf.c (get_machine_flags): Handle EF_RISCV_RVE.
427 2018-05-18 John Darrington <john@darrington.wattle.id.au>
429 * readelf.c: Add support for s12z architecture.
430 * testsuite/lib/binutils-common.exp (is_elf_format): Excluse s12z
433 2018-05-15 Tamar Christina <tamar.christina@arm.com>
436 * doc/binutils.texi (-M): Document AArch64 options.
438 2018-05-15 Tamar Christina <tamar.christina@arm.com>
441 * doc/binutils.texi (-M): Document AArch64 options.
442 * NEWS: Document notes and warnings.
444 2018-05-15 Alan Modra <amodra@gmail.com>
446 * testsuite/lib/binutils-common.exp (is_elf_format): Add chorus,
447 cloudabi, fuchsia, kaos and nto. Merge netbsdelf* into *elf*,
448 and *uclinux* into *linux*.
449 * testsuite/binutils-all/objcopy.exp: Accept armeb for rel
450 strip-13 test, exclude arm-vxworks and arm-windiss.
452 2018-05-10 John Darrington <john@darrington.wattle.id.au>
454 * readelf.c (get_machine_name): EM_S12Z - handle new case.
456 2018-05-09 Alan Modra <amodra@gmail.com>
458 * od-macho.c (dump_unwind_encoding_x86): Fix typo in last patch.
460 2018-05-09 Sebastian Rasmussen <sebras@gmail.com>
462 * od-macho.c (dump_unwind_encoding_x86): Adjust for macro renaming.
464 2018-05-08 Alan Modra <amodra@gmail.com>
467 * objcopy.c (is_strip_section): Strip groups without a valid
470 2018-05-07 Alan Modra <amodra@gmail.com>
473 * objcopy.c (group_signature): Don't accept groups that use a
474 symbol table other than the one we've read.
476 2018-04-30 Francois H. Theron <francois.theron@netronome.com>
478 * readelf.c: Very basic support for EM_NFP and its section types.
479 * testsuite/binutils-all/nfp: New directory.
480 * testsuite/binutils-all/nfp/objdump.exp: New file. Run new
482 * testsuite/binutils-all/nfp/test2_ctx8.d: New file.
483 * testsuite/binutils-all/nfp/test2_no-pc_ctx4.d: New file.
484 * testsuite/binutils-all/nfp/test1.d: New file.
485 * testsuite/binutils-all/nfp/nfp6000.nffw: New file.
486 * testsuite/binutils-all/nfp/test2_nfp6000.nffw: New file.
487 * NEWS: Mention the new support.
489 2018-04-27 Maciej W. Rozycki <macro@mips.com>
491 * testsuite/lib/binutils-common.exp (match_target): New procedure.
492 * testsuite/lib/utils-lib.exp (run_dump_test): Use it in place
493 of `istarget' for matching with `target', `not-target', `skip'
494 and `not-skip' options.
496 2018-04-26 Nick Clifton <nickc@redhat.com>
498 * readelf.c (is_32bit_abs_reloc): Support R_PARISC_DIR32 as a
499 32-bit absolute reloc for the HPPA target.
500 * testsuite/binutils-all/note-5.d: New test.
501 * testsuite/binutils-all/note-5.s: Source file for new test.
502 * testsuite/binutils-all/objcopy.exp: Run new test.
504 2018-04-25 Christophe Lyon <christophe.lyon@st.com>
506 * testsuite/binutils-all/elfedit-2.d: Accept arm*-*-uclinuxfdpiceabi.
507 * testsuite/binutils-all/elfedit-3.d: Likewise.
508 * testsuite/binutils-all/objcopy.exp: Likewise.
509 * testsuite/binutils-all/strip-3.d: Likewise.
510 * testsuite/lib/binutils-common.exp: Likewise.
512 2018-04-25 Christophe Lyon <christophe.lyon@st.com>
513 Mickaël Guêné <mickael.guene@st.com>
515 * readelf.c (decode_ARM_machine_flags): Support EF_ARM_PIC.
516 (get_osabi_name): Support ELFOSABI_ARM_FDPIC.
518 2018-04-25 Alan Modra <amodra@gmail.com>
520 * testsuite/binutils-all/arm/objdump.exp: Remove arm-aout and
522 * testsuite/binutils-all/objcopy.exp: Likewise.
523 * testsuite/lib/binutils-common.exp: Likewise.
525 2018-04-18 Nick Clifton <nickc@redhat.com>
528 * dwarf.c (read_and_display_attr_value): Replace assertions with
529 test and warning message.
531 2018-04-18 Alan Modra <amodra@gmail.com>
533 * testsuite/lib/binutils-common.exp: Remove support for assorted
536 2018-04-17 Nick Clifton <nickc@redhat.com>
539 * readelf.c (print_symbol): If the width is zero, return straight
543 * dwarf.c (process_cu_tu_index): Test for a potential buffer
544 overrun before copying signature pointer.
546 2018-04-17 Alan Modra <amodra@gmail.com>
548 * readelf.c: Revert 2018-04-16 and 2018-04-11 changes.
550 2018-04-16 Alan Modra <amodra@gmail.com>
552 * readelf.c (get_machine_name): Correct typo.
554 2018-04-16 Alan Modra <amodra@gmail.com>
556 * configure.ac: Remove arm-epoc-pe support.
557 * dlltool.c: Likewise.
558 * configure: Regenerate.
560 2018-04-16 Alan Modra <amodra@gmail.com>
562 * testsuite/lib/binutils-common.exp: Remove sparc-aout and
565 2018-04-16 Alan Modra <amodra@gmail.com>
567 * testsuite/binutils-all/copy-2.d: Remove m68k-aout and m68k-coff
569 * testsuite/binutils-all/copy-3.d: Likewise.
570 * testsuite/binutils-all/objcopy.exp: Likewise.
571 * testsuite/lib/binutils-common.exp: Likewise.
573 2018-04-16 Alan Modra <amodra@gmail.com>
575 * testsuite/binutils-all/objcopy.exp: Remove sh5 and sh64 support.
577 2018-04-16 Alan Modra <amodra@gmail.com>
579 * testsuite/binutils-all/objcopy.exp: Remove w65 support.
581 2018-04-16 Alan Modra <amodra@gmail.com>
583 * testsuite/binutils-all/objdump.exp: Remove we32k support.
585 2018-04-16 Alan Modra <amodra@gmail.com>
587 * MAINTAINERS (Mark Kettenis): Move to past maintainers.
588 * testsuite/binutils-all/objdump.exp: Remove m88k support.
590 2018-04-16 Alan Modra <amodra@gmail.com>
592 * readelf.c: Remove i370 support.
593 * testsuite/binutils-all/objdump.exp: Likewise.
595 2018-04-16 Alan Modra <amodra@gmail.com>
597 * testsuite/binutils-all/objcopy.exp: Remove h8500 support.
598 * testsuite/lib/binutils-common.exp: Likewise.
600 2018-04-16 Alan Modra <amodra@gmail.com>
602 * testsuite/binutils-all/objcopy.exp: Remove h8300-coff support.
604 2018-04-16 Alan Modra <amodra@gmail.com>
606 * Makefile.am: Remove IEEE 695 support.
608 * doc/binutils.texi: Likewise.
609 * makefile.vms: Likewise.
610 * objcopy.c: Likewise.
611 * objdump.c: Likewise.
614 * Makefile.in: Regenerate.
615 * po/POTFILES.in: Regenerate.
617 2018-04-16 Alan Modra <amodra@gmail.com>
619 * testsuite/binutils-all/copy-2.d: Remove newsos3 support.
620 * testsuite/binutils-all/nm.exp: Likewise.
622 2018-04-16 Alan Modra <amodra@gmail.com>
624 * .gitignore: Remove netware support.
625 * Makefile.am: Likewise.
626 * configure.ac: Likewise.
627 * doc/Makefile.am: Likewise.
628 * doc/binutils.texi: Likewise.
629 * testsuite/binutils-all/nm.exp: Likewise.
632 * nlmheader.y: Delete.
633 * Makefile.in: Regenerate.
634 * configure: Regenerate.
635 * doc/Makefile.in: Regenerate.
636 * po/POTFILES.in: Regenerate.
638 2018-04-16 Alan Modra <amodra@gmail.com>
640 * testsuite/binutils-all/objdump.exp: Remove tahoe support.
642 2018-04-14 Alan Modra <amodra@gmail.com>
644 * readelf.c (get_machine_name): Revert 2018-04-11 change.
646 2018-04-12 Nick Clifton <nickc@redhat.com>
649 * readelf.c (process_dynamic_section): Correct dynamic string
650 table size calculation.
652 2018-04-11 Alan Modra <amodra@gmail.com>
654 * ieee.c: Remove i960 support.
655 * od-macho.c: Remove i860 support.
656 * readelf.c: Remove i860 and i960 support.
657 * testsuite/binutils-all/objcopy.exp: Likewise.
658 * testsuite/binutils-all/objdump.exp: Likewise.
659 * testsuite/lib/binutils-common.exp: Likewise.
661 2018-04-11 Maciej W. Rozycki <macro@mips.com>
663 * testsuite/lib/binutils-common.exp (is_elf_format): Also return
664 1 for `*-*-lynxos*' and `*-*-symbianelf*' targets.
666 2018-04-10 Alan Modra <amodra@gmail.com>
668 * testsuite/binutils-all/objcopy.exp (strip-14, strip-15): Choose
669 reloc=11 for pru and reloc=50 for nds32.
670 * testsuite/binutils-all/strip-15.d: Accept 0xb reloc number.
672 2018-04-09 Maciej W. Rozycki <macro@mips.com>
674 * testsuite/binutils-all/strip-15.d: New test.
675 * testsuite/binutils-all/strip-15rel.s: New test source.
676 * testsuite/binutils-all/strip-15rela.s: New test source.
677 * testsuite/binutils-all/strip-15mips64.s: New test source.
678 * testsuite/binutils-all/objcopy.exp: Run the new test.
680 2018-04-09 Maciej W. Rozycki <macro@mips.com>
682 * testsuite/binutils-all/strip-14.d: New test.
683 * testsuite/binutils-all/strip-14rel.s: New test source.
684 * testsuite/binutils-all/strip-14rela.s: New test source.
685 * testsuite/binutils-all/strip-14mips64.s: New test source.
686 * testsuite/binutils-all/objcopy.exp: Run the new test.
688 2018-04-06 Tom Tromey <tom@tromey.com>
690 * dwarf.c (read_and_display_attr_value): Add missing DW_LANG
691 constants from DWARF 5.
693 2018-04-05 H.J. Lu <hongjiu.lu@intel.com>
696 * configure: Regenerated.
698 2018-04-05 Maciej W. Rozycki <macro@mips.com>
700 * testsuite/binutils-all/strip-13mips64.s: Use `.dc.l' rather
701 than `.dc.w' in second relocation.
703 2018-04-05 Maciej W. Rozycki <macro@mips.com>
705 * testsuite/binutils-all/strip-13.d: Also expect `unsupported
706 relocation type 0x8f' error message.
708 2018-04-05 Maciej W. Rozycki <macro@mips.com>
710 * testsuite/binutils-all/strip-13.s: Rename to...
711 * testsuite/binutils-all/strip-13rela.s: ... this.
712 * testsuite/binutils-all/strip-13rel.s: New test source.
713 * testsuite/binutils-all/strip-13mips64.s: New test source.
714 * testsuite/binutils-all/strip-13.d: Remove `arm-*', `d10v-*',
715 `dlx-*' and `xgate-*' from `not-target' list. Add `m6811-*' and
716 `m68hc11-*' to `not-target' list.
717 * testsuite/binutils-all/objcopy.exp: Switch between sources for
720 2018-04-05 Maciej W. Rozycki <macro@mips.com>
722 * testsuite/binutils-all/strip-13.s: Use 143 (0x8f) rather than
723 241 (0xf1) for the relocation number and RELA addend.
724 * testsuite/binutils-all/strip-13.d: Remove `hppa*-*' from the
727 2018-04-04 John David Anglin <danglin@gcc.gnu.org>
729 * MAINTAINERS: Update my e-mail address.
731 2018-04-04 Nick Clifton <nickc@redhat.com>
733 * MAINTAINERS: Move Jason Eckhardt to past maintainers section.
735 2018-03-23 Nick Clifton <nickc@redhat.com>
737 * readelf.c (get_symbol_for_build_attribute): Skip ARM mapping
739 (print_gnu_build_attribute_description): If no file start symbol
740 could be found, look for one two bytes into the file.
741 * testsuite/binutils-all/note-4-64.s: Set the address of the file
742 start symbol to two bytes into the file.
743 * testsuite/binutils-all/note-4-32.s: Likewise.
745 2018-03-21 H.J. Lu <hongjiu.lu@intel.com>
747 * readelf.c (process_dynamic_section): Also dump DF_1_KMOD,
748 DF_1_WEAKFILTER and DF_1_NOCOMMON.
750 2018-03-20 Nick Clifton <nickc@redhat.com>
752 * po/es.po: Updated Spanish translation.
753 * po/ru.po: Updated Russian translation.
755 2018-03-13 Nick Clifton <nickc@redhat.com>
758 * stabs.c (pop_binincl): Fail if the file index is off the end of
761 2018-03-13 Nick Clifton <nickc@redhat.com>
764 * stabs.c (parse_number): Add p_end parameter and use it to check
765 the validity of the pp parameter. Add checks to prevent walking
766 off the end of the string buffer.
767 (parse_stab_string): Likewise.
768 (parse_stab_type): Likewise.
769 (parse_stab_type_number): Likewise.
770 (parse_stab_range_type): Likewise.
771 (parse_stab_sun_builtin_type): Likewise.
772 (parse_stab_sun_floating_type): Likewise.
773 (parse_stab_enum_type): Likewise.
774 (parse_stab_struct_type): Likewise.
775 (parse_stab_baseclasses): Likewise.
776 (parse_stab_struct_fields): Likewise.
777 (parse_stab_cpp_abbrev): Likewise.
778 (parse_stab_one_struct_field): Likewise.
779 (parse_stab_members): Likewise.
780 (parse_stab_tilde_field): Likewise.
781 (parse_stab_array_type): Likewise.
783 * parse_stab: Compute the end of the string and then pass it on to
784 individual parser functions.
786 2018-03-07 Paul Pluzhnikov <ppluzhnikov@google.com>
789 * binutils/readelf.c (get_ver_flags): Expand buffer to avoid
792 2018-03-07 Alan Modra <amodra@gmail.com>
794 * configure.ac: Add objdump_private_desc_xcoff for rs6000.
795 * configure: Regenerate.
797 2018-03-05 H.J. Lu <hongjiu.lu@intel.com>
800 * objdump.c (is_significant_symbol_name): Return TRUE for all
802 (find_symbol_for_address): Replace linear search with binary
803 search on dynamic relocations.
805 2018-03-01 Nick Clifton <nickc@redhat.com>
808 * dwarf.c (display_debug_ranges): Check that the offset loaded
809 from the range_entry structure is valid.
811 2018-03-01 Alan Modra <amodra@gmail.com>
813 * configure.ac (ALL_LINGUAS): Add sr. Sort.
814 * configure: Regenerate.
816 2018-02-27 Nick Clifton <nickc@redhat.com>
818 * po/pt.po: New Portuguese translation.
819 * configure.ac (ALL_LINGUAS): Add pt.
820 * configure: Regenerate.
822 2018-02-27 Nick Clifton <nickc@redhat.com>
825 * objcopy.c (copy_object): Check the error status after marking
826 symbols used in relocations.
827 * testsuite/binutils-all/strip-13.s: New test source file.
828 * testsuite/binutils-all/strip-13.s: New test driver file.
829 * testsuite/binutils-all/objcopy.exp: Run the new test.
831 2018-02-26 Alan Modra <amodra@gmail.com>
833 * testsuite/binutils-all/mips/mips-reginfo-n32.d,
834 * testsuite/binutils-all/mips/mips-reginfo.d: Update.
836 2018-02-23 Alan Modra <amodra@gmail.com>
838 * testsuite/binutils-all/mips/mips-reginfo-n32.d,
839 * testsuite/binutils-all/mips/mips-reginfo.d: Update.
841 2018-02-20 Ronald Hoogenboom <hoogenboom30@zonnet.nl>
843 * doc/binutils.texi (objcopy): Add missing closing square
844 parenthesis to listing of objcopy's command line options.
846 2018-02-19 Matthias Klose <doko@debian.org>
848 * strings.c (long_options): Include-all-whitespace does not take
851 2018-02-13 Alan Modra <amodra@gmail.com>
854 * testsuite/binutils-all/group-7.s,
855 * testsuite/binutils-all/group-7a.d,
856 * testsuite/binutils-all/group-7b.d,
857 * testsuite/binutils-all/group-7c.d: New tests.
858 * testsuite/binutils-all/objcopy.exp: Run them.
860 2018-02-08 Nick Clifton <nickc@redhat.com>
863 * dwarf.c (load_separate_debug_file): Return early if the user is
864 not interested in debug links.
866 2018-02-06 Nick Clifton <nickc@redhat.com>
869 * readelf.c (find_section): Replace assertion with test and return
871 (find_section_by_address): Add test of section header table
873 (find_section_by_type): Likewise.
874 (find_section_in_set): Likewise.
876 2018-02-05 Maciej W. Rozycki <macro@mips.com>
878 * testsuite/binutils-all/mips/mips-reginfo.d: New test.
879 * testsuite/binutils-all/mips/mips-reginfo-n32.d: New test.
880 * testsuite/binutils-all/mips/mips-reginfo.s: New test source.
881 * testsuite/binutils-all/mips/mips.exp: Run the new tests.
883 2018-02-05 Maciej W. Rozycki <macro@mips.com>
885 * testsuite/config/default.exp (binutils_run): Document
886 `binutils_run_status'.
887 * testsuite/lib/utils-lib.exp (default_binutils_run): Likewise,
889 (run_dump_test): Add `error', `error_output', `warning' and
890 `warning_output' options. Update documentation accordingly.
892 2018-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
894 * dwarf.c (dwarf_regnames_riscv): New register name table.
895 (init_dwarf_regnames_riscv): New function.
896 (init_dwarf_regnames): Add call to initialise RiscV register
898 * dwarf.h (init_dwarf_regnames_riscv): Declare.
899 * objdump.c (dump_dwarf): Add call to initialise RiscV register
902 2018-02-01 Alan Modra <amodra@gmail.com>
905 * objdump.c (load_specific_debug_section): Check for overflow
906 when adding one to section size for a string section terminator.
908 2018-01-30 Nick Clifton <nickc@redhat.com>
911 * doc/binutils.texi (nm): Update description to point out that
912 zero-initialized values can also be shown as type B, b, S or s
913 since they can be stored in the BSS section.
915 2018-01-30 Alan Modra <amodra@gmail.com>
917 * objcopy.c (merge_gnu_build_notes): Use (bfd_vma) -1 as
918 "artificially large" end address.
920 2018-01-28 Nick Clifton <nickc@redhat.com>
922 * README-how-to-make-a-release: Add note about checking gpg key
923 and the results of gnupload.
925 2018-01-27 Nick Clifton <nickc@redhat.com>
927 * README-how-to-make-a-release: Add details on how to actually
930 2018-01-26 Nick Clifton <nickc@redhat.com>
932 * README-how-to-make-a-release: Add more details on updating
935 2018-01-22 Maciej W. Rozycki <macro@mips.com>
937 * doc/binutils.texi (objcopy): Fix a typo in `--rename-section'
940 2018-01-22 Maciej W. Rozycki <macro@mips.com>
942 * MAINTAINERS: Update my company e-mail address.
944 2018-01-22 Nick Clifton <nickc@redhat.com>
946 * po/sv.po: Updated Swedish translation.
948 2018-01-18 Nick Clifton <nickc@redhat.com>
950 * po/bg.po: Updated Bulgarian translation.
952 2018-01-16 Joel Brobecker <brobecker@adacore.com>
954 * README-how-to-make-a-release: Add reminder to update the
955 branch name in gdbadmin's crontab on sourceware.
957 2018-01-16 Joel Brobecker <brobecker@adacore.com>
959 * README-how-to-make-a-release: Remove trailing spaces.
961 2018-01-16 Nick Clifton <nickc@redhat.com>
963 * po/fr.po: Updated French translation.
965 2018-01-15 Nick Clifton <nickc@redhat.com>
967 * po/uk.po: Updated Ukranian translation.
969 2018-01-13 Nick Clifton <nickc@redhat.com>
971 * README-how-to-make-a-release: Update notes.
972 * po/binutils.pot: Regenerated.
974 2018-01-13 Nick Clifton <nickc@redhat.com>
976 * configure: Regenerate.
978 2018-01-13 Nick Clifton <nickc@redhat.com>
981 * NEWS: Add marker for 2.30.
983 2018-01-12 Nick Clifton <nickc@redhat.com>
985 * README-how-to-make-a-release: Add notes on how to make the
986 branch and prelease snapshot.
987 * BRANCHES: Add binutils-2_29-branch.
989 2018-01-10 Nick Clifton <nickc@redhat.com>
991 * MAINTAINERS: Note that it is now the configure.ac file and not
992 the configure.in file that needs to be kept in sync with gcc.
993 Add a note about sending patches for libiberty to gcc.
995 2018-01-03 Nick Clifton <nickc@redhat.com>
997 * objcopy.c (merge_gnu_build_notes): Add cast to maximum address
1000 2018-01-03 Nick Clifton <nickc@redhat.com>
1002 * objcopy.c (objcopy_internal_note): New structure.
1003 (gap_exists): New function.
1004 (is_open_note): New function.
1005 (is_func_note): New function.
1006 (is_64bit): New function.
1007 (merge_gnu_build_notes): Handle v3 notes. Do not merge
1008 if there are relocations against the notes.
1009 * readelf.c (get_note_type): Use short names for build attribute
1011 (print_symbol_for_build_attribute): Rename to
1012 get_symbol_for_build_attribute. Returns the found symbol rather
1014 (print_gnu_build_attribute_description): Maintain address ranges
1015 for function notes as well as global notes. Handle v3 notes.
1016 (print_gnu_build_attribute_name): Use more space for printing the
1018 * testsuite/binutils-all/note-2-32.s: Use .dc.l instead of .word.
1019 Eliminate symbol references in order to remove the need for
1021 * testsuite/binutils-all/note-2-64.s: Likewise.
1022 * testsuite/binutils-all/note-3-32.s: Add a size to the note_1
1024 * testsuite/binutils-all/note-3-64.s: Likewise.
1025 * testsuite/binutils-all/mips/mips-note-2r-n32.d: Update expected
1027 * testsuite/binutils-all/mips/mips-note-2r-n64.d: Likewise.
1028 * testsuite/binutils-all/mips/mips-note-2r.d: Likewise.
1029 * testsuite/binutils-all/note-2-32.d: Likewise.
1030 * testsuite/binutils-all/note-2-64.d: Likewise.
1031 * testsuite/binutils-all/note-3-32.d: Likewise.
1032 * testsuite/binutils-all/note-3-64.d: Likewise.
1033 * testsuite/binutils-all/note-4-64.s: New test. Checks v3 notes.
1034 * testsuite/binutils-all/note-4-32.s: New test.
1035 * testsuite/binutils-all/note-4-64.d: New test result file.
1036 * testsuite/binutils-all/note-4-32.d: New test result file.
1038 2018-01-03 Alan Modra <amodra@gmail.com>
1040 Update year range in copyright notice of all files.
1042 For older changes see ChangeLog-2017
1044 Copyright (C) 2018 Free Software Foundation, Inc.
1046 Copying and distribution of this file, with or without modification,
1047 are permitted in any medium without royalty provided the copyright
1048 notice and this notice are preserved.
1054 version-control: never