1 2018-09-14 Alan Modra <amodra@gmail.com>
4 * testsuite/binutils-all/pr23633.d: Don't fail when assembler
5 generates sections other than .text.
7 2018-09-13 H.J. Lu <hongjiu.lu@intel.com>
10 * testsuite/binutils-all/objcopy.exp: Run pr23633.
11 * testsuite/binutils-all/pr23633.d: New file.
12 * testsuite/binutils-all/pr23633.list: Likewise.
13 * testsuite/binutils-all/pr23633.s: Likewise.
15 2018-09-13 Nick Clifton <nickc@redhat.com>
18 * objcopy.c (add_specific_symbols): Do not free the buffer at the
21 2018-09-10 Alan Modra <amodra@gmail.com>
24 * objcopy.c (handle_remove_section_option): Consider .rela and
25 .rel sections for stripping directly as well as attached to the
26 associated section they relocate.
27 * doc/binutils.texi (remove-relocations): Specify that this
28 option removes non-dynamic relocation sections.
29 * testsuite/binutils-all/objcopy.exp
30 (objcopy_remove_relocations_from_executable): New test.
32 2018-09-03 Nick Clifton <nickc@redhat.com>
34 * po/ja.po: Updated Japanese translation.
36 2018-08-31 H.J. Lu <hongjiu.lu@intel.com>
38 * testsuite/binutils-all/readelf.s-64: Adjusted for
39 .note.gnu.property section.
40 * testsuite/binutils-all/strip-3.d: Also strip
41 .note.gnu.property section.
43 2018-08-31 H.J. Lu <hongjiu.lu@intel.com>
45 * testsuite/binutils-all/i386/compressed-1b.d: Pass
46 -mx86-used-note=no to assembler.
47 * testsuite/binutils-all/i386/compressed-1c.d: Likewise.
48 * testsuite/binutils-all/x86-64/compressed-1b.d: Likewise.
49 * testsuite/binutils-all/x86-64/compressed-1c.d: Likewise.
50 * testsuite/binutils-all/i386/empty.d: Pass -mx86-used-note=yes
51 to assembler and update expected output from "readelf -n".
52 * testsuite/binutils-all/i386/ibt.d: Likewise.
53 * testsuite/binutils-all/i386/pr21231a.d: Likewise.
54 * testsuite/binutils-all/i386/pr21231b.d: Likewise.
55 * testsuite/binutils-all/i386/shstk.d: Likewise.
56 * testsuite/binutils-all/x86-64/empty-x32.d: Likewise.
57 * testsuite/binutils-all/x86-64/empty.d: Likewise.
58 * testsuite/binutils-all/x86-64/ibt-x32.d: Likewise.
59 * testsuite/binutils-all/x86-64/ibt.d: Likewise.
60 * testsuite/binutils-all/x86-64/pr21231a.d: Likewise.
61 * testsuite/binutils-all/x86-64/pr21231b.d: Likewise.
62 * testsuite/binutils-all/x86-64/pr23494a-x32.d: Likewise.
63 * testsuite/binutils-all/x86-64/pr23494a.d: Likewise.
64 * testsuite/binutils-all/x86-64/pr23494b-x32.d: Likewise.
65 * testsuite/binutils-all/x86-64/pr23494b.d: Likewise.
66 * testsuite/binutils-all/x86-64/pr23494c-x32.d: Likewise.
67 * testsuite/binutils-all/x86-64/pr23494c.d: Likewise.
68 * testsuite/binutils-all/x86-64/pr23494d-x32.d: Likewise.
69 * testsuite/binutils-all/x86-64/pr23494d.d: Likewise.
70 * testsuite/binutils-all/x86-64/pr23494e-x32.d: Likewise.
71 * testsuite/binutils-all/x86-64/pr23494e.d: Likewise.
72 * testsuite/binutils-all/x86-64/shstk-x32.d: Likewise.
73 * testsuite/binutils-all/x86-64/shstk.d: Likewise.
75 2018-08-30 H.J. Lu <hongjiu.lu@intel.com>
77 * readelf.c (process_section_headers): Treat SHT_FINI_ARRAY and
78 SHT_PREINIT_ARRAY as relocatable sections.
80 2018-08-30 Chenghua Xu <paul.hua.gm@gmail.com>
82 * MAINTAINERS: Add myself as a MIPS port maintainer.
84 2018-08-29 Chenghua Xu <paul.hua.gm@gmail.com>
86 * NEWS: Mention Loongson 2K1000 proccessor support.
87 * readelf.c (get_machine_flags): Handle gs264e.
89 2018-08-29 Chenghua Xu <paul.hua.gm@gmail.com>
91 * NEWS: Mention Loongson 3A2000/3A3000 proccessor support.
92 * readelf.c (get_machine_flags): Handle gs464e.
94 2018-08-29 Chenghua Xu <paul.hua.gm@gmail.com>
96 * NEWS: Mention Loongson 3A1000 proccessor support.
97 * readelf.c (get_machine_flags): Rename loongson-3a to gs464.
98 (print_mips_isa_ext): Delete AFL_EXT_LOONGSON_3A.
100 2018-08-29 Chenghua Xu <paul.hua.gm@gmail.com>
102 * readelf.c (print_mips_ases): Add Loongson EXT2 extension.
104 2018-08-29 Chenghua Xu <paul.hua.gm@gmail.com>
106 * readelf.c (print_mips_ases): Add Loongson EXT extension.
108 2018-08-29 Chenghua Xu <paul.hua.gm@gmail.com>
110 * readelf.c (print_mips_ases): Add CAM extension.
112 2018-08-27 H.J. Lu <hongjiu.lu@intel.com>
114 * readelf.c (decode_x86_isa): Print <None> if bitmask only
115 contains the GNU_PROPERTY_X86_UINT32_VALID bit.
116 (decode_x86_feature_1): Likewise.
117 (decode_x86_feature_2): Likewise.
118 (print_gnu_property_note): Don't mask out the
119 GNU_PROPERTY_X86_UINT32_VALID bit.
120 * testsuite/binutils-all/i386/pr21231b.d: Updated.
121 * testsuite/binutils-all/x86-64/pr21231b.d: Likewise.
123 2018-08-27 H.J. Lu <hongjiu.lu@intel.com>
125 * readelf.c (decode_x86_compat_isa): Break multi-statement line.
126 (decode_x86_isa): Likewise.
127 (decode_x86_feature_2): Likewise.
129 2018-08-25 H.J. Lu <hongjiu.lu@intel.com>
132 * readelf.c (get_symbol_version_string): Return _("<corrupt>")
133 for corrupt symbol version info.
135 2018-08-24 H.J. Lu <hongjiu.lu@intel.com>
137 * readelf.c (decode_x86_compat_isa): New function.
138 (decode_x86_feature_2): Likewise.
139 (decode_x86_isa): Updated for new X86_ISA_1_XXX bits.
140 (decode_x86_feature): Renamed to ...
141 (decode_x86_feature_1): This. Remove the type argument.
142 (print_gnu_property_note): Handle X86_COMPAT_ISA_1_USED,
143 X86_COMPAT_ISA_1_NEEDED, X86_UINT32_AND_LO, X86_UINT32_AND_HI,
144 X86_UINT32_OR_LO, X86_UINT32_OR_HI, X86_UINT32_OR_AND_LO and
145 X86_UINT32_OR_AND_HI instead of X86_ISA_1_USED, X86_ISA_1_NEEDED
146 and X86_FEATURE_1_AND.
147 * testsuite/binutils-all/i386/pr21231b.s: Updated to the current
148 GNU_PROPERTY_X86_ISA_1_USED and GNU_PROPERTY_X86_ISA_1_NEEDED
150 * testsuite/binutils-all/x86-64/pr21231b.s: Likewise.
151 * testsuite/binutils-all/x86-64/pr23494a.s: Likewise.
152 * testsuite/binutils-all/x86-64/pr23494b.s: Likewise.
153 * testsuite/binutils-all/x86-64/pr23494c.s: Likewise.
154 * testsuite/binutils-all/i386/pr21231b.d: Updated.
155 * testsuite/binutils-all/x86-64/pr21231b.d: Likewise.
156 * testsuite/binutils-all/x86-64/pr23494a-x32.d: Likewise.
157 * testsuite/binutils-all/x86-64/pr23494a.d: Likewise.
158 * testsuite/binutils-all/x86-64/pr23494c-x32.d: Likewise.
159 * testsuite/binutils-all/x86-64/pr23494c.d: Likewise.
160 * testsuite/binutils-all/x86-64/pr23494d-x32.d: Likewise.
161 * testsuite/binutils-all/x86-64/pr23494d.d: Likewise.
162 * testsuite/binutils-all/x86-64/pr23494e-x32.d: Likewise.
163 * testsuite/binutils-all/x86-64/pr23494e.d: Likewise.
165 2018-08-24 H.J. Lu <hongjiu.lu@intel.com>
167 * readelf.c (print_gnu_property_note): Check the
168 GNU_PROPERTY_X86_UINT32_VALID bit for invalid GNU property note.
170 2018-08-23 Alan Modra <amodra@gmail.com>
172 * readelf.c (get_ppc64_symbol_other): Return NULL if st_other
173 field contains unrecognised or reserved values. Handle
176 2018-08-23 H.J. Lu <hongjiu.lu@intel.com>
179 * Makefile.am (development.exp): New target.
180 (EXTRA_DEJAGNU_SITE_CONFIG): New.
181 (DISTCLEANFILES): Add development.exp.
182 * Makefile.in: Regenerated.
183 * testsuite/binutils-all/objcopy.exp (strip_test): Call
184 prune_warnings to prune BFD output.
185 (strip_test_with_saving_a_symbol): Likewise.
186 (objcopy_test_without_global_symbol): Likewise.
187 * testsuite/lib/binutils-common.exp (prune_warnings_extra):
189 (prune_warnings): Likewise.
191 2018-08-23 H.J. Lu <hongjiu.lu@intel.com>
193 * README-how-to-make-a-release: Document setting "experimental"
196 2018-08-22 Alan Modra <amodra@gmail.com>
198 * readelf.c (process_file_header): Assign updated values from
199 section_header[0] fields to e_phnum, e_shnum and e_shstrndx
200 during printing of header. Correct e_shstrndx range check.
201 Remove unnecessary casts and use %u rather than %ld for
202 unsigned int header fields. Don't print a random %lx when
203 reporting an unknown EI_VERSION.
205 2018-08-21 Nick Clifton <nickc@redhat.com>
207 * MAINTAINERS: Note that Arnold Metselaar has retired as the z80
210 2018-08-21 L. Simon <l.simon@samsung.com>
213 * readelf.c (hppa_process_unwind): Only dump the unwind table if
214 the data was successfully read in.
216 2018-08-18 Alan Modra <amodra@gmail.com>
218 * testsuite/lib/binutils-common.exp (is_elf64): Use directory of
219 input file for readelf.out.
221 * testsuite/binutils-all/objcopy.exp (elf64): Set new variable
222 from first result of is_elf64 test.
223 (reloc_format): Set using is_rela.
224 (strip-13): Pass RELOC and ELF64 to assembler.
225 (strip-14, strip-15): Use elf64 rather than calling is_elf64 again.
226 * testsuite/binutils-all/strip-13.d: Run for more targets.
227 * testsuite/binutils-all/strip-13mips64.s: Use RELOC and set
229 * testsuite/binutils-all/strip-13rel.s: Use RELOC and ELF64.
230 Don't add _NONE reloc.
231 * testsuite/binutils-all/strip-13rela.s: Likewise.
233 2018-08-10 H.J. Lu <hongjiu.lu@intel.com>
236 * testsuite/binutils-all/x86-64/pr23494c.s: New file.
237 * testsuite/binutils-all/x86-64/pr23494e-x32.d: Likewise.
238 * testsuite/binutils-all/x86-64/pr23494e.d: Likewise.
240 2018-08-10 H.J. Lu <hongjiu.lu@intel.com>
242 * testsuite/binutils-all/x86-64/pr23494a-x32.d: Skip nacl
244 * testsuite/binutils-all/x86-64/pr23494a.d: Likewise.
245 * testsuite/binutils-all/x86-64/pr23494b-x32.d: Likewise.
246 * testsuite/binutils-all/x86-64/pr23494b.d: Likewise.
247 * testsuite/binutils-all/x86-64/pr23494c-x32.d: Likewise.
248 * testsuite/binutils-all/x86-64/pr23494c.d: Likewise.
249 * testsuite/binutils-all/x86-64/pr23494d-x32.d: Likewise.
250 * testsuite/binutils-all/x86-64/pr23494d.d: Likewise.
252 2018-08-08 H.J. Lu <hongjiu.lu@intel.com>
255 * testsuite/binutils-all/x86-64/pr23494a-x32.d: New file.
256 * testsuite/binutils-all/x86-64/pr23494a.d: Likewise.
257 * testsuite/binutils-all/x86-64/pr23494a.s: Likewise.
258 * testsuite/binutils-all/x86-64/pr23494b-x32.d: Likewise.
259 * testsuite/binutils-all/x86-64/pr23494b.d: Likewise.
260 * testsuite/binutils-all/x86-64/pr23494b.s: Likewise.
261 * testsuite/binutils-all/x86-64/pr23494c-x32.d: Likewise.
262 * testsuite/binutils-all/x86-64/pr23494c.d: Likewise.
263 * testsuite/binutils-all/x86-64/pr23494d-x32.d: Likewise.
264 * testsuite/binutils-all/x86-64/pr23494d.d: Likewise.
266 2018-08-08 Kevin Buettner <kevinb@redhat.com>
268 * dwarf.c (decode_location_expresion): Add case for
269 DW_OP_GNU_variable_value.
271 2018-08-06 Claudiu Zissulescu <claziss@synopsys.com>
273 * readelf.c (display_arc_attribute): Print Tag_ARC_ATR_version.
275 2018-08-03 Nick Clifton <nickc@redhat.com>
277 * objcopy.c (merge_gnu_build_notes): Delete empty notes. Merge
278 identical function notes.
280 2018-08-01 Nick Clifton <nickc@redhat.com>
282 * README-how-to-make-a-release: Add note about regenerating the
283 info files prior to the release.
285 2018-07-30 Andrew Jenner <andrew@codesourcery.com>
287 * MAINTAINERS (C-SKY): Add Yunhai Shang as co-maintainer.
289 2018-07-30 Andrew Jenner <andrew@codesourcery.com>
291 * MAINTAINERS (C-SKY): Add Lifang Xia as maintainer.
293 2018-07-30 Andrew Jenner <andrew@codesourcery.com>
295 * readelf.c: Include elf/csky.h.
296 (guess_is_rela): Handle EM_CSKY.
297 (dump_relocations): Likewise.
298 (get_machine_name): Likewise.
299 (is_32bit_abs_reloc): Likewise.
301 2018-07-25 Nick Clifton <nickc@redhat.com>
303 * rdcoff.c (parse_coff_struct_type): Free fields array upon early
305 (parse_coff_enum_type): Free names and vals arrays upon early
307 * rddbg.c (read_section_stabs_debugging_info): Free shandle and
308 strings and stabs arrays upon early exit.
309 * readelf.c (get_32bit_section_headers): Free shdrs structure upon
311 (get_64bit_section_headers): Likewise.
312 (get_32bit_elf_symbols): Generate an error if multiple symbol
313 table index sections are associated with the same symbol section.
314 (get_64bit_elf_symbols): Likewise.
315 (process_dynamic_section): Generate an error if there are multiple
316 dynamic symbol table sections, multiple dynamic string tables or
317 multiple dynamic symbol information sections.
319 2018-07-24 Nick Clifton <nickc@redhat.com>
321 * po/sv.po: Updated Swedish translation.
323 2018-07-24 Alan Modra <amodra@gmail.com>
326 * dwarf.c (display_formatted_table): Replace "what" parameter
327 with "is_dir". Expand messages. Fix capitalisation.
328 * testsuite/binutils-all/dw5.W: Update expected output.
330 2018-07-24 Alan Modra <amodra@gmail.com>
333 * elfcomm.h (struct archive_info): Rename uses_64bit_indicies
334 to uses_64bit_indices.
335 * elfcomm.c (setup_archive): Update uses of above.
336 * readelf.c (process_archive): Likewise.
337 (get_section_type_name): Rename indicies to indices.
338 (get_32bit_elf_symbols, get_64bit_elf_symbols): Likewise.
339 (process_section_groups): Likewise.
341 2018-07-20 Maciej W. Rozycki <macro@mips.com>
343 * MAINTAINERS: Update my e-mail address, downgrade to MIPS I-IV
346 2018-07-20 Nick Clifton <nickc@redhat.com>
348 * objcopy.c (add_specific_symbols): Free buffer on exit.
349 (add_redefine_syms_file): Close file handle on exit.
350 (copy_object): Close file handle on early exit.
351 Free buffer on early exit.
352 Free gaps buffers once they are no longer needed.
353 * dwarf.c (display_debug_frames): Free allocated memory on exit.
354 (load_separate_debug_info): Free allocate memory on early exit.
356 2018-07-20 Chenghua Xu <paul.hua.gm@gmail.com>
357 Maciej W. Rozycki <macro@mips.com>
359 * readelf.c (print_mips_ases): Add MMI extension.
361 2018-07-19 DJ Delorie <dj@redhat.com>
363 * MAINTAINERS (RL78, RX): Remove myself as maintainer.
365 2018-07-19 Nick Clifton <nickc@redhat.com>
367 * dwarf.c (read_cie): Free allocated memory before returning with
370 2018-07-16 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
372 * readelf.c (get_note_type): Fix typo in NT_PPC_TM_CVSX note
375 2018-07-16 Nick Clifton <nickc@redhat.com>
377 * README-how-to-make-a-release: Add note to check for new top
378 level files and add them to the src-release.sh script.
380 2018-07-14 Nick Clifton <nickc@redhat.com>
382 * README-how-to-make-a-release: Updated with corrections based on
383 the 2.31 release experience.
385 2018-07-12 Francois H. Theron <francois.theron@netronome.com>
387 * readelf.c (process_section_headers): Don't print section type
388 twice for --section-details.
390 2018-07-10 Alan Modra <amodra@gmail.com>
392 * testsuite/lib/binutils-common.exp (supports_gnu_unique): Return
395 2018-07-06 Nick Clifton <nickc@redhat.com>
397 * readelf.c (same_section): New function.
398 (print_gnu_build_attribute_description): Do not complain about
399 gaps that cross a section boundary.
401 2018-07-05 Nick Clifton <nickc@redhat.com>
403 * po/bg.po: Updated Bulgarian translation.
405 2018-07-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
407 * NEWS: Use command-line consistently when used in a compount word.
408 * doc/binutils.texi: Likewise and fix trailing whitespace on same
411 2018-06-26 Nick Clifton <nickc@redhat.com>
413 * po/sv.po: Updated Swedish translation.
414 * po/uk.po: Updated Ukranian translation.
416 2018-06-26 Nick Clifton <nickc@redhat.com>
418 * doc/binutils.texi: Fix spelling mistakes.
419 * README--how-to-make-a-release: Likewise.
421 2018-06-25 Tom Tromey <tom@tromey.com>
423 * dwarf-mode.el (dwarf-mode-syntax-table): New variable.
426 2018-06-24 Nick Clifton <nickc@redhat.com>
428 * README-how-to-make-a-release: Update with experiences from
430 * po/binutils.pot: Regenerate.
431 * configure: Regenerate.
433 2018-06-24 Nick Clifton <nickc@redhat.com>
436 * NEWS: Add marker for 2.31.
438 2018-06-21 Alan Modra <amodra@gmail.com>
440 * doc/Makefile.am (AUTOMAKE_OPTIONS): Add "foreign".
441 * doc/Makefile.in: Regenerate.
443 2018-06-19 Simon Marchi <simon.marchi@ericsson.com>
445 * configure.ac: Remove AC_PREREQ.
446 * doc/Makefile.am (AUTOMAKE_OPTIONS): Remove cygnus, add
447 info-in-builddir no-texinfo.tex.
448 * Makefile.in: Re-generate.
449 * aclocal.m4: Re-generate.
450 * config.in: Re-generate.
451 * configure: Re-generate.
452 * doc/Makefile.in: Re-generate.
454 2018-06-19 Andreas Schwab <schwab@suse.de>
456 * readelf.c (is_16bit_abs_reloc): Handle R_RISCV_SET16.
457 (is_8bit_abs_reloc): New function.
458 (is_6bit_abs_reloc): New function.
459 (is_6bit_inplace_sub_reloc): New function.
460 (apply_relocations): Use them. Handle 6-bit relocations.
462 2018-06-14 Faraz Shahbazker <Faraz.Shahbazker@mips.com>
464 * readelf.c (print_mips_ases): Add GINV extension.
466 2018-06-14 H.J. Lu <hongjiu.lu@intel.com>
469 * readelf.c (get_symbol_version_string): Check if the first
470 symbol version is base version.
472 2018-06-13 Scott Egerton <scott.egerton@imgtec.com>
473 Faraz Shahbazker <Faraz.Shahbazker@mips.com>
475 * readelf.c (print_mips_ases): Add CRC.
477 2018-06-13 Nick Clifton <nickc@redhat.com>
479 * doc/binutils.texi (objdump): Add missing closing square
480 parenthesis to listing of objcopy's command line options.
482 2018-06-11 Nick Clifton <nickc@redhat.com>
484 * po/es.po: Updated Spanish translation.
486 2018-06-01 H.J. Lu <hongjiu.lu@intel.com>
488 * configure: Regenerated.
490 2018-05-31 Alan Modra <amodra@gmail.com>
492 * testsuite/binutils-all/compress.exp (test_gnu_debuglink): Don't
493 set CC_FOR_TARGET. Run test non-native.
494 * testsuite/binutils-all/objdump.exp (test_build_id_debuglink):
496 (test_follow_debuglink): Run test non-native.
498 2018-05-30 Ant Bikeneev <ant.bikineev@gmail.com>
501 * ar.c (display_offsets): New variable.
502 (usage): Add description of 'O' operator.
503 (decode_option): Handle 'O' operator.
504 (print_descr): Pass display_offsets to print_arelt_descr.
505 * arsup.c: Update call to printy_arelt_descr.
506 * objdump.c: Likewise.
507 * bucomm.c (print_arelt_descr): If offsets parameter is true then
508 display offset of archive element within the archive.
509 * bucomm.h: Update prototype for print_arelt_descr.
510 * doc/binutils.texi: Update description of ar command.
511 * NEWS: Mention the new feature.
512 * testsuite/binutils-all/ar.exp: Add text of new feature.
514 2018-05-28 Alan Modra <amodra@gmail.com>
517 * testsuite/binutils-all/compress.exp (test_gnu_debuglink): Return
518 unsupported rather than fail on compile errors.
519 * testsuite/binutils-all/objdump.exp (test_build_id_debuglink):
520 Likewise. Save and restore CFLAGS_FOR_TARGET.
522 2018-05-18 Kito Cheng <kito.cheng@gmail.com>
524 * readelf.c (get_machine_flags): Handle EF_RISCV_RVE.
526 2018-05-18 John Darrington <john@darrington.wattle.id.au>
528 * readelf.c: Add support for s12z architecture.
529 * testsuite/lib/binutils-common.exp (is_elf_format): Excluse s12z
532 2018-05-15 Tamar Christina <tamar.christina@arm.com>
535 * doc/binutils.texi (-M): Document AArch64 options.
537 2018-05-15 Tamar Christina <tamar.christina@arm.com>
540 * doc/binutils.texi (-M): Document AArch64 options.
541 * NEWS: Document notes and warnings.
543 2018-05-15 Alan Modra <amodra@gmail.com>
545 * testsuite/lib/binutils-common.exp (is_elf_format): Add chorus,
546 cloudabi, fuchsia, kaos and nto. Merge netbsdelf* into *elf*,
547 and *uclinux* into *linux*.
548 * testsuite/binutils-all/objcopy.exp: Accept armeb for rel
549 strip-13 test, exclude arm-vxworks and arm-windiss.
551 2018-05-10 John Darrington <john@darrington.wattle.id.au>
553 * readelf.c (get_machine_name): EM_S12Z - handle new case.
555 2018-05-09 Alan Modra <amodra@gmail.com>
557 * od-macho.c (dump_unwind_encoding_x86): Fix typo in last patch.
559 2018-05-09 Sebastian Rasmussen <sebras@gmail.com>
561 * od-macho.c (dump_unwind_encoding_x86): Adjust for macro renaming.
563 2018-05-08 Alan Modra <amodra@gmail.com>
566 * objcopy.c (is_strip_section): Strip groups without a valid
569 2018-05-07 Alan Modra <amodra@gmail.com>
572 * objcopy.c (group_signature): Don't accept groups that use a
573 symbol table other than the one we've read.
575 2018-04-30 Francois H. Theron <francois.theron@netronome.com>
577 * readelf.c: Very basic support for EM_NFP and its section types.
578 * testsuite/binutils-all/nfp: New directory.
579 * testsuite/binutils-all/nfp/objdump.exp: New file. Run new
581 * testsuite/binutils-all/nfp/test2_ctx8.d: New file.
582 * testsuite/binutils-all/nfp/test2_no-pc_ctx4.d: New file.
583 * testsuite/binutils-all/nfp/test1.d: New file.
584 * testsuite/binutils-all/nfp/nfp6000.nffw: New file.
585 * testsuite/binutils-all/nfp/test2_nfp6000.nffw: New file.
586 * NEWS: Mention the new support.
588 2018-04-27 Maciej W. Rozycki <macro@mips.com>
590 * testsuite/lib/binutils-common.exp (match_target): New procedure.
591 * testsuite/lib/utils-lib.exp (run_dump_test): Use it in place
592 of `istarget' for matching with `target', `not-target', `skip'
593 and `not-skip' options.
595 2018-04-26 Nick Clifton <nickc@redhat.com>
597 * readelf.c (is_32bit_abs_reloc): Support R_PARISC_DIR32 as a
598 32-bit absolute reloc for the HPPA target.
599 * testsuite/binutils-all/note-5.d: New test.
600 * testsuite/binutils-all/note-5.s: Source file for new test.
601 * testsuite/binutils-all/objcopy.exp: Run new test.
603 2018-04-25 Christophe Lyon <christophe.lyon@st.com>
605 * testsuite/binutils-all/elfedit-2.d: Accept arm*-*-uclinuxfdpiceabi.
606 * testsuite/binutils-all/elfedit-3.d: Likewise.
607 * testsuite/binutils-all/objcopy.exp: Likewise.
608 * testsuite/binutils-all/strip-3.d: Likewise.
609 * testsuite/lib/binutils-common.exp: Likewise.
611 2018-04-25 Christophe Lyon <christophe.lyon@st.com>
612 Mickaël Guêné <mickael.guene@st.com>
614 * readelf.c (decode_ARM_machine_flags): Support EF_ARM_PIC.
615 (get_osabi_name): Support ELFOSABI_ARM_FDPIC.
617 2018-04-25 Alan Modra <amodra@gmail.com>
619 * testsuite/binutils-all/arm/objdump.exp: Remove arm-aout and
621 * testsuite/binutils-all/objcopy.exp: Likewise.
622 * testsuite/lib/binutils-common.exp: Likewise.
624 2018-04-18 Nick Clifton <nickc@redhat.com>
627 * dwarf.c (read_and_display_attr_value): Replace assertions with
628 test and warning message.
630 2018-04-18 Alan Modra <amodra@gmail.com>
632 * testsuite/lib/binutils-common.exp: Remove support for assorted
635 2018-04-17 Nick Clifton <nickc@redhat.com>
638 * readelf.c (print_symbol): If the width is zero, return straight
642 * dwarf.c (process_cu_tu_index): Test for a potential buffer
643 overrun before copying signature pointer.
645 2018-04-17 Alan Modra <amodra@gmail.com>
647 * readelf.c: Revert 2018-04-16 and 2018-04-11 changes.
649 2018-04-16 Alan Modra <amodra@gmail.com>
651 * readelf.c (get_machine_name): Correct typo.
653 2018-04-16 Alan Modra <amodra@gmail.com>
655 * configure.ac: Remove arm-epoc-pe support.
656 * dlltool.c: Likewise.
657 * configure: Regenerate.
659 2018-04-16 Alan Modra <amodra@gmail.com>
661 * testsuite/lib/binutils-common.exp: Remove sparc-aout and
664 2018-04-16 Alan Modra <amodra@gmail.com>
666 * testsuite/binutils-all/copy-2.d: Remove m68k-aout and m68k-coff
668 * testsuite/binutils-all/copy-3.d: Likewise.
669 * testsuite/binutils-all/objcopy.exp: Likewise.
670 * testsuite/lib/binutils-common.exp: Likewise.
672 2018-04-16 Alan Modra <amodra@gmail.com>
674 * testsuite/binutils-all/objcopy.exp: Remove sh5 and sh64 support.
676 2018-04-16 Alan Modra <amodra@gmail.com>
678 * testsuite/binutils-all/objcopy.exp: Remove w65 support.
680 2018-04-16 Alan Modra <amodra@gmail.com>
682 * testsuite/binutils-all/objdump.exp: Remove we32k support.
684 2018-04-16 Alan Modra <amodra@gmail.com>
686 * MAINTAINERS (Mark Kettenis): Move to past maintainers.
687 * testsuite/binutils-all/objdump.exp: Remove m88k support.
689 2018-04-16 Alan Modra <amodra@gmail.com>
691 * readelf.c: Remove i370 support.
692 * testsuite/binutils-all/objdump.exp: Likewise.
694 2018-04-16 Alan Modra <amodra@gmail.com>
696 * testsuite/binutils-all/objcopy.exp: Remove h8500 support.
697 * testsuite/lib/binutils-common.exp: Likewise.
699 2018-04-16 Alan Modra <amodra@gmail.com>
701 * testsuite/binutils-all/objcopy.exp: Remove h8300-coff support.
703 2018-04-16 Alan Modra <amodra@gmail.com>
705 * Makefile.am: Remove IEEE 695 support.
707 * doc/binutils.texi: Likewise.
708 * makefile.vms: Likewise.
709 * objcopy.c: Likewise.
710 * objdump.c: Likewise.
713 * Makefile.in: Regenerate.
714 * po/POTFILES.in: Regenerate.
716 2018-04-16 Alan Modra <amodra@gmail.com>
718 * testsuite/binutils-all/copy-2.d: Remove newsos3 support.
719 * testsuite/binutils-all/nm.exp: Likewise.
721 2018-04-16 Alan Modra <amodra@gmail.com>
723 * .gitignore: Remove netware support.
724 * Makefile.am: Likewise.
725 * configure.ac: Likewise.
726 * doc/Makefile.am: Likewise.
727 * doc/binutils.texi: Likewise.
728 * testsuite/binutils-all/nm.exp: Likewise.
731 * nlmheader.y: Delete.
732 * Makefile.in: Regenerate.
733 * configure: Regenerate.
734 * doc/Makefile.in: Regenerate.
735 * po/POTFILES.in: Regenerate.
737 2018-04-16 Alan Modra <amodra@gmail.com>
739 * testsuite/binutils-all/objdump.exp: Remove tahoe support.
741 2018-04-14 Alan Modra <amodra@gmail.com>
743 * readelf.c (get_machine_name): Revert 2018-04-11 change.
745 2018-04-12 Nick Clifton <nickc@redhat.com>
748 * readelf.c (process_dynamic_section): Correct dynamic string
749 table size calculation.
751 2018-04-11 Alan Modra <amodra@gmail.com>
753 * ieee.c: Remove i960 support.
754 * od-macho.c: Remove i860 support.
755 * readelf.c: Remove i860 and i960 support.
756 * testsuite/binutils-all/objcopy.exp: Likewise.
757 * testsuite/binutils-all/objdump.exp: Likewise.
758 * testsuite/lib/binutils-common.exp: Likewise.
760 2018-04-11 Maciej W. Rozycki <macro@mips.com>
762 * testsuite/lib/binutils-common.exp (is_elf_format): Also return
763 1 for `*-*-lynxos*' and `*-*-symbianelf*' targets.
765 2018-04-10 Alan Modra <amodra@gmail.com>
767 * testsuite/binutils-all/objcopy.exp (strip-14, strip-15): Choose
768 reloc=11 for pru and reloc=50 for nds32.
769 * testsuite/binutils-all/strip-15.d: Accept 0xb reloc number.
771 2018-04-09 Maciej W. Rozycki <macro@mips.com>
773 * testsuite/binutils-all/strip-15.d: New test.
774 * testsuite/binutils-all/strip-15rel.s: New test source.
775 * testsuite/binutils-all/strip-15rela.s: New test source.
776 * testsuite/binutils-all/strip-15mips64.s: New test source.
777 * testsuite/binutils-all/objcopy.exp: Run the new test.
779 2018-04-09 Maciej W. Rozycki <macro@mips.com>
781 * testsuite/binutils-all/strip-14.d: New test.
782 * testsuite/binutils-all/strip-14rel.s: New test source.
783 * testsuite/binutils-all/strip-14rela.s: New test source.
784 * testsuite/binutils-all/strip-14mips64.s: New test source.
785 * testsuite/binutils-all/objcopy.exp: Run the new test.
787 2018-04-06 Tom Tromey <tom@tromey.com>
789 * dwarf.c (read_and_display_attr_value): Add missing DW_LANG
790 constants from DWARF 5.
792 2018-04-05 H.J. Lu <hongjiu.lu@intel.com>
795 * configure: Regenerated.
797 2018-04-05 Maciej W. Rozycki <macro@mips.com>
799 * testsuite/binutils-all/strip-13mips64.s: Use `.dc.l' rather
800 than `.dc.w' in second relocation.
802 2018-04-05 Maciej W. Rozycki <macro@mips.com>
804 * testsuite/binutils-all/strip-13.d: Also expect `unsupported
805 relocation type 0x8f' error message.
807 2018-04-05 Maciej W. Rozycki <macro@mips.com>
809 * testsuite/binutils-all/strip-13.s: Rename to...
810 * testsuite/binutils-all/strip-13rela.s: ... this.
811 * testsuite/binutils-all/strip-13rel.s: New test source.
812 * testsuite/binutils-all/strip-13mips64.s: New test source.
813 * testsuite/binutils-all/strip-13.d: Remove `arm-*', `d10v-*',
814 `dlx-*' and `xgate-*' from `not-target' list. Add `m6811-*' and
815 `m68hc11-*' to `not-target' list.
816 * testsuite/binutils-all/objcopy.exp: Switch between sources for
819 2018-04-05 Maciej W. Rozycki <macro@mips.com>
821 * testsuite/binutils-all/strip-13.s: Use 143 (0x8f) rather than
822 241 (0xf1) for the relocation number and RELA addend.
823 * testsuite/binutils-all/strip-13.d: Remove `hppa*-*' from the
826 2018-04-04 John David Anglin <danglin@gcc.gnu.org>
828 * MAINTAINERS: Update my e-mail address.
830 2018-04-04 Nick Clifton <nickc@redhat.com>
832 * MAINTAINERS: Move Jason Eckhardt to past maintainers section.
834 2018-03-23 Nick Clifton <nickc@redhat.com>
836 * readelf.c (get_symbol_for_build_attribute): Skip ARM mapping
838 (print_gnu_build_attribute_description): If no file start symbol
839 could be found, look for one two bytes into the file.
840 * testsuite/binutils-all/note-4-64.s: Set the address of the file
841 start symbol to two bytes into the file.
842 * testsuite/binutils-all/note-4-32.s: Likewise.
844 2018-03-21 H.J. Lu <hongjiu.lu@intel.com>
846 * readelf.c (process_dynamic_section): Also dump DF_1_KMOD,
847 DF_1_WEAKFILTER and DF_1_NOCOMMON.
849 2018-03-20 Nick Clifton <nickc@redhat.com>
851 * po/es.po: Updated Spanish translation.
852 * po/ru.po: Updated Russian translation.
854 2018-03-13 Nick Clifton <nickc@redhat.com>
857 * stabs.c (pop_binincl): Fail if the file index is off the end of
860 2018-03-13 Nick Clifton <nickc@redhat.com>
863 * stabs.c (parse_number): Add p_end parameter and use it to check
864 the validity of the pp parameter. Add checks to prevent walking
865 off the end of the string buffer.
866 (parse_stab_string): Likewise.
867 (parse_stab_type): Likewise.
868 (parse_stab_type_number): Likewise.
869 (parse_stab_range_type): Likewise.
870 (parse_stab_sun_builtin_type): Likewise.
871 (parse_stab_sun_floating_type): Likewise.
872 (parse_stab_enum_type): Likewise.
873 (parse_stab_struct_type): Likewise.
874 (parse_stab_baseclasses): Likewise.
875 (parse_stab_struct_fields): Likewise.
876 (parse_stab_cpp_abbrev): Likewise.
877 (parse_stab_one_struct_field): Likewise.
878 (parse_stab_members): Likewise.
879 (parse_stab_tilde_field): Likewise.
880 (parse_stab_array_type): Likewise.
882 * parse_stab: Compute the end of the string and then pass it on to
883 individual parser functions.
885 2018-03-07 Paul Pluzhnikov <ppluzhnikov@google.com>
888 * binutils/readelf.c (get_ver_flags): Expand buffer to avoid
891 2018-03-07 Alan Modra <amodra@gmail.com>
893 * configure.ac: Add objdump_private_desc_xcoff for rs6000.
894 * configure: Regenerate.
896 2018-03-05 H.J. Lu <hongjiu.lu@intel.com>
899 * objdump.c (is_significant_symbol_name): Return TRUE for all
901 (find_symbol_for_address): Replace linear search with binary
902 search on dynamic relocations.
904 2018-03-01 Nick Clifton <nickc@redhat.com>
907 * dwarf.c (display_debug_ranges): Check that the offset loaded
908 from the range_entry structure is valid.
910 2018-03-01 Alan Modra <amodra@gmail.com>
912 * configure.ac (ALL_LINGUAS): Add sr. Sort.
913 * configure: Regenerate.
915 2018-02-27 Nick Clifton <nickc@redhat.com>
917 * po/pt.po: New Portuguese translation.
918 * configure.ac (ALL_LINGUAS): Add pt.
919 * configure: Regenerate.
921 2018-02-27 Nick Clifton <nickc@redhat.com>
924 * objcopy.c (copy_object): Check the error status after marking
925 symbols used in relocations.
926 * testsuite/binutils-all/strip-13.s: New test source file.
927 * testsuite/binutils-all/strip-13.s: New test driver file.
928 * testsuite/binutils-all/objcopy.exp: Run the new test.
930 2018-02-26 Alan Modra <amodra@gmail.com>
932 * testsuite/binutils-all/mips/mips-reginfo-n32.d,
933 * testsuite/binutils-all/mips/mips-reginfo.d: Update.
935 2018-02-23 Alan Modra <amodra@gmail.com>
937 * testsuite/binutils-all/mips/mips-reginfo-n32.d,
938 * testsuite/binutils-all/mips/mips-reginfo.d: Update.
940 2018-02-20 Ronald Hoogenboom <hoogenboom30@zonnet.nl>
942 * doc/binutils.texi (objcopy): Add missing closing square
943 parenthesis to listing of objcopy's command line options.
945 2018-02-19 Matthias Klose <doko@debian.org>
947 * strings.c (long_options): Include-all-whitespace does not take
950 2018-02-13 Alan Modra <amodra@gmail.com>
953 * testsuite/binutils-all/group-7.s,
954 * testsuite/binutils-all/group-7a.d,
955 * testsuite/binutils-all/group-7b.d,
956 * testsuite/binutils-all/group-7c.d: New tests.
957 * testsuite/binutils-all/objcopy.exp: Run them.
959 2018-02-08 Nick Clifton <nickc@redhat.com>
962 * dwarf.c (load_separate_debug_file): Return early if the user is
963 not interested in debug links.
965 2018-02-06 Nick Clifton <nickc@redhat.com>
968 * readelf.c (find_section): Replace assertion with test and return
970 (find_section_by_address): Add test of section header table
972 (find_section_by_type): Likewise.
973 (find_section_in_set): Likewise.
975 2018-02-05 Maciej W. Rozycki <macro@mips.com>
977 * testsuite/binutils-all/mips/mips-reginfo.d: New test.
978 * testsuite/binutils-all/mips/mips-reginfo-n32.d: New test.
979 * testsuite/binutils-all/mips/mips-reginfo.s: New test source.
980 * testsuite/binutils-all/mips/mips.exp: Run the new tests.
982 2018-02-05 Maciej W. Rozycki <macro@mips.com>
984 * testsuite/config/default.exp (binutils_run): Document
985 `binutils_run_status'.
986 * testsuite/lib/utils-lib.exp (default_binutils_run): Likewise,
988 (run_dump_test): Add `error', `error_output', `warning' and
989 `warning_output' options. Update documentation accordingly.
991 2018-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
993 * dwarf.c (dwarf_regnames_riscv): New register name table.
994 (init_dwarf_regnames_riscv): New function.
995 (init_dwarf_regnames): Add call to initialise RiscV register
997 * dwarf.h (init_dwarf_regnames_riscv): Declare.
998 * objdump.c (dump_dwarf): Add call to initialise RiscV register
1001 2018-02-01 Alan Modra <amodra@gmail.com>
1004 * objdump.c (load_specific_debug_section): Check for overflow
1005 when adding one to section size for a string section terminator.
1007 2018-01-30 Nick Clifton <nickc@redhat.com>
1010 * doc/binutils.texi (nm): Update description to point out that
1011 zero-initialized values can also be shown as type B, b, S or s
1012 since they can be stored in the BSS section.
1014 2018-01-30 Alan Modra <amodra@gmail.com>
1016 * objcopy.c (merge_gnu_build_notes): Use (bfd_vma) -1 as
1017 "artificially large" end address.
1019 2018-01-28 Nick Clifton <nickc@redhat.com>
1021 * README-how-to-make-a-release: Add note about checking gpg key
1022 and the results of gnupload.
1024 2018-01-27 Nick Clifton <nickc@redhat.com>
1026 * README-how-to-make-a-release: Add details on how to actually
1029 2018-01-26 Nick Clifton <nickc@redhat.com>
1031 * README-how-to-make-a-release: Add more details on updating
1034 2018-01-22 Maciej W. Rozycki <macro@mips.com>
1036 * doc/binutils.texi (objcopy): Fix a typo in `--rename-section'
1039 2018-01-22 Maciej W. Rozycki <macro@mips.com>
1041 * MAINTAINERS: Update my company e-mail address.
1043 2018-01-22 Nick Clifton <nickc@redhat.com>
1045 * po/sv.po: Updated Swedish translation.
1047 2018-01-18 Nick Clifton <nickc@redhat.com>
1049 * po/bg.po: Updated Bulgarian translation.
1051 2018-01-16 Joel Brobecker <brobecker@adacore.com>
1053 * README-how-to-make-a-release: Add reminder to update the
1054 branch name in gdbadmin's crontab on sourceware.
1056 2018-01-16 Joel Brobecker <brobecker@adacore.com>
1058 * README-how-to-make-a-release: Remove trailing spaces.
1060 2018-01-16 Nick Clifton <nickc@redhat.com>
1062 * po/fr.po: Updated French translation.
1064 2018-01-15 Nick Clifton <nickc@redhat.com>
1066 * po/uk.po: Updated Ukranian translation.
1068 2018-01-13 Nick Clifton <nickc@redhat.com>
1070 * README-how-to-make-a-release: Update notes.
1071 * po/binutils.pot: Regenerated.
1073 2018-01-13 Nick Clifton <nickc@redhat.com>
1075 * configure: Regenerate.
1077 2018-01-13 Nick Clifton <nickc@redhat.com>
1079 2.30 branch created.
1080 * NEWS: Add marker for 2.30.
1082 2018-01-12 Nick Clifton <nickc@redhat.com>
1084 * README-how-to-make-a-release: Add notes on how to make the
1085 branch and prelease snapshot.
1086 * BRANCHES: Add binutils-2_29-branch.
1088 2018-01-10 Nick Clifton <nickc@redhat.com>
1090 * MAINTAINERS: Note that it is now the configure.ac file and not
1091 the configure.in file that needs to be kept in sync with gcc.
1092 Add a note about sending patches for libiberty to gcc.
1094 2018-01-03 Nick Clifton <nickc@redhat.com>
1096 * objcopy.c (merge_gnu_build_notes): Add cast to maximum address
1099 2018-01-03 Nick Clifton <nickc@redhat.com>
1101 * objcopy.c (objcopy_internal_note): New structure.
1102 (gap_exists): New function.
1103 (is_open_note): New function.
1104 (is_func_note): New function.
1105 (is_64bit): New function.
1106 (merge_gnu_build_notes): Handle v3 notes. Do not merge
1107 if there are relocations against the notes.
1108 * readelf.c (get_note_type): Use short names for build attribute
1110 (print_symbol_for_build_attribute): Rename to
1111 get_symbol_for_build_attribute. Returns the found symbol rather
1113 (print_gnu_build_attribute_description): Maintain address ranges
1114 for function notes as well as global notes. Handle v3 notes.
1115 (print_gnu_build_attribute_name): Use more space for printing the
1117 * testsuite/binutils-all/note-2-32.s: Use .dc.l instead of .word.
1118 Eliminate symbol references in order to remove the need for
1120 * testsuite/binutils-all/note-2-64.s: Likewise.
1121 * testsuite/binutils-all/note-3-32.s: Add a size to the note_1
1123 * testsuite/binutils-all/note-3-64.s: Likewise.
1124 * testsuite/binutils-all/mips/mips-note-2r-n32.d: Update expected
1126 * testsuite/binutils-all/mips/mips-note-2r-n64.d: Likewise.
1127 * testsuite/binutils-all/mips/mips-note-2r.d: Likewise.
1128 * testsuite/binutils-all/note-2-32.d: Likewise.
1129 * testsuite/binutils-all/note-2-64.d: Likewise.
1130 * testsuite/binutils-all/note-3-32.d: Likewise.
1131 * testsuite/binutils-all/note-3-64.d: Likewise.
1132 * testsuite/binutils-all/note-4-64.s: New test. Checks v3 notes.
1133 * testsuite/binutils-all/note-4-32.s: New test.
1134 * testsuite/binutils-all/note-4-64.d: New test result file.
1135 * testsuite/binutils-all/note-4-32.d: New test result file.
1137 2018-01-03 Alan Modra <amodra@gmail.com>
1139 Update year range in copyright notice of all files.
1141 For older changes see ChangeLog-2017
1143 Copyright (C) 2018 Free Software Foundation, Inc.
1145 Copying and distribution of this file, with or without modification,
1146 are permitted in any medium without royalty provided the copyright
1147 notice and this notice are preserved.
1153 version-control: never