1 2018-09-13 H.J. Lu <hongjiu.lu@intel.com>
4 * testsuite/binutils-all/objcopy.exp: Run pr23633.
5 * testsuite/binutils-all/pr23633.d: New file.
6 * testsuite/binutils-all/pr23633.list: Likewise.
7 * testsuite/binutils-all/pr23633.s: Likewise.
9 2018-09-13 Nick Clifton <nickc@redhat.com>
12 * objcopy.c (add_specific_symbols): Do not free the buffer at the
15 2018-09-10 Alan Modra <amodra@gmail.com>
18 * objcopy.c (handle_remove_section_option): Consider .rela and
19 .rel sections for stripping directly as well as attached to the
20 associated section they relocate.
21 * doc/binutils.texi (remove-relocations): Specify that this
22 option removes non-dynamic relocation sections.
23 * testsuite/binutils-all/objcopy.exp
24 (objcopy_remove_relocations_from_executable): New test.
26 2018-09-03 Nick Clifton <nickc@redhat.com>
28 * po/ja.po: Updated Japanese translation.
30 2018-08-31 H.J. Lu <hongjiu.lu@intel.com>
32 * testsuite/binutils-all/readelf.s-64: Adjusted for
33 .note.gnu.property section.
34 * testsuite/binutils-all/strip-3.d: Also strip
35 .note.gnu.property section.
37 2018-08-31 H.J. Lu <hongjiu.lu@intel.com>
39 * testsuite/binutils-all/i386/compressed-1b.d: Pass
40 -mx86-used-note=no to assembler.
41 * testsuite/binutils-all/i386/compressed-1c.d: Likewise.
42 * testsuite/binutils-all/x86-64/compressed-1b.d: Likewise.
43 * testsuite/binutils-all/x86-64/compressed-1c.d: Likewise.
44 * testsuite/binutils-all/i386/empty.d: Pass -mx86-used-note=yes
45 to assembler and update expected output from "readelf -n".
46 * testsuite/binutils-all/i386/ibt.d: Likewise.
47 * testsuite/binutils-all/i386/pr21231a.d: Likewise.
48 * testsuite/binutils-all/i386/pr21231b.d: Likewise.
49 * testsuite/binutils-all/i386/shstk.d: Likewise.
50 * testsuite/binutils-all/x86-64/empty-x32.d: Likewise.
51 * testsuite/binutils-all/x86-64/empty.d: Likewise.
52 * testsuite/binutils-all/x86-64/ibt-x32.d: Likewise.
53 * testsuite/binutils-all/x86-64/ibt.d: Likewise.
54 * testsuite/binutils-all/x86-64/pr21231a.d: Likewise.
55 * testsuite/binutils-all/x86-64/pr21231b.d: Likewise.
56 * testsuite/binutils-all/x86-64/pr23494a-x32.d: Likewise.
57 * testsuite/binutils-all/x86-64/pr23494a.d: Likewise.
58 * testsuite/binutils-all/x86-64/pr23494b-x32.d: Likewise.
59 * testsuite/binutils-all/x86-64/pr23494b.d: Likewise.
60 * testsuite/binutils-all/x86-64/pr23494c-x32.d: Likewise.
61 * testsuite/binutils-all/x86-64/pr23494c.d: Likewise.
62 * testsuite/binutils-all/x86-64/pr23494d-x32.d: Likewise.
63 * testsuite/binutils-all/x86-64/pr23494d.d: Likewise.
64 * testsuite/binutils-all/x86-64/pr23494e-x32.d: Likewise.
65 * testsuite/binutils-all/x86-64/pr23494e.d: Likewise.
66 * testsuite/binutils-all/x86-64/shstk-x32.d: Likewise.
67 * testsuite/binutils-all/x86-64/shstk.d: Likewise.
69 2018-08-30 H.J. Lu <hongjiu.lu@intel.com>
71 * readelf.c (process_section_headers): Treat SHT_FINI_ARRAY and
72 SHT_PREINIT_ARRAY as relocatable sections.
74 2018-08-30 Chenghua Xu <paul.hua.gm@gmail.com>
76 * MAINTAINERS: Add myself as a MIPS port maintainer.
78 2018-08-29 Chenghua Xu <paul.hua.gm@gmail.com>
80 * NEWS: Mention Loongson 2K1000 proccessor support.
81 * readelf.c (get_machine_flags): Handle gs264e.
83 2018-08-29 Chenghua Xu <paul.hua.gm@gmail.com>
85 * NEWS: Mention Loongson 3A2000/3A3000 proccessor support.
86 * readelf.c (get_machine_flags): Handle gs464e.
88 2018-08-29 Chenghua Xu <paul.hua.gm@gmail.com>
90 * NEWS: Mention Loongson 3A1000 proccessor support.
91 * readelf.c (get_machine_flags): Rename loongson-3a to gs464.
92 (print_mips_isa_ext): Delete AFL_EXT_LOONGSON_3A.
94 2018-08-29 Chenghua Xu <paul.hua.gm@gmail.com>
96 * readelf.c (print_mips_ases): Add Loongson EXT2 extension.
98 2018-08-29 Chenghua Xu <paul.hua.gm@gmail.com>
100 * readelf.c (print_mips_ases): Add Loongson EXT extension.
102 2018-08-29 Chenghua Xu <paul.hua.gm@gmail.com>
104 * readelf.c (print_mips_ases): Add CAM extension.
106 2018-08-27 H.J. Lu <hongjiu.lu@intel.com>
108 * readelf.c (decode_x86_isa): Print <None> if bitmask only
109 contains the GNU_PROPERTY_X86_UINT32_VALID bit.
110 (decode_x86_feature_1): Likewise.
111 (decode_x86_feature_2): Likewise.
112 (print_gnu_property_note): Don't mask out the
113 GNU_PROPERTY_X86_UINT32_VALID bit.
114 * testsuite/binutils-all/i386/pr21231b.d: Updated.
115 * testsuite/binutils-all/x86-64/pr21231b.d: Likewise.
117 2018-08-27 H.J. Lu <hongjiu.lu@intel.com>
119 * readelf.c (decode_x86_compat_isa): Break multi-statement line.
120 (decode_x86_isa): Likewise.
121 (decode_x86_feature_2): Likewise.
123 2018-08-25 H.J. Lu <hongjiu.lu@intel.com>
126 * readelf.c (get_symbol_version_string): Return _("<corrupt>")
127 for corrupt symbol version info.
129 2018-08-24 H.J. Lu <hongjiu.lu@intel.com>
131 * readelf.c (decode_x86_compat_isa): New function.
132 (decode_x86_feature_2): Likewise.
133 (decode_x86_isa): Updated for new X86_ISA_1_XXX bits.
134 (decode_x86_feature): Renamed to ...
135 (decode_x86_feature_1): This. Remove the type argument.
136 (print_gnu_property_note): Handle X86_COMPAT_ISA_1_USED,
137 X86_COMPAT_ISA_1_NEEDED, X86_UINT32_AND_LO, X86_UINT32_AND_HI,
138 X86_UINT32_OR_LO, X86_UINT32_OR_HI, X86_UINT32_OR_AND_LO and
139 X86_UINT32_OR_AND_HI instead of X86_ISA_1_USED, X86_ISA_1_NEEDED
140 and X86_FEATURE_1_AND.
141 * testsuite/binutils-all/i386/pr21231b.s: Updated to the current
142 GNU_PROPERTY_X86_ISA_1_USED and GNU_PROPERTY_X86_ISA_1_NEEDED
144 * testsuite/binutils-all/x86-64/pr21231b.s: Likewise.
145 * testsuite/binutils-all/x86-64/pr23494a.s: Likewise.
146 * testsuite/binutils-all/x86-64/pr23494b.s: Likewise.
147 * testsuite/binutils-all/x86-64/pr23494c.s: Likewise.
148 * testsuite/binutils-all/i386/pr21231b.d: Updated.
149 * testsuite/binutils-all/x86-64/pr21231b.d: Likewise.
150 * testsuite/binutils-all/x86-64/pr23494a-x32.d: Likewise.
151 * testsuite/binutils-all/x86-64/pr23494a.d: Likewise.
152 * testsuite/binutils-all/x86-64/pr23494c-x32.d: Likewise.
153 * testsuite/binutils-all/x86-64/pr23494c.d: Likewise.
154 * testsuite/binutils-all/x86-64/pr23494d-x32.d: Likewise.
155 * testsuite/binutils-all/x86-64/pr23494d.d: Likewise.
156 * testsuite/binutils-all/x86-64/pr23494e-x32.d: Likewise.
157 * testsuite/binutils-all/x86-64/pr23494e.d: Likewise.
159 2018-08-24 H.J. Lu <hongjiu.lu@intel.com>
161 * readelf.c (print_gnu_property_note): Check the
162 GNU_PROPERTY_X86_UINT32_VALID bit for invalid GNU property note.
164 2018-08-23 Alan Modra <amodra@gmail.com>
166 * readelf.c (get_ppc64_symbol_other): Return NULL if st_other
167 field contains unrecognised or reserved values. Handle
170 2018-08-23 H.J. Lu <hongjiu.lu@intel.com>
173 * Makefile.am (development.exp): New target.
174 (EXTRA_DEJAGNU_SITE_CONFIG): New.
175 (DISTCLEANFILES): Add development.exp.
176 * Makefile.in: Regenerated.
177 * testsuite/binutils-all/objcopy.exp (strip_test): Call
178 prune_warnings to prune BFD output.
179 (strip_test_with_saving_a_symbol): Likewise.
180 (objcopy_test_without_global_symbol): Likewise.
181 * testsuite/lib/binutils-common.exp (prune_warnings_extra):
183 (prune_warnings): Likewise.
185 2018-08-23 H.J. Lu <hongjiu.lu@intel.com>
187 * README-how-to-make-a-release: Document setting "experimental"
190 2018-08-22 Alan Modra <amodra@gmail.com>
192 * readelf.c (process_file_header): Assign updated values from
193 section_header[0] fields to e_phnum, e_shnum and e_shstrndx
194 during printing of header. Correct e_shstrndx range check.
195 Remove unnecessary casts and use %u rather than %ld for
196 unsigned int header fields. Don't print a random %lx when
197 reporting an unknown EI_VERSION.
199 2018-08-21 Nick Clifton <nickc@redhat.com>
201 * MAINTAINERS: Note that Arnold Metselaar has retired as the z80
204 2018-08-21 L. Simon <l.simon@samsung.com>
207 * readelf.c (hppa_process_unwind): Only dump the unwind table if
208 the data was successfully read in.
210 2018-08-18 Alan Modra <amodra@gmail.com>
212 * testsuite/lib/binutils-common.exp (is_elf64): Use directory of
213 input file for readelf.out.
215 * testsuite/binutils-all/objcopy.exp (elf64): Set new variable
216 from first result of is_elf64 test.
217 (reloc_format): Set using is_rela.
218 (strip-13): Pass RELOC and ELF64 to assembler.
219 (strip-14, strip-15): Use elf64 rather than calling is_elf64 again.
220 * testsuite/binutils-all/strip-13.d: Run for more targets.
221 * testsuite/binutils-all/strip-13mips64.s: Use RELOC and set
223 * testsuite/binutils-all/strip-13rel.s: Use RELOC and ELF64.
224 Don't add _NONE reloc.
225 * testsuite/binutils-all/strip-13rela.s: Likewise.
227 2018-08-10 H.J. Lu <hongjiu.lu@intel.com>
230 * testsuite/binutils-all/x86-64/pr23494c.s: New file.
231 * testsuite/binutils-all/x86-64/pr23494e-x32.d: Likewise.
232 * testsuite/binutils-all/x86-64/pr23494e.d: Likewise.
234 2018-08-10 H.J. Lu <hongjiu.lu@intel.com>
236 * testsuite/binutils-all/x86-64/pr23494a-x32.d: Skip nacl
238 * testsuite/binutils-all/x86-64/pr23494a.d: Likewise.
239 * testsuite/binutils-all/x86-64/pr23494b-x32.d: Likewise.
240 * testsuite/binutils-all/x86-64/pr23494b.d: Likewise.
241 * testsuite/binutils-all/x86-64/pr23494c-x32.d: Likewise.
242 * testsuite/binutils-all/x86-64/pr23494c.d: Likewise.
243 * testsuite/binutils-all/x86-64/pr23494d-x32.d: Likewise.
244 * testsuite/binutils-all/x86-64/pr23494d.d: Likewise.
246 2018-08-08 H.J. Lu <hongjiu.lu@intel.com>
249 * testsuite/binutils-all/x86-64/pr23494a-x32.d: New file.
250 * testsuite/binutils-all/x86-64/pr23494a.d: Likewise.
251 * testsuite/binutils-all/x86-64/pr23494a.s: Likewise.
252 * testsuite/binutils-all/x86-64/pr23494b-x32.d: Likewise.
253 * testsuite/binutils-all/x86-64/pr23494b.d: Likewise.
254 * testsuite/binutils-all/x86-64/pr23494b.s: Likewise.
255 * testsuite/binutils-all/x86-64/pr23494c-x32.d: Likewise.
256 * testsuite/binutils-all/x86-64/pr23494c.d: Likewise.
257 * testsuite/binutils-all/x86-64/pr23494d-x32.d: Likewise.
258 * testsuite/binutils-all/x86-64/pr23494d.d: Likewise.
260 2018-08-08 Kevin Buettner <kevinb@redhat.com>
262 * dwarf.c (decode_location_expresion): Add case for
263 DW_OP_GNU_variable_value.
265 2018-08-06 Claudiu Zissulescu <claziss@synopsys.com>
267 * readelf.c (display_arc_attribute): Print Tag_ARC_ATR_version.
269 2018-08-03 Nick Clifton <nickc@redhat.com>
271 * objcopy.c (merge_gnu_build_notes): Delete empty notes. Merge
272 identical function notes.
274 2018-08-01 Nick Clifton <nickc@redhat.com>
276 * README-how-to-make-a-release: Add note about regenerating the
277 info files prior to the release.
279 2018-07-30 Andrew Jenner <andrew@codesourcery.com>
281 * MAINTAINERS (C-SKY): Add Yunhai Shang as co-maintainer.
283 2018-07-30 Andrew Jenner <andrew@codesourcery.com>
285 * MAINTAINERS (C-SKY): Add Lifang Xia as maintainer.
287 2018-07-30 Andrew Jenner <andrew@codesourcery.com>
289 * readelf.c: Include elf/csky.h.
290 (guess_is_rela): Handle EM_CSKY.
291 (dump_relocations): Likewise.
292 (get_machine_name): Likewise.
293 (is_32bit_abs_reloc): Likewise.
295 2018-07-25 Nick Clifton <nickc@redhat.com>
297 * rdcoff.c (parse_coff_struct_type): Free fields array upon early
299 (parse_coff_enum_type): Free names and vals arrays upon early
301 * rddbg.c (read_section_stabs_debugging_info): Free shandle and
302 strings and stabs arrays upon early exit.
303 * readelf.c (get_32bit_section_headers): Free shdrs structure upon
305 (get_64bit_section_headers): Likewise.
306 (get_32bit_elf_symbols): Generate an error if multiple symbol
307 table index sections are associated with the same symbol section.
308 (get_64bit_elf_symbols): Likewise.
309 (process_dynamic_section): Generate an error if there are multiple
310 dynamic symbol table sections, multiple dynamic string tables or
311 multiple dynamic symbol information sections.
313 2018-07-24 Nick Clifton <nickc@redhat.com>
315 * po/sv.po: Updated Swedish translation.
317 2018-07-24 Alan Modra <amodra@gmail.com>
320 * dwarf.c (display_formatted_table): Replace "what" parameter
321 with "is_dir". Expand messages. Fix capitalisation.
322 * testsuite/binutils-all/dw5.W: Update expected output.
324 2018-07-24 Alan Modra <amodra@gmail.com>
327 * elfcomm.h (struct archive_info): Rename uses_64bit_indicies
328 to uses_64bit_indices.
329 * elfcomm.c (setup_archive): Update uses of above.
330 * readelf.c (process_archive): Likewise.
331 (get_section_type_name): Rename indicies to indices.
332 (get_32bit_elf_symbols, get_64bit_elf_symbols): Likewise.
333 (process_section_groups): Likewise.
335 2018-07-20 Maciej W. Rozycki <macro@mips.com>
337 * MAINTAINERS: Update my e-mail address, downgrade to MIPS I-IV
340 2018-07-20 Nick Clifton <nickc@redhat.com>
342 * objcopy.c (add_specific_symbols): Free buffer on exit.
343 (add_redefine_syms_file): Close file handle on exit.
344 (copy_object): Close file handle on early exit.
345 Free buffer on early exit.
346 Free gaps buffers once they are no longer needed.
347 * dwarf.c (display_debug_frames): Free allocated memory on exit.
348 (load_separate_debug_info): Free allocate memory on early exit.
350 2018-07-20 Chenghua Xu <paul.hua.gm@gmail.com>
351 Maciej W. Rozycki <macro@mips.com>
353 * readelf.c (print_mips_ases): Add MMI extension.
355 2018-07-19 DJ Delorie <dj@redhat.com>
357 * MAINTAINERS (RL78, RX): Remove myself as maintainer.
359 2018-07-19 Nick Clifton <nickc@redhat.com>
361 * dwarf.c (read_cie): Free allocated memory before returning with
364 2018-07-16 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
366 * readelf.c (get_note_type): Fix typo in NT_PPC_TM_CVSX note
369 2018-07-16 Nick Clifton <nickc@redhat.com>
371 * README-how-to-make-a-release: Add note to check for new top
372 level files and add them to the src-release.sh script.
374 2018-07-14 Nick Clifton <nickc@redhat.com>
376 * README-how-to-make-a-release: Updated with corrections based on
377 the 2.31 release experience.
379 2018-07-12 Francois H. Theron <francois.theron@netronome.com>
381 * readelf.c (process_section_headers): Don't print section type
382 twice for --section-details.
384 2018-07-10 Alan Modra <amodra@gmail.com>
386 * testsuite/lib/binutils-common.exp (supports_gnu_unique): Return
389 2018-07-06 Nick Clifton <nickc@redhat.com>
391 * readelf.c (same_section): New function.
392 (print_gnu_build_attribute_description): Do not complain about
393 gaps that cross a section boundary.
395 2018-07-05 Nick Clifton <nickc@redhat.com>
397 * po/bg.po: Updated Bulgarian translation.
399 2018-07-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
401 * NEWS: Use command-line consistently when used in a compount word.
402 * doc/binutils.texi: Likewise and fix trailing whitespace on same
405 2018-06-26 Nick Clifton <nickc@redhat.com>
407 * po/sv.po: Updated Swedish translation.
408 * po/uk.po: Updated Ukranian translation.
410 2018-06-26 Nick Clifton <nickc@redhat.com>
412 * doc/binutils.texi: Fix spelling mistakes.
413 * README--how-to-make-a-release: Likewise.
415 2018-06-25 Tom Tromey <tom@tromey.com>
417 * dwarf-mode.el (dwarf-mode-syntax-table): New variable.
420 2018-06-24 Nick Clifton <nickc@redhat.com>
422 * README-how-to-make-a-release: Update with experiences from
424 * po/binutils.pot: Regenerate.
425 * configure: Regenerate.
427 2018-06-24 Nick Clifton <nickc@redhat.com>
430 * NEWS: Add marker for 2.31.
432 2018-06-21 Alan Modra <amodra@gmail.com>
434 * doc/Makefile.am (AUTOMAKE_OPTIONS): Add "foreign".
435 * doc/Makefile.in: Regenerate.
437 2018-06-19 Simon Marchi <simon.marchi@ericsson.com>
439 * configure.ac: Remove AC_PREREQ.
440 * doc/Makefile.am (AUTOMAKE_OPTIONS): Remove cygnus, add
441 info-in-builddir no-texinfo.tex.
442 * Makefile.in: Re-generate.
443 * aclocal.m4: Re-generate.
444 * config.in: Re-generate.
445 * configure: Re-generate.
446 * doc/Makefile.in: Re-generate.
448 2018-06-19 Andreas Schwab <schwab@suse.de>
450 * readelf.c (is_16bit_abs_reloc): Handle R_RISCV_SET16.
451 (is_8bit_abs_reloc): New function.
452 (is_6bit_abs_reloc): New function.
453 (is_6bit_inplace_sub_reloc): New function.
454 (apply_relocations): Use them. Handle 6-bit relocations.
456 2018-06-14 Faraz Shahbazker <Faraz.Shahbazker@mips.com>
458 * readelf.c (print_mips_ases): Add GINV extension.
460 2018-06-14 H.J. Lu <hongjiu.lu@intel.com>
463 * readelf.c (get_symbol_version_string): Check if the first
464 symbol version is base version.
466 2018-06-13 Scott Egerton <scott.egerton@imgtec.com>
467 Faraz Shahbazker <Faraz.Shahbazker@mips.com>
469 * readelf.c (print_mips_ases): Add CRC.
471 2018-06-13 Nick Clifton <nickc@redhat.com>
473 * doc/binutils.texi (objdump): Add missing closing square
474 parenthesis to listing of objcopy's command line options.
476 2018-06-11 Nick Clifton <nickc@redhat.com>
478 * po/es.po: Updated Spanish translation.
480 2018-06-01 H.J. Lu <hongjiu.lu@intel.com>
482 * configure: Regenerated.
484 2018-05-31 Alan Modra <amodra@gmail.com>
486 * testsuite/binutils-all/compress.exp (test_gnu_debuglink): Don't
487 set CC_FOR_TARGET. Run test non-native.
488 * testsuite/binutils-all/objdump.exp (test_build_id_debuglink):
490 (test_follow_debuglink): Run test non-native.
492 2018-05-30 Ant Bikeneev <ant.bikineev@gmail.com>
495 * ar.c (display_offsets): New variable.
496 (usage): Add description of 'O' operator.
497 (decode_option): Handle 'O' operator.
498 (print_descr): Pass display_offsets to print_arelt_descr.
499 * arsup.c: Update call to printy_arelt_descr.
500 * objdump.c: Likewise.
501 * bucomm.c (print_arelt_descr): If offsets parameter is true then
502 display offset of archive element within the archive.
503 * bucomm.h: Update prototype for print_arelt_descr.
504 * doc/binutils.texi: Update description of ar command.
505 * NEWS: Mention the new feature.
506 * testsuite/binutils-all/ar.exp: Add text of new feature.
508 2018-05-28 Alan Modra <amodra@gmail.com>
511 * testsuite/binutils-all/compress.exp (test_gnu_debuglink): Return
512 unsupported rather than fail on compile errors.
513 * testsuite/binutils-all/objdump.exp (test_build_id_debuglink):
514 Likewise. Save and restore CFLAGS_FOR_TARGET.
516 2018-05-18 Kito Cheng <kito.cheng@gmail.com>
518 * readelf.c (get_machine_flags): Handle EF_RISCV_RVE.
520 2018-05-18 John Darrington <john@darrington.wattle.id.au>
522 * readelf.c: Add support for s12z architecture.
523 * testsuite/lib/binutils-common.exp (is_elf_format): Excluse s12z
526 2018-05-15 Tamar Christina <tamar.christina@arm.com>
529 * doc/binutils.texi (-M): Document AArch64 options.
531 2018-05-15 Tamar Christina <tamar.christina@arm.com>
534 * doc/binutils.texi (-M): Document AArch64 options.
535 * NEWS: Document notes and warnings.
537 2018-05-15 Alan Modra <amodra@gmail.com>
539 * testsuite/lib/binutils-common.exp (is_elf_format): Add chorus,
540 cloudabi, fuchsia, kaos and nto. Merge netbsdelf* into *elf*,
541 and *uclinux* into *linux*.
542 * testsuite/binutils-all/objcopy.exp: Accept armeb for rel
543 strip-13 test, exclude arm-vxworks and arm-windiss.
545 2018-05-10 John Darrington <john@darrington.wattle.id.au>
547 * readelf.c (get_machine_name): EM_S12Z - handle new case.
549 2018-05-09 Alan Modra <amodra@gmail.com>
551 * od-macho.c (dump_unwind_encoding_x86): Fix typo in last patch.
553 2018-05-09 Sebastian Rasmussen <sebras@gmail.com>
555 * od-macho.c (dump_unwind_encoding_x86): Adjust for macro renaming.
557 2018-05-08 Alan Modra <amodra@gmail.com>
560 * objcopy.c (is_strip_section): Strip groups without a valid
563 2018-05-07 Alan Modra <amodra@gmail.com>
566 * objcopy.c (group_signature): Don't accept groups that use a
567 symbol table other than the one we've read.
569 2018-04-30 Francois H. Theron <francois.theron@netronome.com>
571 * readelf.c: Very basic support for EM_NFP and its section types.
572 * testsuite/binutils-all/nfp: New directory.
573 * testsuite/binutils-all/nfp/objdump.exp: New file. Run new
575 * testsuite/binutils-all/nfp/test2_ctx8.d: New file.
576 * testsuite/binutils-all/nfp/test2_no-pc_ctx4.d: New file.
577 * testsuite/binutils-all/nfp/test1.d: New file.
578 * testsuite/binutils-all/nfp/nfp6000.nffw: New file.
579 * testsuite/binutils-all/nfp/test2_nfp6000.nffw: New file.
580 * NEWS: Mention the new support.
582 2018-04-27 Maciej W. Rozycki <macro@mips.com>
584 * testsuite/lib/binutils-common.exp (match_target): New procedure.
585 * testsuite/lib/utils-lib.exp (run_dump_test): Use it in place
586 of `istarget' for matching with `target', `not-target', `skip'
587 and `not-skip' options.
589 2018-04-26 Nick Clifton <nickc@redhat.com>
591 * readelf.c (is_32bit_abs_reloc): Support R_PARISC_DIR32 as a
592 32-bit absolute reloc for the HPPA target.
593 * testsuite/binutils-all/note-5.d: New test.
594 * testsuite/binutils-all/note-5.s: Source file for new test.
595 * testsuite/binutils-all/objcopy.exp: Run new test.
597 2018-04-25 Christophe Lyon <christophe.lyon@st.com>
599 * testsuite/binutils-all/elfedit-2.d: Accept arm*-*-uclinuxfdpiceabi.
600 * testsuite/binutils-all/elfedit-3.d: Likewise.
601 * testsuite/binutils-all/objcopy.exp: Likewise.
602 * testsuite/binutils-all/strip-3.d: Likewise.
603 * testsuite/lib/binutils-common.exp: Likewise.
605 2018-04-25 Christophe Lyon <christophe.lyon@st.com>
606 Mickaël Guêné <mickael.guene@st.com>
608 * readelf.c (decode_ARM_machine_flags): Support EF_ARM_PIC.
609 (get_osabi_name): Support ELFOSABI_ARM_FDPIC.
611 2018-04-25 Alan Modra <amodra@gmail.com>
613 * testsuite/binutils-all/arm/objdump.exp: Remove arm-aout and
615 * testsuite/binutils-all/objcopy.exp: Likewise.
616 * testsuite/lib/binutils-common.exp: Likewise.
618 2018-04-18 Nick Clifton <nickc@redhat.com>
621 * dwarf.c (read_and_display_attr_value): Replace assertions with
622 test and warning message.
624 2018-04-18 Alan Modra <amodra@gmail.com>
626 * testsuite/lib/binutils-common.exp: Remove support for assorted
629 2018-04-17 Nick Clifton <nickc@redhat.com>
632 * readelf.c (print_symbol): If the width is zero, return straight
636 * dwarf.c (process_cu_tu_index): Test for a potential buffer
637 overrun before copying signature pointer.
639 2018-04-17 Alan Modra <amodra@gmail.com>
641 * readelf.c: Revert 2018-04-16 and 2018-04-11 changes.
643 2018-04-16 Alan Modra <amodra@gmail.com>
645 * readelf.c (get_machine_name): Correct typo.
647 2018-04-16 Alan Modra <amodra@gmail.com>
649 * configure.ac: Remove arm-epoc-pe support.
650 * dlltool.c: Likewise.
651 * configure: Regenerate.
653 2018-04-16 Alan Modra <amodra@gmail.com>
655 * testsuite/lib/binutils-common.exp: Remove sparc-aout and
658 2018-04-16 Alan Modra <amodra@gmail.com>
660 * testsuite/binutils-all/copy-2.d: Remove m68k-aout and m68k-coff
662 * testsuite/binutils-all/copy-3.d: Likewise.
663 * testsuite/binutils-all/objcopy.exp: Likewise.
664 * testsuite/lib/binutils-common.exp: Likewise.
666 2018-04-16 Alan Modra <amodra@gmail.com>
668 * testsuite/binutils-all/objcopy.exp: Remove sh5 and sh64 support.
670 2018-04-16 Alan Modra <amodra@gmail.com>
672 * testsuite/binutils-all/objcopy.exp: Remove w65 support.
674 2018-04-16 Alan Modra <amodra@gmail.com>
676 * testsuite/binutils-all/objdump.exp: Remove we32k support.
678 2018-04-16 Alan Modra <amodra@gmail.com>
680 * MAINTAINERS (Mark Kettenis): Move to past maintainers.
681 * testsuite/binutils-all/objdump.exp: Remove m88k support.
683 2018-04-16 Alan Modra <amodra@gmail.com>
685 * readelf.c: Remove i370 support.
686 * testsuite/binutils-all/objdump.exp: Likewise.
688 2018-04-16 Alan Modra <amodra@gmail.com>
690 * testsuite/binutils-all/objcopy.exp: Remove h8500 support.
691 * testsuite/lib/binutils-common.exp: Likewise.
693 2018-04-16 Alan Modra <amodra@gmail.com>
695 * testsuite/binutils-all/objcopy.exp: Remove h8300-coff support.
697 2018-04-16 Alan Modra <amodra@gmail.com>
699 * Makefile.am: Remove IEEE 695 support.
701 * doc/binutils.texi: Likewise.
702 * makefile.vms: Likewise.
703 * objcopy.c: Likewise.
704 * objdump.c: Likewise.
707 * Makefile.in: Regenerate.
708 * po/POTFILES.in: Regenerate.
710 2018-04-16 Alan Modra <amodra@gmail.com>
712 * testsuite/binutils-all/copy-2.d: Remove newsos3 support.
713 * testsuite/binutils-all/nm.exp: Likewise.
715 2018-04-16 Alan Modra <amodra@gmail.com>
717 * .gitignore: Remove netware support.
718 * Makefile.am: Likewise.
719 * configure.ac: Likewise.
720 * doc/Makefile.am: Likewise.
721 * doc/binutils.texi: Likewise.
722 * testsuite/binutils-all/nm.exp: Likewise.
725 * nlmheader.y: Delete.
726 * Makefile.in: Regenerate.
727 * configure: Regenerate.
728 * doc/Makefile.in: Regenerate.
729 * po/POTFILES.in: Regenerate.
731 2018-04-16 Alan Modra <amodra@gmail.com>
733 * testsuite/binutils-all/objdump.exp: Remove tahoe support.
735 2018-04-14 Alan Modra <amodra@gmail.com>
737 * readelf.c (get_machine_name): Revert 2018-04-11 change.
739 2018-04-12 Nick Clifton <nickc@redhat.com>
742 * readelf.c (process_dynamic_section): Correct dynamic string
743 table size calculation.
745 2018-04-11 Alan Modra <amodra@gmail.com>
747 * ieee.c: Remove i960 support.
748 * od-macho.c: Remove i860 support.
749 * readelf.c: Remove i860 and i960 support.
750 * testsuite/binutils-all/objcopy.exp: Likewise.
751 * testsuite/binutils-all/objdump.exp: Likewise.
752 * testsuite/lib/binutils-common.exp: Likewise.
754 2018-04-11 Maciej W. Rozycki <macro@mips.com>
756 * testsuite/lib/binutils-common.exp (is_elf_format): Also return
757 1 for `*-*-lynxos*' and `*-*-symbianelf*' targets.
759 2018-04-10 Alan Modra <amodra@gmail.com>
761 * testsuite/binutils-all/objcopy.exp (strip-14, strip-15): Choose
762 reloc=11 for pru and reloc=50 for nds32.
763 * testsuite/binutils-all/strip-15.d: Accept 0xb reloc number.
765 2018-04-09 Maciej W. Rozycki <macro@mips.com>
767 * testsuite/binutils-all/strip-15.d: New test.
768 * testsuite/binutils-all/strip-15rel.s: New test source.
769 * testsuite/binutils-all/strip-15rela.s: New test source.
770 * testsuite/binutils-all/strip-15mips64.s: New test source.
771 * testsuite/binutils-all/objcopy.exp: Run the new test.
773 2018-04-09 Maciej W. Rozycki <macro@mips.com>
775 * testsuite/binutils-all/strip-14.d: New test.
776 * testsuite/binutils-all/strip-14rel.s: New test source.
777 * testsuite/binutils-all/strip-14rela.s: New test source.
778 * testsuite/binutils-all/strip-14mips64.s: New test source.
779 * testsuite/binutils-all/objcopy.exp: Run the new test.
781 2018-04-06 Tom Tromey <tom@tromey.com>
783 * dwarf.c (read_and_display_attr_value): Add missing DW_LANG
784 constants from DWARF 5.
786 2018-04-05 H.J. Lu <hongjiu.lu@intel.com>
789 * configure: Regenerated.
791 2018-04-05 Maciej W. Rozycki <macro@mips.com>
793 * testsuite/binutils-all/strip-13mips64.s: Use `.dc.l' rather
794 than `.dc.w' in second relocation.
796 2018-04-05 Maciej W. Rozycki <macro@mips.com>
798 * testsuite/binutils-all/strip-13.d: Also expect `unsupported
799 relocation type 0x8f' error message.
801 2018-04-05 Maciej W. Rozycki <macro@mips.com>
803 * testsuite/binutils-all/strip-13.s: Rename to...
804 * testsuite/binutils-all/strip-13rela.s: ... this.
805 * testsuite/binutils-all/strip-13rel.s: New test source.
806 * testsuite/binutils-all/strip-13mips64.s: New test source.
807 * testsuite/binutils-all/strip-13.d: Remove `arm-*', `d10v-*',
808 `dlx-*' and `xgate-*' from `not-target' list. Add `m6811-*' and
809 `m68hc11-*' to `not-target' list.
810 * testsuite/binutils-all/objcopy.exp: Switch between sources for
813 2018-04-05 Maciej W. Rozycki <macro@mips.com>
815 * testsuite/binutils-all/strip-13.s: Use 143 (0x8f) rather than
816 241 (0xf1) for the relocation number and RELA addend.
817 * testsuite/binutils-all/strip-13.d: Remove `hppa*-*' from the
820 2018-04-04 John David Anglin <danglin@gcc.gnu.org>
822 * MAINTAINERS: Update my e-mail address.
824 2018-04-04 Nick Clifton <nickc@redhat.com>
826 * MAINTAINERS: Move Jason Eckhardt to past maintainers section.
828 2018-03-23 Nick Clifton <nickc@redhat.com>
830 * readelf.c (get_symbol_for_build_attribute): Skip ARM mapping
832 (print_gnu_build_attribute_description): If no file start symbol
833 could be found, look for one two bytes into the file.
834 * testsuite/binutils-all/note-4-64.s: Set the address of the file
835 start symbol to two bytes into the file.
836 * testsuite/binutils-all/note-4-32.s: Likewise.
838 2018-03-21 H.J. Lu <hongjiu.lu@intel.com>
840 * readelf.c (process_dynamic_section): Also dump DF_1_KMOD,
841 DF_1_WEAKFILTER and DF_1_NOCOMMON.
843 2018-03-20 Nick Clifton <nickc@redhat.com>
845 * po/es.po: Updated Spanish translation.
846 * po/ru.po: Updated Russian translation.
848 2018-03-13 Nick Clifton <nickc@redhat.com>
851 * stabs.c (pop_binincl): Fail if the file index is off the end of
854 2018-03-13 Nick Clifton <nickc@redhat.com>
857 * stabs.c (parse_number): Add p_end parameter and use it to check
858 the validity of the pp parameter. Add checks to prevent walking
859 off the end of the string buffer.
860 (parse_stab_string): Likewise.
861 (parse_stab_type): Likewise.
862 (parse_stab_type_number): Likewise.
863 (parse_stab_range_type): Likewise.
864 (parse_stab_sun_builtin_type): Likewise.
865 (parse_stab_sun_floating_type): Likewise.
866 (parse_stab_enum_type): Likewise.
867 (parse_stab_struct_type): Likewise.
868 (parse_stab_baseclasses): Likewise.
869 (parse_stab_struct_fields): Likewise.
870 (parse_stab_cpp_abbrev): Likewise.
871 (parse_stab_one_struct_field): Likewise.
872 (parse_stab_members): Likewise.
873 (parse_stab_tilde_field): Likewise.
874 (parse_stab_array_type): Likewise.
876 * parse_stab: Compute the end of the string and then pass it on to
877 individual parser functions.
879 2018-03-07 Paul Pluzhnikov <ppluzhnikov@google.com>
882 * binutils/readelf.c (get_ver_flags): Expand buffer to avoid
885 2018-03-07 Alan Modra <amodra@gmail.com>
887 * configure.ac: Add objdump_private_desc_xcoff for rs6000.
888 * configure: Regenerate.
890 2018-03-05 H.J. Lu <hongjiu.lu@intel.com>
893 * objdump.c (is_significant_symbol_name): Return TRUE for all
895 (find_symbol_for_address): Replace linear search with binary
896 search on dynamic relocations.
898 2018-03-01 Nick Clifton <nickc@redhat.com>
901 * dwarf.c (display_debug_ranges): Check that the offset loaded
902 from the range_entry structure is valid.
904 2018-03-01 Alan Modra <amodra@gmail.com>
906 * configure.ac (ALL_LINGUAS): Add sr. Sort.
907 * configure: Regenerate.
909 2018-02-27 Nick Clifton <nickc@redhat.com>
911 * po/pt.po: New Portuguese translation.
912 * configure.ac (ALL_LINGUAS): Add pt.
913 * configure: Regenerate.
915 2018-02-27 Nick Clifton <nickc@redhat.com>
918 * objcopy.c (copy_object): Check the error status after marking
919 symbols used in relocations.
920 * testsuite/binutils-all/strip-13.s: New test source file.
921 * testsuite/binutils-all/strip-13.s: New test driver file.
922 * testsuite/binutils-all/objcopy.exp: Run the new test.
924 2018-02-26 Alan Modra <amodra@gmail.com>
926 * testsuite/binutils-all/mips/mips-reginfo-n32.d,
927 * testsuite/binutils-all/mips/mips-reginfo.d: Update.
929 2018-02-23 Alan Modra <amodra@gmail.com>
931 * testsuite/binutils-all/mips/mips-reginfo-n32.d,
932 * testsuite/binutils-all/mips/mips-reginfo.d: Update.
934 2018-02-20 Ronald Hoogenboom <hoogenboom30@zonnet.nl>
936 * doc/binutils.texi (objcopy): Add missing closing square
937 parenthesis to listing of objcopy's command line options.
939 2018-02-19 Matthias Klose <doko@debian.org>
941 * strings.c (long_options): Include-all-whitespace does not take
944 2018-02-13 Alan Modra <amodra@gmail.com>
947 * testsuite/binutils-all/group-7.s,
948 * testsuite/binutils-all/group-7a.d,
949 * testsuite/binutils-all/group-7b.d,
950 * testsuite/binutils-all/group-7c.d: New tests.
951 * testsuite/binutils-all/objcopy.exp: Run them.
953 2018-02-08 Nick Clifton <nickc@redhat.com>
956 * dwarf.c (load_separate_debug_file): Return early if the user is
957 not interested in debug links.
959 2018-02-06 Nick Clifton <nickc@redhat.com>
962 * readelf.c (find_section): Replace assertion with test and return
964 (find_section_by_address): Add test of section header table
966 (find_section_by_type): Likewise.
967 (find_section_in_set): Likewise.
969 2018-02-05 Maciej W. Rozycki <macro@mips.com>
971 * testsuite/binutils-all/mips/mips-reginfo.d: New test.
972 * testsuite/binutils-all/mips/mips-reginfo-n32.d: New test.
973 * testsuite/binutils-all/mips/mips-reginfo.s: New test source.
974 * testsuite/binutils-all/mips/mips.exp: Run the new tests.
976 2018-02-05 Maciej W. Rozycki <macro@mips.com>
978 * testsuite/config/default.exp (binutils_run): Document
979 `binutils_run_status'.
980 * testsuite/lib/utils-lib.exp (default_binutils_run): Likewise,
982 (run_dump_test): Add `error', `error_output', `warning' and
983 `warning_output' options. Update documentation accordingly.
985 2018-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
987 * dwarf.c (dwarf_regnames_riscv): New register name table.
988 (init_dwarf_regnames_riscv): New function.
989 (init_dwarf_regnames): Add call to initialise RiscV register
991 * dwarf.h (init_dwarf_regnames_riscv): Declare.
992 * objdump.c (dump_dwarf): Add call to initialise RiscV register
995 2018-02-01 Alan Modra <amodra@gmail.com>
998 * objdump.c (load_specific_debug_section): Check for overflow
999 when adding one to section size for a string section terminator.
1001 2018-01-30 Nick Clifton <nickc@redhat.com>
1004 * doc/binutils.texi (nm): Update description to point out that
1005 zero-initialized values can also be shown as type B, b, S or s
1006 since they can be stored in the BSS section.
1008 2018-01-30 Alan Modra <amodra@gmail.com>
1010 * objcopy.c (merge_gnu_build_notes): Use (bfd_vma) -1 as
1011 "artificially large" end address.
1013 2018-01-28 Nick Clifton <nickc@redhat.com>
1015 * README-how-to-make-a-release: Add note about checking gpg key
1016 and the results of gnupload.
1018 2018-01-27 Nick Clifton <nickc@redhat.com>
1020 * README-how-to-make-a-release: Add details on how to actually
1023 2018-01-26 Nick Clifton <nickc@redhat.com>
1025 * README-how-to-make-a-release: Add more details on updating
1028 2018-01-22 Maciej W. Rozycki <macro@mips.com>
1030 * doc/binutils.texi (objcopy): Fix a typo in `--rename-section'
1033 2018-01-22 Maciej W. Rozycki <macro@mips.com>
1035 * MAINTAINERS: Update my company e-mail address.
1037 2018-01-22 Nick Clifton <nickc@redhat.com>
1039 * po/sv.po: Updated Swedish translation.
1041 2018-01-18 Nick Clifton <nickc@redhat.com>
1043 * po/bg.po: Updated Bulgarian translation.
1045 2018-01-16 Joel Brobecker <brobecker@adacore.com>
1047 * README-how-to-make-a-release: Add reminder to update the
1048 branch name in gdbadmin's crontab on sourceware.
1050 2018-01-16 Joel Brobecker <brobecker@adacore.com>
1052 * README-how-to-make-a-release: Remove trailing spaces.
1054 2018-01-16 Nick Clifton <nickc@redhat.com>
1056 * po/fr.po: Updated French translation.
1058 2018-01-15 Nick Clifton <nickc@redhat.com>
1060 * po/uk.po: Updated Ukranian translation.
1062 2018-01-13 Nick Clifton <nickc@redhat.com>
1064 * README-how-to-make-a-release: Update notes.
1065 * po/binutils.pot: Regenerated.
1067 2018-01-13 Nick Clifton <nickc@redhat.com>
1069 * configure: Regenerate.
1071 2018-01-13 Nick Clifton <nickc@redhat.com>
1073 2.30 branch created.
1074 * NEWS: Add marker for 2.30.
1076 2018-01-12 Nick Clifton <nickc@redhat.com>
1078 * README-how-to-make-a-release: Add notes on how to make the
1079 branch and prelease snapshot.
1080 * BRANCHES: Add binutils-2_29-branch.
1082 2018-01-10 Nick Clifton <nickc@redhat.com>
1084 * MAINTAINERS: Note that it is now the configure.ac file and not
1085 the configure.in file that needs to be kept in sync with gcc.
1086 Add a note about sending patches for libiberty to gcc.
1088 2018-01-03 Nick Clifton <nickc@redhat.com>
1090 * objcopy.c (merge_gnu_build_notes): Add cast to maximum address
1093 2018-01-03 Nick Clifton <nickc@redhat.com>
1095 * objcopy.c (objcopy_internal_note): New structure.
1096 (gap_exists): New function.
1097 (is_open_note): New function.
1098 (is_func_note): New function.
1099 (is_64bit): New function.
1100 (merge_gnu_build_notes): Handle v3 notes. Do not merge
1101 if there are relocations against the notes.
1102 * readelf.c (get_note_type): Use short names for build attribute
1104 (print_symbol_for_build_attribute): Rename to
1105 get_symbol_for_build_attribute. Returns the found symbol rather
1107 (print_gnu_build_attribute_description): Maintain address ranges
1108 for function notes as well as global notes. Handle v3 notes.
1109 (print_gnu_build_attribute_name): Use more space for printing the
1111 * testsuite/binutils-all/note-2-32.s: Use .dc.l instead of .word.
1112 Eliminate symbol references in order to remove the need for
1114 * testsuite/binutils-all/note-2-64.s: Likewise.
1115 * testsuite/binutils-all/note-3-32.s: Add a size to the note_1
1117 * testsuite/binutils-all/note-3-64.s: Likewise.
1118 * testsuite/binutils-all/mips/mips-note-2r-n32.d: Update expected
1120 * testsuite/binutils-all/mips/mips-note-2r-n64.d: Likewise.
1121 * testsuite/binutils-all/mips/mips-note-2r.d: Likewise.
1122 * testsuite/binutils-all/note-2-32.d: Likewise.
1123 * testsuite/binutils-all/note-2-64.d: Likewise.
1124 * testsuite/binutils-all/note-3-32.d: Likewise.
1125 * testsuite/binutils-all/note-3-64.d: Likewise.
1126 * testsuite/binutils-all/note-4-64.s: New test. Checks v3 notes.
1127 * testsuite/binutils-all/note-4-32.s: New test.
1128 * testsuite/binutils-all/note-4-64.d: New test result file.
1129 * testsuite/binutils-all/note-4-32.d: New test result file.
1131 2018-01-03 Alan Modra <amodra@gmail.com>
1133 Update year range in copyright notice of all files.
1135 For older changes see ChangeLog-2017
1137 Copyright (C) 2018 Free Software Foundation, Inc.
1139 Copying and distribution of this file, with or without modification,
1140 are permitted in any medium without royalty provided the copyright
1141 notice and this notice are preserved.
1147 version-control: never