1 2018-08-31 H.J. Lu <hongjiu.lu@intel.com>
3 * testsuite/binutils-all/i386/compressed-1b.d: Pass
4 -mx86-used-note=no to assembler.
5 * testsuite/binutils-all/i386/compressed-1c.d: Likewise.
6 * testsuite/binutils-all/x86-64/compressed-1b.d: Likewise.
7 * testsuite/binutils-all/x86-64/compressed-1c.d: Likewise.
8 * testsuite/binutils-all/i386/empty.d: Pass -mx86-used-note=yes
9 to assembler and update expected output from "readelf -n".
10 * testsuite/binutils-all/i386/ibt.d: Likewise.
11 * testsuite/binutils-all/i386/pr21231a.d: Likewise.
12 * testsuite/binutils-all/i386/pr21231b.d: Likewise.
13 * testsuite/binutils-all/i386/shstk.d: Likewise.
14 * testsuite/binutils-all/x86-64/empty-x32.d: Likewise.
15 * testsuite/binutils-all/x86-64/empty.d: Likewise.
16 * testsuite/binutils-all/x86-64/ibt-x32.d: Likewise.
17 * testsuite/binutils-all/x86-64/ibt.d: Likewise.
18 * testsuite/binutils-all/x86-64/pr21231a.d: Likewise.
19 * testsuite/binutils-all/x86-64/pr21231b.d: Likewise.
20 * testsuite/binutils-all/x86-64/pr23494a-x32.d: Likewise.
21 * testsuite/binutils-all/x86-64/pr23494a.d: Likewise.
22 * testsuite/binutils-all/x86-64/pr23494b-x32.d: Likewise.
23 * testsuite/binutils-all/x86-64/pr23494b.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.
30 * testsuite/binutils-all/x86-64/shstk-x32.d: Likewise.
31 * testsuite/binutils-all/x86-64/shstk.d: Likewise.
33 2018-08-30 H.J. Lu <hongjiu.lu@intel.com>
35 * readelf.c (process_section_headers): Treat SHT_FINI_ARRAY and
36 SHT_PREINIT_ARRAY as relocatable sections.
38 2018-08-30 Chenghua Xu <paul.hua.gm@gmail.com>
40 * MAINTAINERS: Add myself as a MIPS port maintainer.
42 2018-08-29 Chenghua Xu <paul.hua.gm@gmail.com>
44 * NEWS: Mention Loongson 2K1000 proccessor support.
45 * readelf.c (get_machine_flags): Handle gs264e.
47 2018-08-29 Chenghua Xu <paul.hua.gm@gmail.com>
49 * NEWS: Mention Loongson 3A2000/3A3000 proccessor support.
50 * readelf.c (get_machine_flags): Handle gs464e.
52 2018-08-29 Chenghua Xu <paul.hua.gm@gmail.com>
54 * NEWS: Mention Loongson 3A1000 proccessor support.
55 * readelf.c (get_machine_flags): Rename loongson-3a to gs464.
56 (print_mips_isa_ext): Delete AFL_EXT_LOONGSON_3A.
58 2018-08-29 Chenghua Xu <paul.hua.gm@gmail.com>
60 * readelf.c (print_mips_ases): Add Loongson EXT2 extension.
62 2018-08-29 Chenghua Xu <paul.hua.gm@gmail.com>
64 * readelf.c (print_mips_ases): Add Loongson EXT extension.
66 2018-08-29 Chenghua Xu <paul.hua.gm@gmail.com>
68 * readelf.c (print_mips_ases): Add CAM extension.
70 2018-08-27 H.J. Lu <hongjiu.lu@intel.com>
72 * readelf.c (decode_x86_isa): Print <None> if bitmask only
73 contains the GNU_PROPERTY_X86_UINT32_VALID bit.
74 (decode_x86_feature_1): Likewise.
75 (decode_x86_feature_2): Likewise.
76 (print_gnu_property_note): Don't mask out the
77 GNU_PROPERTY_X86_UINT32_VALID bit.
78 * testsuite/binutils-all/i386/pr21231b.d: Updated.
79 * testsuite/binutils-all/x86-64/pr21231b.d: Likewise.
81 2018-08-27 H.J. Lu <hongjiu.lu@intel.com>
83 * readelf.c (decode_x86_compat_isa): Break multi-statement line.
84 (decode_x86_isa): Likewise.
85 (decode_x86_feature_2): Likewise.
87 2018-08-25 H.J. Lu <hongjiu.lu@intel.com>
90 * readelf.c (get_symbol_version_string): Return _("<corrupt>")
91 for corrupt symbol version info.
93 2018-08-24 H.J. Lu <hongjiu.lu@intel.com>
95 * readelf.c (decode_x86_compat_isa): New function.
96 (decode_x86_feature_2): Likewise.
97 (decode_x86_isa): Updated for new X86_ISA_1_XXX bits.
98 (decode_x86_feature): Renamed to ...
99 (decode_x86_feature_1): This. Remove the type argument.
100 (print_gnu_property_note): Handle X86_COMPAT_ISA_1_USED,
101 X86_COMPAT_ISA_1_NEEDED, X86_UINT32_AND_LO, X86_UINT32_AND_HI,
102 X86_UINT32_OR_LO, X86_UINT32_OR_HI, X86_UINT32_OR_AND_LO and
103 X86_UINT32_OR_AND_HI instead of X86_ISA_1_USED, X86_ISA_1_NEEDED
104 and X86_FEATURE_1_AND.
105 * testsuite/binutils-all/i386/pr21231b.s: Updated to the current
106 GNU_PROPERTY_X86_ISA_1_USED and GNU_PROPERTY_X86_ISA_1_NEEDED
108 * testsuite/binutils-all/x86-64/pr21231b.s: Likewise.
109 * testsuite/binutils-all/x86-64/pr23494a.s: Likewise.
110 * testsuite/binutils-all/x86-64/pr23494b.s: Likewise.
111 * testsuite/binutils-all/x86-64/pr23494c.s: Likewise.
112 * testsuite/binutils-all/i386/pr21231b.d: Updated.
113 * testsuite/binutils-all/x86-64/pr21231b.d: Likewise.
114 * testsuite/binutils-all/x86-64/pr23494a-x32.d: Likewise.
115 * testsuite/binutils-all/x86-64/pr23494a.d: Likewise.
116 * testsuite/binutils-all/x86-64/pr23494c-x32.d: Likewise.
117 * testsuite/binutils-all/x86-64/pr23494c.d: Likewise.
118 * testsuite/binutils-all/x86-64/pr23494d-x32.d: Likewise.
119 * testsuite/binutils-all/x86-64/pr23494d.d: Likewise.
120 * testsuite/binutils-all/x86-64/pr23494e-x32.d: Likewise.
121 * testsuite/binutils-all/x86-64/pr23494e.d: Likewise.
123 2018-08-24 H.J. Lu <hongjiu.lu@intel.com>
125 * readelf.c (print_gnu_property_note): Check the
126 GNU_PROPERTY_X86_UINT32_VALID bit for invalid GNU property note.
128 2018-08-23 Alan Modra <amodra@gmail.com>
130 * readelf.c (get_ppc64_symbol_other): Return NULL if st_other
131 field contains unrecognised or reserved values. Handle
134 2018-08-23 H.J. Lu <hongjiu.lu@intel.com>
137 * Makefile.am (development.exp): New target.
138 (EXTRA_DEJAGNU_SITE_CONFIG): New.
139 (DISTCLEANFILES): Add development.exp.
140 * Makefile.in: Regenerated.
141 * testsuite/binutils-all/objcopy.exp (strip_test): Call
142 prune_warnings to prune BFD output.
143 (strip_test_with_saving_a_symbol): Likewise.
144 (objcopy_test_without_global_symbol): Likewise.
145 * testsuite/lib/binutils-common.exp (prune_warnings_extra):
147 (prune_warnings): Likewise.
149 2018-08-23 H.J. Lu <hongjiu.lu@intel.com>
151 * README-how-to-make-a-release: Document setting "experimental"
154 2018-08-22 Alan Modra <amodra@gmail.com>
156 * readelf.c (process_file_header): Assign updated values from
157 section_header[0] fields to e_phnum, e_shnum and e_shstrndx
158 during printing of header. Correct e_shstrndx range check.
159 Remove unnecessary casts and use %u rather than %ld for
160 unsigned int header fields. Don't print a random %lx when
161 reporting an unknown EI_VERSION.
163 2018-08-21 Nick Clifton <nickc@redhat.com>
165 * MAINTAINERS: Note that Arnold Metselaar has retired as the z80
168 2018-08-21 L. Simon <l.simon@samsung.com>
171 * readelf.c (hppa_process_unwind): Only dump the unwind table if
172 the data was successfully read in.
174 2018-08-18 Alan Modra <amodra@gmail.com>
176 * testsuite/lib/binutils-common.exp (is_elf64): Use directory of
177 input file for readelf.out.
179 * testsuite/binutils-all/objcopy.exp (elf64): Set new variable
180 from first result of is_elf64 test.
181 (reloc_format): Set using is_rela.
182 (strip-13): Pass RELOC and ELF64 to assembler.
183 (strip-14, strip-15): Use elf64 rather than calling is_elf64 again.
184 * testsuite/binutils-all/strip-13.d: Run for more targets.
185 * testsuite/binutils-all/strip-13mips64.s: Use RELOC and set
187 * testsuite/binutils-all/strip-13rel.s: Use RELOC and ELF64.
188 Don't add _NONE reloc.
189 * testsuite/binutils-all/strip-13rela.s: Likewise.
191 2018-08-10 H.J. Lu <hongjiu.lu@intel.com>
194 * testsuite/binutils-all/x86-64/pr23494c.s: New file.
195 * testsuite/binutils-all/x86-64/pr23494e-x32.d: Likewise.
196 * testsuite/binutils-all/x86-64/pr23494e.d: Likewise.
198 2018-08-10 H.J. Lu <hongjiu.lu@intel.com>
200 * testsuite/binutils-all/x86-64/pr23494a-x32.d: Skip nacl
202 * testsuite/binutils-all/x86-64/pr23494a.d: Likewise.
203 * testsuite/binutils-all/x86-64/pr23494b-x32.d: Likewise.
204 * testsuite/binutils-all/x86-64/pr23494b.d: Likewise.
205 * testsuite/binutils-all/x86-64/pr23494c-x32.d: Likewise.
206 * testsuite/binutils-all/x86-64/pr23494c.d: Likewise.
207 * testsuite/binutils-all/x86-64/pr23494d-x32.d: Likewise.
208 * testsuite/binutils-all/x86-64/pr23494d.d: Likewise.
210 2018-08-08 H.J. Lu <hongjiu.lu@intel.com>
213 * testsuite/binutils-all/x86-64/pr23494a-x32.d: New file.
214 * testsuite/binutils-all/x86-64/pr23494a.d: Likewise.
215 * testsuite/binutils-all/x86-64/pr23494a.s: Likewise.
216 * testsuite/binutils-all/x86-64/pr23494b-x32.d: Likewise.
217 * testsuite/binutils-all/x86-64/pr23494b.d: Likewise.
218 * testsuite/binutils-all/x86-64/pr23494b.s: Likewise.
219 * testsuite/binutils-all/x86-64/pr23494c-x32.d: Likewise.
220 * testsuite/binutils-all/x86-64/pr23494c.d: Likewise.
221 * testsuite/binutils-all/x86-64/pr23494d-x32.d: Likewise.
222 * testsuite/binutils-all/x86-64/pr23494d.d: Likewise.
224 2018-08-08 Kevin Buettner <kevinb@redhat.com>
226 * dwarf.c (decode_location_expresion): Add case for
227 DW_OP_GNU_variable_value.
229 2018-08-06 Claudiu Zissulescu <claziss@synopsys.com>
231 * readelf.c (display_arc_attribute): Print Tag_ARC_ATR_version.
233 2018-08-03 Nick Clifton <nickc@redhat.com>
235 * objcopy.c (merge_gnu_build_notes): Delete empty notes. Merge
236 identical function notes.
238 2018-08-01 Nick Clifton <nickc@redhat.com>
240 * README-how-to-make-a-release: Add note about regenerating the
241 info files prior to the release.
243 2018-07-30 Andrew Jenner <andrew@codesourcery.com>
245 * MAINTAINERS (C-SKY): Add Yunhai Shang as co-maintainer.
247 2018-07-30 Andrew Jenner <andrew@codesourcery.com>
249 * MAINTAINERS (C-SKY): Add Lifang Xia as maintainer.
251 2018-07-30 Andrew Jenner <andrew@codesourcery.com>
253 * readelf.c: Include elf/csky.h.
254 (guess_is_rela): Handle EM_CSKY.
255 (dump_relocations): Likewise.
256 (get_machine_name): Likewise.
257 (is_32bit_abs_reloc): Likewise.
259 2018-07-25 Nick Clifton <nickc@redhat.com>
261 * rdcoff.c (parse_coff_struct_type): Free fields array upon early
263 (parse_coff_enum_type): Free names and vals arrays upon early
265 * rddbg.c (read_section_stabs_debugging_info): Free shandle and
266 strings and stabs arrays upon early exit.
267 * readelf.c (get_32bit_section_headers): Free shdrs structure upon
269 (get_64bit_section_headers): Likewise.
270 (get_32bit_elf_symbols): Generate an error if multiple symbol
271 table index sections are associated with the same symbol section.
272 (get_64bit_elf_symbols): Likewise.
273 (process_dynamic_section): Generate an error if there are multiple
274 dynamic symbol table sections, multiple dynamic string tables or
275 multiple dynamic symbol information sections.
277 2018-07-24 Nick Clifton <nickc@redhat.com>
279 * po/sv.po: Updated Swedish translation.
281 2018-07-24 Alan Modra <amodra@gmail.com>
284 * dwarf.c (display_formatted_table): Replace "what" parameter
285 with "is_dir". Expand messages. Fix capitalisation.
286 * testsuite/binutils-all/dw5.W: Update expected output.
288 2018-07-24 Alan Modra <amodra@gmail.com>
291 * elfcomm.h (struct archive_info): Rename uses_64bit_indicies
292 to uses_64bit_indices.
293 * elfcomm.c (setup_archive): Update uses of above.
294 * readelf.c (process_archive): Likewise.
295 (get_section_type_name): Rename indicies to indices.
296 (get_32bit_elf_symbols, get_64bit_elf_symbols): Likewise.
297 (process_section_groups): Likewise.
299 2018-07-20 Maciej W. Rozycki <macro@mips.com>
301 * MAINTAINERS: Update my e-mail address, downgrade to MIPS I-IV
304 2018-07-20 Nick Clifton <nickc@redhat.com>
306 * objcopy.c (add_specific_symbols): Free buffer on exit.
307 (add_redefine_syms_file): Close file handle on exit.
308 (copy_object): Close file handle on early exit.
309 Free buffer on early exit.
310 Free gaps buffers once they are no longer needed.
311 * dwarf.c (display_debug_frames): Free allocated memory on exit.
312 (load_separate_debug_info): Free allocate memory on early exit.
314 2018-07-20 Chenghua Xu <paul.hua.gm@gmail.com>
315 Maciej W. Rozycki <macro@mips.com>
317 * readelf.c (print_mips_ases): Add MMI extension.
319 2018-07-19 DJ Delorie <dj@redhat.com>
321 * MAINTAINERS (RL78, RX): Remove myself as maintainer.
323 2018-07-19 Nick Clifton <nickc@redhat.com>
325 * dwarf.c (read_cie): Free allocated memory before returning with
328 2018-07-16 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
330 * readelf.c (get_note_type): Fix typo in NT_PPC_TM_CVSX note
333 2018-07-16 Nick Clifton <nickc@redhat.com>
335 * README-how-to-make-a-release: Add note to check for new top
336 level files and add them to the src-release.sh script.
338 2018-07-14 Nick Clifton <nickc@redhat.com>
340 * README-how-to-make-a-release: Updated with corrections based on
341 the 2.31 release experience.
343 2018-07-12 Francois H. Theron <francois.theron@netronome.com>
345 * readelf.c (process_section_headers): Don't print section type
346 twice for --section-details.
348 2018-07-10 Alan Modra <amodra@gmail.com>
350 * testsuite/lib/binutils-common.exp (supports_gnu_unique): Return
353 2018-07-06 Nick Clifton <nickc@redhat.com>
355 * readelf.c (same_section): New function.
356 (print_gnu_build_attribute_description): Do not complain about
357 gaps that cross a section boundary.
359 2018-07-05 Nick Clifton <nickc@redhat.com>
361 * po/bg.po: Updated Bulgarian translation.
363 2018-07-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
365 * NEWS: Use command-line consistently when used in a compount word.
366 * doc/binutils.texi: Likewise and fix trailing whitespace on same
369 2018-06-26 Nick Clifton <nickc@redhat.com>
371 * po/sv.po: Updated Swedish translation.
372 * po/uk.po: Updated Ukranian translation.
374 2018-06-26 Nick Clifton <nickc@redhat.com>
376 * doc/binutils.texi: Fix spelling mistakes.
377 * README--how-to-make-a-release: Likewise.
379 2018-06-25 Tom Tromey <tom@tromey.com>
381 * dwarf-mode.el (dwarf-mode-syntax-table): New variable.
384 2018-06-24 Nick Clifton <nickc@redhat.com>
386 * README-how-to-make-a-release: Update with experiences from
388 * po/binutils.pot: Regenerate.
389 * configure: Regenerate.
391 2018-06-24 Nick Clifton <nickc@redhat.com>
394 * NEWS: Add marker for 2.31.
396 2018-06-21 Alan Modra <amodra@gmail.com>
398 * doc/Makefile.am (AUTOMAKE_OPTIONS): Add "foreign".
399 * doc/Makefile.in: Regenerate.
401 2018-06-19 Simon Marchi <simon.marchi@ericsson.com>
403 * configure.ac: Remove AC_PREREQ.
404 * doc/Makefile.am (AUTOMAKE_OPTIONS): Remove cygnus, add
405 info-in-builddir no-texinfo.tex.
406 * Makefile.in: Re-generate.
407 * aclocal.m4: Re-generate.
408 * config.in: Re-generate.
409 * configure: Re-generate.
410 * doc/Makefile.in: Re-generate.
412 2018-06-19 Andreas Schwab <schwab@suse.de>
414 * readelf.c (is_16bit_abs_reloc): Handle R_RISCV_SET16.
415 (is_8bit_abs_reloc): New function.
416 (is_6bit_abs_reloc): New function.
417 (is_6bit_inplace_sub_reloc): New function.
418 (apply_relocations): Use them. Handle 6-bit relocations.
420 2018-06-14 Faraz Shahbazker <Faraz.Shahbazker@mips.com>
422 * readelf.c (print_mips_ases): Add GINV extension.
424 2018-06-14 H.J. Lu <hongjiu.lu@intel.com>
427 * readelf.c (get_symbol_version_string): Check if the first
428 symbol version is base version.
430 2018-06-13 Scott Egerton <scott.egerton@imgtec.com>
431 Faraz Shahbazker <Faraz.Shahbazker@mips.com>
433 * readelf.c (print_mips_ases): Add CRC.
435 2018-06-13 Nick Clifton <nickc@redhat.com>
437 * doc/binutils.texi (objdump): Add missing closing square
438 parenthesis to listing of objcopy's command line options.
440 2018-06-11 Nick Clifton <nickc@redhat.com>
442 * po/es.po: Updated Spanish translation.
444 2018-06-01 H.J. Lu <hongjiu.lu@intel.com>
446 * configure: Regenerated.
448 2018-05-31 Alan Modra <amodra@gmail.com>
450 * testsuite/binutils-all/compress.exp (test_gnu_debuglink): Don't
451 set CC_FOR_TARGET. Run test non-native.
452 * testsuite/binutils-all/objdump.exp (test_build_id_debuglink):
454 (test_follow_debuglink): Run test non-native.
456 2018-05-30 Ant Bikeneev <ant.bikineev@gmail.com>
459 * ar.c (display_offsets): New variable.
460 (usage): Add description of 'O' operator.
461 (decode_option): Handle 'O' operator.
462 (print_descr): Pass display_offsets to print_arelt_descr.
463 * arsup.c: Update call to printy_arelt_descr.
464 * objdump.c: Likewise.
465 * bucomm.c (print_arelt_descr): If offsets parameter is true then
466 display offset of archive element within the archive.
467 * bucomm.h: Update prototype for print_arelt_descr.
468 * doc/binutils.texi: Update description of ar command.
469 * NEWS: Mention the new feature.
470 * testsuite/binutils-all/ar.exp: Add text of new feature.
472 2018-05-28 Alan Modra <amodra@gmail.com>
475 * testsuite/binutils-all/compress.exp (test_gnu_debuglink): Return
476 unsupported rather than fail on compile errors.
477 * testsuite/binutils-all/objdump.exp (test_build_id_debuglink):
478 Likewise. Save and restore CFLAGS_FOR_TARGET.
480 2018-05-18 Kito Cheng <kito.cheng@gmail.com>
482 * readelf.c (get_machine_flags): Handle EF_RISCV_RVE.
484 2018-05-18 John Darrington <john@darrington.wattle.id.au>
486 * readelf.c: Add support for s12z architecture.
487 * testsuite/lib/binutils-common.exp (is_elf_format): Excluse s12z
490 2018-05-15 Tamar Christina <tamar.christina@arm.com>
493 * doc/binutils.texi (-M): Document AArch64 options.
495 2018-05-15 Tamar Christina <tamar.christina@arm.com>
498 * doc/binutils.texi (-M): Document AArch64 options.
499 * NEWS: Document notes and warnings.
501 2018-05-15 Alan Modra <amodra@gmail.com>
503 * testsuite/lib/binutils-common.exp (is_elf_format): Add chorus,
504 cloudabi, fuchsia, kaos and nto. Merge netbsdelf* into *elf*,
505 and *uclinux* into *linux*.
506 * testsuite/binutils-all/objcopy.exp: Accept armeb for rel
507 strip-13 test, exclude arm-vxworks and arm-windiss.
509 2018-05-10 John Darrington <john@darrington.wattle.id.au>
511 * readelf.c (get_machine_name): EM_S12Z - handle new case.
513 2018-05-09 Alan Modra <amodra@gmail.com>
515 * od-macho.c (dump_unwind_encoding_x86): Fix typo in last patch.
517 2018-05-09 Sebastian Rasmussen <sebras@gmail.com>
519 * od-macho.c (dump_unwind_encoding_x86): Adjust for macro renaming.
521 2018-05-08 Alan Modra <amodra@gmail.com>
524 * objcopy.c (is_strip_section): Strip groups without a valid
527 2018-05-07 Alan Modra <amodra@gmail.com>
530 * objcopy.c (group_signature): Don't accept groups that use a
531 symbol table other than the one we've read.
533 2018-04-30 Francois H. Theron <francois.theron@netronome.com>
535 * readelf.c: Very basic support for EM_NFP and its section types.
536 * testsuite/binutils-all/nfp: New directory.
537 * testsuite/binutils-all/nfp/objdump.exp: New file. Run new
539 * testsuite/binutils-all/nfp/test2_ctx8.d: New file.
540 * testsuite/binutils-all/nfp/test2_no-pc_ctx4.d: New file.
541 * testsuite/binutils-all/nfp/test1.d: New file.
542 * testsuite/binutils-all/nfp/nfp6000.nffw: New file.
543 * testsuite/binutils-all/nfp/test2_nfp6000.nffw: New file.
544 * NEWS: Mention the new support.
546 2018-04-27 Maciej W. Rozycki <macro@mips.com>
548 * testsuite/lib/binutils-common.exp (match_target): New procedure.
549 * testsuite/lib/utils-lib.exp (run_dump_test): Use it in place
550 of `istarget' for matching with `target', `not-target', `skip'
551 and `not-skip' options.
553 2018-04-26 Nick Clifton <nickc@redhat.com>
555 * readelf.c (is_32bit_abs_reloc): Support R_PARISC_DIR32 as a
556 32-bit absolute reloc for the HPPA target.
557 * testsuite/binutils-all/note-5.d: New test.
558 * testsuite/binutils-all/note-5.s: Source file for new test.
559 * testsuite/binutils-all/objcopy.exp: Run new test.
561 2018-04-25 Christophe Lyon <christophe.lyon@st.com>
563 * testsuite/binutils-all/elfedit-2.d: Accept arm*-*-uclinuxfdpiceabi.
564 * testsuite/binutils-all/elfedit-3.d: Likewise.
565 * testsuite/binutils-all/objcopy.exp: Likewise.
566 * testsuite/binutils-all/strip-3.d: Likewise.
567 * testsuite/lib/binutils-common.exp: Likewise.
569 2018-04-25 Christophe Lyon <christophe.lyon@st.com>
570 Mickaël Guêné <mickael.guene@st.com>
572 * readelf.c (decode_ARM_machine_flags): Support EF_ARM_PIC.
573 (get_osabi_name): Support ELFOSABI_ARM_FDPIC.
575 2018-04-25 Alan Modra <amodra@gmail.com>
577 * testsuite/binutils-all/arm/objdump.exp: Remove arm-aout and
579 * testsuite/binutils-all/objcopy.exp: Likewise.
580 * testsuite/lib/binutils-common.exp: Likewise.
582 2018-04-18 Nick Clifton <nickc@redhat.com>
585 * dwarf.c (read_and_display_attr_value): Replace assertions with
586 test and warning message.
588 2018-04-18 Alan Modra <amodra@gmail.com>
590 * testsuite/lib/binutils-common.exp: Remove support for assorted
593 2018-04-17 Nick Clifton <nickc@redhat.com>
596 * readelf.c (print_symbol): If the width is zero, return straight
600 * dwarf.c (process_cu_tu_index): Test for a potential buffer
601 overrun before copying signature pointer.
603 2018-04-17 Alan Modra <amodra@gmail.com>
605 * readelf.c: Revert 2018-04-16 and 2018-04-11 changes.
607 2018-04-16 Alan Modra <amodra@gmail.com>
609 * readelf.c (get_machine_name): Correct typo.
611 2018-04-16 Alan Modra <amodra@gmail.com>
613 * configure.ac: Remove arm-epoc-pe support.
614 * dlltool.c: Likewise.
615 * configure: Regenerate.
617 2018-04-16 Alan Modra <amodra@gmail.com>
619 * testsuite/lib/binutils-common.exp: Remove sparc-aout and
622 2018-04-16 Alan Modra <amodra@gmail.com>
624 * testsuite/binutils-all/copy-2.d: Remove m68k-aout and m68k-coff
626 * testsuite/binutils-all/copy-3.d: Likewise.
627 * testsuite/binutils-all/objcopy.exp: Likewise.
628 * testsuite/lib/binutils-common.exp: Likewise.
630 2018-04-16 Alan Modra <amodra@gmail.com>
632 * testsuite/binutils-all/objcopy.exp: Remove sh5 and sh64 support.
634 2018-04-16 Alan Modra <amodra@gmail.com>
636 * testsuite/binutils-all/objcopy.exp: Remove w65 support.
638 2018-04-16 Alan Modra <amodra@gmail.com>
640 * testsuite/binutils-all/objdump.exp: Remove we32k support.
642 2018-04-16 Alan Modra <amodra@gmail.com>
644 * MAINTAINERS (Mark Kettenis): Move to past maintainers.
645 * testsuite/binutils-all/objdump.exp: Remove m88k support.
647 2018-04-16 Alan Modra <amodra@gmail.com>
649 * readelf.c: Remove i370 support.
650 * testsuite/binutils-all/objdump.exp: Likewise.
652 2018-04-16 Alan Modra <amodra@gmail.com>
654 * testsuite/binutils-all/objcopy.exp: Remove h8500 support.
655 * testsuite/lib/binutils-common.exp: Likewise.
657 2018-04-16 Alan Modra <amodra@gmail.com>
659 * testsuite/binutils-all/objcopy.exp: Remove h8300-coff support.
661 2018-04-16 Alan Modra <amodra@gmail.com>
663 * Makefile.am: Remove IEEE 695 support.
665 * doc/binutils.texi: Likewise.
666 * makefile.vms: Likewise.
667 * objcopy.c: Likewise.
668 * objdump.c: Likewise.
671 * Makefile.in: Regenerate.
672 * po/POTFILES.in: Regenerate.
674 2018-04-16 Alan Modra <amodra@gmail.com>
676 * testsuite/binutils-all/copy-2.d: Remove newsos3 support.
677 * testsuite/binutils-all/nm.exp: Likewise.
679 2018-04-16 Alan Modra <amodra@gmail.com>
681 * .gitignore: Remove netware support.
682 * Makefile.am: Likewise.
683 * configure.ac: Likewise.
684 * doc/Makefile.am: Likewise.
685 * doc/binutils.texi: Likewise.
686 * testsuite/binutils-all/nm.exp: Likewise.
689 * nlmheader.y: Delete.
690 * Makefile.in: Regenerate.
691 * configure: Regenerate.
692 * doc/Makefile.in: Regenerate.
693 * po/POTFILES.in: Regenerate.
695 2018-04-16 Alan Modra <amodra@gmail.com>
697 * testsuite/binutils-all/objdump.exp: Remove tahoe support.
699 2018-04-14 Alan Modra <amodra@gmail.com>
701 * readelf.c (get_machine_name): Revert 2018-04-11 change.
703 2018-04-12 Nick Clifton <nickc@redhat.com>
706 * readelf.c (process_dynamic_section): Correct dynamic string
707 table size calculation.
709 2018-04-11 Alan Modra <amodra@gmail.com>
711 * ieee.c: Remove i960 support.
712 * od-macho.c: Remove i860 support.
713 * readelf.c: Remove i860 and i960 support.
714 * testsuite/binutils-all/objcopy.exp: Likewise.
715 * testsuite/binutils-all/objdump.exp: Likewise.
716 * testsuite/lib/binutils-common.exp: Likewise.
718 2018-04-11 Maciej W. Rozycki <macro@mips.com>
720 * testsuite/lib/binutils-common.exp (is_elf_format): Also return
721 1 for `*-*-lynxos*' and `*-*-symbianelf*' targets.
723 2018-04-10 Alan Modra <amodra@gmail.com>
725 * testsuite/binutils-all/objcopy.exp (strip-14, strip-15): Choose
726 reloc=11 for pru and reloc=50 for nds32.
727 * testsuite/binutils-all/strip-15.d: Accept 0xb reloc number.
729 2018-04-09 Maciej W. Rozycki <macro@mips.com>
731 * testsuite/binutils-all/strip-15.d: New test.
732 * testsuite/binutils-all/strip-15rel.s: New test source.
733 * testsuite/binutils-all/strip-15rela.s: New test source.
734 * testsuite/binutils-all/strip-15mips64.s: New test source.
735 * testsuite/binutils-all/objcopy.exp: Run the new test.
737 2018-04-09 Maciej W. Rozycki <macro@mips.com>
739 * testsuite/binutils-all/strip-14.d: New test.
740 * testsuite/binutils-all/strip-14rel.s: New test source.
741 * testsuite/binutils-all/strip-14rela.s: New test source.
742 * testsuite/binutils-all/strip-14mips64.s: New test source.
743 * testsuite/binutils-all/objcopy.exp: Run the new test.
745 2018-04-06 Tom Tromey <tom@tromey.com>
747 * dwarf.c (read_and_display_attr_value): Add missing DW_LANG
748 constants from DWARF 5.
750 2018-04-05 H.J. Lu <hongjiu.lu@intel.com>
753 * configure: Regenerated.
755 2018-04-05 Maciej W. Rozycki <macro@mips.com>
757 * testsuite/binutils-all/strip-13mips64.s: Use `.dc.l' rather
758 than `.dc.w' in second relocation.
760 2018-04-05 Maciej W. Rozycki <macro@mips.com>
762 * testsuite/binutils-all/strip-13.d: Also expect `unsupported
763 relocation type 0x8f' error message.
765 2018-04-05 Maciej W. Rozycki <macro@mips.com>
767 * testsuite/binutils-all/strip-13.s: Rename to...
768 * testsuite/binutils-all/strip-13rela.s: ... this.
769 * testsuite/binutils-all/strip-13rel.s: New test source.
770 * testsuite/binutils-all/strip-13mips64.s: New test source.
771 * testsuite/binutils-all/strip-13.d: Remove `arm-*', `d10v-*',
772 `dlx-*' and `xgate-*' from `not-target' list. Add `m6811-*' and
773 `m68hc11-*' to `not-target' list.
774 * testsuite/binutils-all/objcopy.exp: Switch between sources for
777 2018-04-05 Maciej W. Rozycki <macro@mips.com>
779 * testsuite/binutils-all/strip-13.s: Use 143 (0x8f) rather than
780 241 (0xf1) for the relocation number and RELA addend.
781 * testsuite/binutils-all/strip-13.d: Remove `hppa*-*' from the
784 2018-04-04 John David Anglin <danglin@gcc.gnu.org>
786 * MAINTAINERS: Update my e-mail address.
788 2018-04-04 Nick Clifton <nickc@redhat.com>
790 * MAINTAINERS: Move Jason Eckhardt to past maintainers section.
792 2018-03-23 Nick Clifton <nickc@redhat.com>
794 * readelf.c (get_symbol_for_build_attribute): Skip ARM mapping
796 (print_gnu_build_attribute_description): If no file start symbol
797 could be found, look for one two bytes into the file.
798 * testsuite/binutils-all/note-4-64.s: Set the address of the file
799 start symbol to two bytes into the file.
800 * testsuite/binutils-all/note-4-32.s: Likewise.
802 2018-03-21 H.J. Lu <hongjiu.lu@intel.com>
804 * readelf.c (process_dynamic_section): Also dump DF_1_KMOD,
805 DF_1_WEAKFILTER and DF_1_NOCOMMON.
807 2018-03-20 Nick Clifton <nickc@redhat.com>
809 * po/es.po: Updated Spanish translation.
810 * po/ru.po: Updated Russian translation.
812 2018-03-13 Nick Clifton <nickc@redhat.com>
815 * stabs.c (pop_binincl): Fail if the file index is off the end of
818 2018-03-13 Nick Clifton <nickc@redhat.com>
821 * stabs.c (parse_number): Add p_end parameter and use it to check
822 the validity of the pp parameter. Add checks to prevent walking
823 off the end of the string buffer.
824 (parse_stab_string): Likewise.
825 (parse_stab_type): Likewise.
826 (parse_stab_type_number): Likewise.
827 (parse_stab_range_type): Likewise.
828 (parse_stab_sun_builtin_type): Likewise.
829 (parse_stab_sun_floating_type): Likewise.
830 (parse_stab_enum_type): Likewise.
831 (parse_stab_struct_type): Likewise.
832 (parse_stab_baseclasses): Likewise.
833 (parse_stab_struct_fields): Likewise.
834 (parse_stab_cpp_abbrev): Likewise.
835 (parse_stab_one_struct_field): Likewise.
836 (parse_stab_members): Likewise.
837 (parse_stab_tilde_field): Likewise.
838 (parse_stab_array_type): Likewise.
840 * parse_stab: Compute the end of the string and then pass it on to
841 individual parser functions.
843 2018-03-07 Paul Pluzhnikov <ppluzhnikov@google.com>
846 * binutils/readelf.c (get_ver_flags): Expand buffer to avoid
849 2018-03-07 Alan Modra <amodra@gmail.com>
851 * configure.ac: Add objdump_private_desc_xcoff for rs6000.
852 * configure: Regenerate.
854 2018-03-05 H.J. Lu <hongjiu.lu@intel.com>
857 * objdump.c (is_significant_symbol_name): Return TRUE for all
859 (find_symbol_for_address): Replace linear search with binary
860 search on dynamic relocations.
862 2018-03-01 Nick Clifton <nickc@redhat.com>
865 * dwarf.c (display_debug_ranges): Check that the offset loaded
866 from the range_entry structure is valid.
868 2018-03-01 Alan Modra <amodra@gmail.com>
870 * configure.ac (ALL_LINGUAS): Add sr. Sort.
871 * configure: Regenerate.
873 2018-02-27 Nick Clifton <nickc@redhat.com>
875 * po/pt.po: New Portuguese translation.
876 * configure.ac (ALL_LINGUAS): Add pt.
877 * configure: Regenerate.
879 2018-02-27 Nick Clifton <nickc@redhat.com>
882 * objcopy.c (copy_object): Check the error status after marking
883 symbols used in relocations.
884 * testsuite/binutils-all/strip-13.s: New test source file.
885 * testsuite/binutils-all/strip-13.s: New test driver file.
886 * testsuite/binutils-all/objcopy.exp: Run the new test.
888 2018-02-26 Alan Modra <amodra@gmail.com>
890 * testsuite/binutils-all/mips/mips-reginfo-n32.d,
891 * testsuite/binutils-all/mips/mips-reginfo.d: Update.
893 2018-02-23 Alan Modra <amodra@gmail.com>
895 * testsuite/binutils-all/mips/mips-reginfo-n32.d,
896 * testsuite/binutils-all/mips/mips-reginfo.d: Update.
898 2018-02-20 Ronald Hoogenboom <hoogenboom30@zonnet.nl>
900 * doc/binutils.texi (objcopy): Add missing closing square
901 parenthesis to listing of objcopy's command line options.
903 2018-02-19 Matthias Klose <doko@debian.org>
905 * strings.c (long_options): Include-all-whitespace does not take
908 2018-02-13 Alan Modra <amodra@gmail.com>
911 * testsuite/binutils-all/group-7.s,
912 * testsuite/binutils-all/group-7a.d,
913 * testsuite/binutils-all/group-7b.d,
914 * testsuite/binutils-all/group-7c.d: New tests.
915 * testsuite/binutils-all/objcopy.exp: Run them.
917 2018-02-08 Nick Clifton <nickc@redhat.com>
920 * dwarf.c (load_separate_debug_file): Return early if the user is
921 not interested in debug links.
923 2018-02-06 Nick Clifton <nickc@redhat.com>
926 * readelf.c (find_section): Replace assertion with test and return
928 (find_section_by_address): Add test of section header table
930 (find_section_by_type): Likewise.
931 (find_section_in_set): Likewise.
933 2018-02-05 Maciej W. Rozycki <macro@mips.com>
935 * testsuite/binutils-all/mips/mips-reginfo.d: New test.
936 * testsuite/binutils-all/mips/mips-reginfo-n32.d: New test.
937 * testsuite/binutils-all/mips/mips-reginfo.s: New test source.
938 * testsuite/binutils-all/mips/mips.exp: Run the new tests.
940 2018-02-05 Maciej W. Rozycki <macro@mips.com>
942 * testsuite/config/default.exp (binutils_run): Document
943 `binutils_run_status'.
944 * testsuite/lib/utils-lib.exp (default_binutils_run): Likewise,
946 (run_dump_test): Add `error', `error_output', `warning' and
947 `warning_output' options. Update documentation accordingly.
949 2018-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
951 * dwarf.c (dwarf_regnames_riscv): New register name table.
952 (init_dwarf_regnames_riscv): New function.
953 (init_dwarf_regnames): Add call to initialise RiscV register
955 * dwarf.h (init_dwarf_regnames_riscv): Declare.
956 * objdump.c (dump_dwarf): Add call to initialise RiscV register
959 2018-02-01 Alan Modra <amodra@gmail.com>
962 * objdump.c (load_specific_debug_section): Check for overflow
963 when adding one to section size for a string section terminator.
965 2018-01-30 Nick Clifton <nickc@redhat.com>
968 * doc/binutils.texi (nm): Update description to point out that
969 zero-initialized values can also be shown as type B, b, S or s
970 since they can be stored in the BSS section.
972 2018-01-30 Alan Modra <amodra@gmail.com>
974 * objcopy.c (merge_gnu_build_notes): Use (bfd_vma) -1 as
975 "artificially large" end address.
977 2018-01-28 Nick Clifton <nickc@redhat.com>
979 * README-how-to-make-a-release: Add note about checking gpg key
980 and the results of gnupload.
982 2018-01-27 Nick Clifton <nickc@redhat.com>
984 * README-how-to-make-a-release: Add details on how to actually
987 2018-01-26 Nick Clifton <nickc@redhat.com>
989 * README-how-to-make-a-release: Add more details on updating
992 2018-01-22 Maciej W. Rozycki <macro@mips.com>
994 * doc/binutils.texi (objcopy): Fix a typo in `--rename-section'
997 2018-01-22 Maciej W. Rozycki <macro@mips.com>
999 * MAINTAINERS: Update my company e-mail address.
1001 2018-01-22 Nick Clifton <nickc@redhat.com>
1003 * po/sv.po: Updated Swedish translation.
1005 2018-01-18 Nick Clifton <nickc@redhat.com>
1007 * po/bg.po: Updated Bulgarian translation.
1009 2018-01-16 Joel Brobecker <brobecker@adacore.com>
1011 * README-how-to-make-a-release: Add reminder to update the
1012 branch name in gdbadmin's crontab on sourceware.
1014 2018-01-16 Joel Brobecker <brobecker@adacore.com>
1016 * README-how-to-make-a-release: Remove trailing spaces.
1018 2018-01-16 Nick Clifton <nickc@redhat.com>
1020 * po/fr.po: Updated French translation.
1022 2018-01-15 Nick Clifton <nickc@redhat.com>
1024 * po/uk.po: Updated Ukranian translation.
1026 2018-01-13 Nick Clifton <nickc@redhat.com>
1028 * README-how-to-make-a-release: Update notes.
1029 * po/binutils.pot: Regenerated.
1031 2018-01-13 Nick Clifton <nickc@redhat.com>
1033 * configure: Regenerate.
1035 2018-01-13 Nick Clifton <nickc@redhat.com>
1037 2.30 branch created.
1038 * NEWS: Add marker for 2.30.
1040 2018-01-12 Nick Clifton <nickc@redhat.com>
1042 * README-how-to-make-a-release: Add notes on how to make the
1043 branch and prelease snapshot.
1044 * BRANCHES: Add binutils-2_29-branch.
1046 2018-01-10 Nick Clifton <nickc@redhat.com>
1048 * MAINTAINERS: Note that it is now the configure.ac file and not
1049 the configure.in file that needs to be kept in sync with gcc.
1050 Add a note about sending patches for libiberty to gcc.
1052 2018-01-03 Nick Clifton <nickc@redhat.com>
1054 * objcopy.c (merge_gnu_build_notes): Add cast to maximum address
1057 2018-01-03 Nick Clifton <nickc@redhat.com>
1059 * objcopy.c (objcopy_internal_note): New structure.
1060 (gap_exists): New function.
1061 (is_open_note): New function.
1062 (is_func_note): New function.
1063 (is_64bit): New function.
1064 (merge_gnu_build_notes): Handle v3 notes. Do not merge
1065 if there are relocations against the notes.
1066 * readelf.c (get_note_type): Use short names for build attribute
1068 (print_symbol_for_build_attribute): Rename to
1069 get_symbol_for_build_attribute. Returns the found symbol rather
1071 (print_gnu_build_attribute_description): Maintain address ranges
1072 for function notes as well as global notes. Handle v3 notes.
1073 (print_gnu_build_attribute_name): Use more space for printing the
1075 * testsuite/binutils-all/note-2-32.s: Use .dc.l instead of .word.
1076 Eliminate symbol references in order to remove the need for
1078 * testsuite/binutils-all/note-2-64.s: Likewise.
1079 * testsuite/binutils-all/note-3-32.s: Add a size to the note_1
1081 * testsuite/binutils-all/note-3-64.s: Likewise.
1082 * testsuite/binutils-all/mips/mips-note-2r-n32.d: Update expected
1084 * testsuite/binutils-all/mips/mips-note-2r-n64.d: Likewise.
1085 * testsuite/binutils-all/mips/mips-note-2r.d: Likewise.
1086 * testsuite/binutils-all/note-2-32.d: Likewise.
1087 * testsuite/binutils-all/note-2-64.d: Likewise.
1088 * testsuite/binutils-all/note-3-32.d: Likewise.
1089 * testsuite/binutils-all/note-3-64.d: Likewise.
1090 * testsuite/binutils-all/note-4-64.s: New test. Checks v3 notes.
1091 * testsuite/binutils-all/note-4-32.s: New test.
1092 * testsuite/binutils-all/note-4-64.d: New test result file.
1093 * testsuite/binutils-all/note-4-32.d: New test result file.
1095 2018-01-03 Alan Modra <amodra@gmail.com>
1097 Update year range in copyright notice of all files.
1099 For older changes see ChangeLog-2017
1101 Copyright (C) 2018 Free Software Foundation, Inc.
1103 Copying and distribution of this file, with or without modification,
1104 are permitted in any medium without royalty provided the copyright
1105 notice and this notice are preserved.
1111 version-control: never