1 2018-08-31 H.J. Lu <hongjiu.lu@intel.com>
3 * testsuite/binutils-all/readelf.s-64: Adjusted for
4 .note.gnu.property section.
5 * testsuite/binutils-all/strip-3.d: Also strip
6 .note.gnu.property section.
8 2018-08-31 H.J. Lu <hongjiu.lu@intel.com>
10 * testsuite/binutils-all/i386/compressed-1b.d: Pass
11 -mx86-used-note=no to assembler.
12 * testsuite/binutils-all/i386/compressed-1c.d: Likewise.
13 * testsuite/binutils-all/x86-64/compressed-1b.d: Likewise.
14 * testsuite/binutils-all/x86-64/compressed-1c.d: Likewise.
15 * testsuite/binutils-all/i386/empty.d: Pass -mx86-used-note=yes
16 to assembler and update expected output from "readelf -n".
17 * testsuite/binutils-all/i386/ibt.d: Likewise.
18 * testsuite/binutils-all/i386/pr21231a.d: Likewise.
19 * testsuite/binutils-all/i386/pr21231b.d: Likewise.
20 * testsuite/binutils-all/i386/shstk.d: Likewise.
21 * testsuite/binutils-all/x86-64/empty-x32.d: Likewise.
22 * testsuite/binutils-all/x86-64/empty.d: Likewise.
23 * testsuite/binutils-all/x86-64/ibt-x32.d: Likewise.
24 * testsuite/binutils-all/x86-64/ibt.d: Likewise.
25 * testsuite/binutils-all/x86-64/pr21231a.d: Likewise.
26 * testsuite/binutils-all/x86-64/pr21231b.d: Likewise.
27 * testsuite/binutils-all/x86-64/pr23494a-x32.d: Likewise.
28 * testsuite/binutils-all/x86-64/pr23494a.d: Likewise.
29 * testsuite/binutils-all/x86-64/pr23494b-x32.d: Likewise.
30 * testsuite/binutils-all/x86-64/pr23494b.d: Likewise.
31 * testsuite/binutils-all/x86-64/pr23494c-x32.d: Likewise.
32 * testsuite/binutils-all/x86-64/pr23494c.d: Likewise.
33 * testsuite/binutils-all/x86-64/pr23494d-x32.d: Likewise.
34 * testsuite/binutils-all/x86-64/pr23494d.d: Likewise.
35 * testsuite/binutils-all/x86-64/pr23494e-x32.d: Likewise.
36 * testsuite/binutils-all/x86-64/pr23494e.d: Likewise.
37 * testsuite/binutils-all/x86-64/shstk-x32.d: Likewise.
38 * testsuite/binutils-all/x86-64/shstk.d: Likewise.
40 2018-08-30 H.J. Lu <hongjiu.lu@intel.com>
42 * readelf.c (process_section_headers): Treat SHT_FINI_ARRAY and
43 SHT_PREINIT_ARRAY as relocatable sections.
45 2018-08-30 Chenghua Xu <paul.hua.gm@gmail.com>
47 * MAINTAINERS: Add myself as a MIPS port maintainer.
49 2018-08-29 Chenghua Xu <paul.hua.gm@gmail.com>
51 * NEWS: Mention Loongson 2K1000 proccessor support.
52 * readelf.c (get_machine_flags): Handle gs264e.
54 2018-08-29 Chenghua Xu <paul.hua.gm@gmail.com>
56 * NEWS: Mention Loongson 3A2000/3A3000 proccessor support.
57 * readelf.c (get_machine_flags): Handle gs464e.
59 2018-08-29 Chenghua Xu <paul.hua.gm@gmail.com>
61 * NEWS: Mention Loongson 3A1000 proccessor support.
62 * readelf.c (get_machine_flags): Rename loongson-3a to gs464.
63 (print_mips_isa_ext): Delete AFL_EXT_LOONGSON_3A.
65 2018-08-29 Chenghua Xu <paul.hua.gm@gmail.com>
67 * readelf.c (print_mips_ases): Add Loongson EXT2 extension.
69 2018-08-29 Chenghua Xu <paul.hua.gm@gmail.com>
71 * readelf.c (print_mips_ases): Add Loongson EXT extension.
73 2018-08-29 Chenghua Xu <paul.hua.gm@gmail.com>
75 * readelf.c (print_mips_ases): Add CAM extension.
77 2018-08-27 H.J. Lu <hongjiu.lu@intel.com>
79 * readelf.c (decode_x86_isa): Print <None> if bitmask only
80 contains the GNU_PROPERTY_X86_UINT32_VALID bit.
81 (decode_x86_feature_1): Likewise.
82 (decode_x86_feature_2): Likewise.
83 (print_gnu_property_note): Don't mask out the
84 GNU_PROPERTY_X86_UINT32_VALID bit.
85 * testsuite/binutils-all/i386/pr21231b.d: Updated.
86 * testsuite/binutils-all/x86-64/pr21231b.d: Likewise.
88 2018-08-27 H.J. Lu <hongjiu.lu@intel.com>
90 * readelf.c (decode_x86_compat_isa): Break multi-statement line.
91 (decode_x86_isa): Likewise.
92 (decode_x86_feature_2): Likewise.
94 2018-08-25 H.J. Lu <hongjiu.lu@intel.com>
97 * readelf.c (get_symbol_version_string): Return _("<corrupt>")
98 for corrupt symbol version info.
100 2018-08-24 H.J. Lu <hongjiu.lu@intel.com>
102 * readelf.c (decode_x86_compat_isa): New function.
103 (decode_x86_feature_2): Likewise.
104 (decode_x86_isa): Updated for new X86_ISA_1_XXX bits.
105 (decode_x86_feature): Renamed to ...
106 (decode_x86_feature_1): This. Remove the type argument.
107 (print_gnu_property_note): Handle X86_COMPAT_ISA_1_USED,
108 X86_COMPAT_ISA_1_NEEDED, X86_UINT32_AND_LO, X86_UINT32_AND_HI,
109 X86_UINT32_OR_LO, X86_UINT32_OR_HI, X86_UINT32_OR_AND_LO and
110 X86_UINT32_OR_AND_HI instead of X86_ISA_1_USED, X86_ISA_1_NEEDED
111 and X86_FEATURE_1_AND.
112 * testsuite/binutils-all/i386/pr21231b.s: Updated to the current
113 GNU_PROPERTY_X86_ISA_1_USED and GNU_PROPERTY_X86_ISA_1_NEEDED
115 * testsuite/binutils-all/x86-64/pr21231b.s: Likewise.
116 * testsuite/binutils-all/x86-64/pr23494a.s: Likewise.
117 * testsuite/binutils-all/x86-64/pr23494b.s: Likewise.
118 * testsuite/binutils-all/x86-64/pr23494c.s: Likewise.
119 * testsuite/binutils-all/i386/pr21231b.d: Updated.
120 * testsuite/binutils-all/x86-64/pr21231b.d: Likewise.
121 * testsuite/binutils-all/x86-64/pr23494a-x32.d: Likewise.
122 * testsuite/binutils-all/x86-64/pr23494a.d: Likewise.
123 * testsuite/binutils-all/x86-64/pr23494c-x32.d: Likewise.
124 * testsuite/binutils-all/x86-64/pr23494c.d: Likewise.
125 * testsuite/binutils-all/x86-64/pr23494d-x32.d: Likewise.
126 * testsuite/binutils-all/x86-64/pr23494d.d: Likewise.
127 * testsuite/binutils-all/x86-64/pr23494e-x32.d: Likewise.
128 * testsuite/binutils-all/x86-64/pr23494e.d: Likewise.
130 2018-08-24 H.J. Lu <hongjiu.lu@intel.com>
132 * readelf.c (print_gnu_property_note): Check the
133 GNU_PROPERTY_X86_UINT32_VALID bit for invalid GNU property note.
135 2018-08-23 Alan Modra <amodra@gmail.com>
137 * readelf.c (get_ppc64_symbol_other): Return NULL if st_other
138 field contains unrecognised or reserved values. Handle
141 2018-08-23 H.J. Lu <hongjiu.lu@intel.com>
144 * Makefile.am (development.exp): New target.
145 (EXTRA_DEJAGNU_SITE_CONFIG): New.
146 (DISTCLEANFILES): Add development.exp.
147 * Makefile.in: Regenerated.
148 * testsuite/binutils-all/objcopy.exp (strip_test): Call
149 prune_warnings to prune BFD output.
150 (strip_test_with_saving_a_symbol): Likewise.
151 (objcopy_test_without_global_symbol): Likewise.
152 * testsuite/lib/binutils-common.exp (prune_warnings_extra):
154 (prune_warnings): Likewise.
156 2018-08-23 H.J. Lu <hongjiu.lu@intel.com>
158 * README-how-to-make-a-release: Document setting "experimental"
161 2018-08-22 Alan Modra <amodra@gmail.com>
163 * readelf.c (process_file_header): Assign updated values from
164 section_header[0] fields to e_phnum, e_shnum and e_shstrndx
165 during printing of header. Correct e_shstrndx range check.
166 Remove unnecessary casts and use %u rather than %ld for
167 unsigned int header fields. Don't print a random %lx when
168 reporting an unknown EI_VERSION.
170 2018-08-21 Nick Clifton <nickc@redhat.com>
172 * MAINTAINERS: Note that Arnold Metselaar has retired as the z80
175 2018-08-21 L. Simon <l.simon@samsung.com>
178 * readelf.c (hppa_process_unwind): Only dump the unwind table if
179 the data was successfully read in.
181 2018-08-18 Alan Modra <amodra@gmail.com>
183 * testsuite/lib/binutils-common.exp (is_elf64): Use directory of
184 input file for readelf.out.
186 * testsuite/binutils-all/objcopy.exp (elf64): Set new variable
187 from first result of is_elf64 test.
188 (reloc_format): Set using is_rela.
189 (strip-13): Pass RELOC and ELF64 to assembler.
190 (strip-14, strip-15): Use elf64 rather than calling is_elf64 again.
191 * testsuite/binutils-all/strip-13.d: Run for more targets.
192 * testsuite/binutils-all/strip-13mips64.s: Use RELOC and set
194 * testsuite/binutils-all/strip-13rel.s: Use RELOC and ELF64.
195 Don't add _NONE reloc.
196 * testsuite/binutils-all/strip-13rela.s: Likewise.
198 2018-08-10 H.J. Lu <hongjiu.lu@intel.com>
201 * testsuite/binutils-all/x86-64/pr23494c.s: New file.
202 * testsuite/binutils-all/x86-64/pr23494e-x32.d: Likewise.
203 * testsuite/binutils-all/x86-64/pr23494e.d: Likewise.
205 2018-08-10 H.J. Lu <hongjiu.lu@intel.com>
207 * testsuite/binutils-all/x86-64/pr23494a-x32.d: Skip nacl
209 * testsuite/binutils-all/x86-64/pr23494a.d: Likewise.
210 * testsuite/binutils-all/x86-64/pr23494b-x32.d: Likewise.
211 * testsuite/binutils-all/x86-64/pr23494b.d: Likewise.
212 * testsuite/binutils-all/x86-64/pr23494c-x32.d: Likewise.
213 * testsuite/binutils-all/x86-64/pr23494c.d: Likewise.
214 * testsuite/binutils-all/x86-64/pr23494d-x32.d: Likewise.
215 * testsuite/binutils-all/x86-64/pr23494d.d: Likewise.
217 2018-08-08 H.J. Lu <hongjiu.lu@intel.com>
220 * testsuite/binutils-all/x86-64/pr23494a-x32.d: New file.
221 * testsuite/binutils-all/x86-64/pr23494a.d: Likewise.
222 * testsuite/binutils-all/x86-64/pr23494a.s: Likewise.
223 * testsuite/binutils-all/x86-64/pr23494b-x32.d: Likewise.
224 * testsuite/binutils-all/x86-64/pr23494b.d: Likewise.
225 * testsuite/binutils-all/x86-64/pr23494b.s: Likewise.
226 * testsuite/binutils-all/x86-64/pr23494c-x32.d: Likewise.
227 * testsuite/binutils-all/x86-64/pr23494c.d: Likewise.
228 * testsuite/binutils-all/x86-64/pr23494d-x32.d: Likewise.
229 * testsuite/binutils-all/x86-64/pr23494d.d: Likewise.
231 2018-08-08 Kevin Buettner <kevinb@redhat.com>
233 * dwarf.c (decode_location_expresion): Add case for
234 DW_OP_GNU_variable_value.
236 2018-08-06 Claudiu Zissulescu <claziss@synopsys.com>
238 * readelf.c (display_arc_attribute): Print Tag_ARC_ATR_version.
240 2018-08-03 Nick Clifton <nickc@redhat.com>
242 * objcopy.c (merge_gnu_build_notes): Delete empty notes. Merge
243 identical function notes.
245 2018-08-01 Nick Clifton <nickc@redhat.com>
247 * README-how-to-make-a-release: Add note about regenerating the
248 info files prior to the release.
250 2018-07-30 Andrew Jenner <andrew@codesourcery.com>
252 * MAINTAINERS (C-SKY): Add Yunhai Shang as co-maintainer.
254 2018-07-30 Andrew Jenner <andrew@codesourcery.com>
256 * MAINTAINERS (C-SKY): Add Lifang Xia as maintainer.
258 2018-07-30 Andrew Jenner <andrew@codesourcery.com>
260 * readelf.c: Include elf/csky.h.
261 (guess_is_rela): Handle EM_CSKY.
262 (dump_relocations): Likewise.
263 (get_machine_name): Likewise.
264 (is_32bit_abs_reloc): Likewise.
266 2018-07-25 Nick Clifton <nickc@redhat.com>
268 * rdcoff.c (parse_coff_struct_type): Free fields array upon early
270 (parse_coff_enum_type): Free names and vals arrays upon early
272 * rddbg.c (read_section_stabs_debugging_info): Free shandle and
273 strings and stabs arrays upon early exit.
274 * readelf.c (get_32bit_section_headers): Free shdrs structure upon
276 (get_64bit_section_headers): Likewise.
277 (get_32bit_elf_symbols): Generate an error if multiple symbol
278 table index sections are associated with the same symbol section.
279 (get_64bit_elf_symbols): Likewise.
280 (process_dynamic_section): Generate an error if there are multiple
281 dynamic symbol table sections, multiple dynamic string tables or
282 multiple dynamic symbol information sections.
284 2018-07-24 Nick Clifton <nickc@redhat.com>
286 * po/sv.po: Updated Swedish translation.
288 2018-07-24 Alan Modra <amodra@gmail.com>
291 * dwarf.c (display_formatted_table): Replace "what" parameter
292 with "is_dir". Expand messages. Fix capitalisation.
293 * testsuite/binutils-all/dw5.W: Update expected output.
295 2018-07-24 Alan Modra <amodra@gmail.com>
298 * elfcomm.h (struct archive_info): Rename uses_64bit_indicies
299 to uses_64bit_indices.
300 * elfcomm.c (setup_archive): Update uses of above.
301 * readelf.c (process_archive): Likewise.
302 (get_section_type_name): Rename indicies to indices.
303 (get_32bit_elf_symbols, get_64bit_elf_symbols): Likewise.
304 (process_section_groups): Likewise.
306 2018-07-20 Maciej W. Rozycki <macro@mips.com>
308 * MAINTAINERS: Update my e-mail address, downgrade to MIPS I-IV
311 2018-07-20 Nick Clifton <nickc@redhat.com>
313 * objcopy.c (add_specific_symbols): Free buffer on exit.
314 (add_redefine_syms_file): Close file handle on exit.
315 (copy_object): Close file handle on early exit.
316 Free buffer on early exit.
317 Free gaps buffers once they are no longer needed.
318 * dwarf.c (display_debug_frames): Free allocated memory on exit.
319 (load_separate_debug_info): Free allocate memory on early exit.
321 2018-07-20 Chenghua Xu <paul.hua.gm@gmail.com>
322 Maciej W. Rozycki <macro@mips.com>
324 * readelf.c (print_mips_ases): Add MMI extension.
326 2018-07-19 DJ Delorie <dj@redhat.com>
328 * MAINTAINERS (RL78, RX): Remove myself as maintainer.
330 2018-07-19 Nick Clifton <nickc@redhat.com>
332 * dwarf.c (read_cie): Free allocated memory before returning with
335 2018-07-16 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
337 * readelf.c (get_note_type): Fix typo in NT_PPC_TM_CVSX note
340 2018-07-16 Nick Clifton <nickc@redhat.com>
342 * README-how-to-make-a-release: Add note to check for new top
343 level files and add them to the src-release.sh script.
345 2018-07-14 Nick Clifton <nickc@redhat.com>
347 * README-how-to-make-a-release: Updated with corrections based on
348 the 2.31 release experience.
350 2018-07-12 Francois H. Theron <francois.theron@netronome.com>
352 * readelf.c (process_section_headers): Don't print section type
353 twice for --section-details.
355 2018-07-10 Alan Modra <amodra@gmail.com>
357 * testsuite/lib/binutils-common.exp (supports_gnu_unique): Return
360 2018-07-06 Nick Clifton <nickc@redhat.com>
362 * readelf.c (same_section): New function.
363 (print_gnu_build_attribute_description): Do not complain about
364 gaps that cross a section boundary.
366 2018-07-05 Nick Clifton <nickc@redhat.com>
368 * po/bg.po: Updated Bulgarian translation.
370 2018-07-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
372 * NEWS: Use command-line consistently when used in a compount word.
373 * doc/binutils.texi: Likewise and fix trailing whitespace on same
376 2018-06-26 Nick Clifton <nickc@redhat.com>
378 * po/sv.po: Updated Swedish translation.
379 * po/uk.po: Updated Ukranian translation.
381 2018-06-26 Nick Clifton <nickc@redhat.com>
383 * doc/binutils.texi: Fix spelling mistakes.
384 * README--how-to-make-a-release: Likewise.
386 2018-06-25 Tom Tromey <tom@tromey.com>
388 * dwarf-mode.el (dwarf-mode-syntax-table): New variable.
391 2018-06-24 Nick Clifton <nickc@redhat.com>
393 * README-how-to-make-a-release: Update with experiences from
395 * po/binutils.pot: Regenerate.
396 * configure: Regenerate.
398 2018-06-24 Nick Clifton <nickc@redhat.com>
401 * NEWS: Add marker for 2.31.
403 2018-06-21 Alan Modra <amodra@gmail.com>
405 * doc/Makefile.am (AUTOMAKE_OPTIONS): Add "foreign".
406 * doc/Makefile.in: Regenerate.
408 2018-06-19 Simon Marchi <simon.marchi@ericsson.com>
410 * configure.ac: Remove AC_PREREQ.
411 * doc/Makefile.am (AUTOMAKE_OPTIONS): Remove cygnus, add
412 info-in-builddir no-texinfo.tex.
413 * Makefile.in: Re-generate.
414 * aclocal.m4: Re-generate.
415 * config.in: Re-generate.
416 * configure: Re-generate.
417 * doc/Makefile.in: Re-generate.
419 2018-06-19 Andreas Schwab <schwab@suse.de>
421 * readelf.c (is_16bit_abs_reloc): Handle R_RISCV_SET16.
422 (is_8bit_abs_reloc): New function.
423 (is_6bit_abs_reloc): New function.
424 (is_6bit_inplace_sub_reloc): New function.
425 (apply_relocations): Use them. Handle 6-bit relocations.
427 2018-06-14 Faraz Shahbazker <Faraz.Shahbazker@mips.com>
429 * readelf.c (print_mips_ases): Add GINV extension.
431 2018-06-14 H.J. Lu <hongjiu.lu@intel.com>
434 * readelf.c (get_symbol_version_string): Check if the first
435 symbol version is base version.
437 2018-06-13 Scott Egerton <scott.egerton@imgtec.com>
438 Faraz Shahbazker <Faraz.Shahbazker@mips.com>
440 * readelf.c (print_mips_ases): Add CRC.
442 2018-06-13 Nick Clifton <nickc@redhat.com>
444 * doc/binutils.texi (objdump): Add missing closing square
445 parenthesis to listing of objcopy's command line options.
447 2018-06-11 Nick Clifton <nickc@redhat.com>
449 * po/es.po: Updated Spanish translation.
451 2018-06-01 H.J. Lu <hongjiu.lu@intel.com>
453 * configure: Regenerated.
455 2018-05-31 Alan Modra <amodra@gmail.com>
457 * testsuite/binutils-all/compress.exp (test_gnu_debuglink): Don't
458 set CC_FOR_TARGET. Run test non-native.
459 * testsuite/binutils-all/objdump.exp (test_build_id_debuglink):
461 (test_follow_debuglink): Run test non-native.
463 2018-05-30 Ant Bikeneev <ant.bikineev@gmail.com>
466 * ar.c (display_offsets): New variable.
467 (usage): Add description of 'O' operator.
468 (decode_option): Handle 'O' operator.
469 (print_descr): Pass display_offsets to print_arelt_descr.
470 * arsup.c: Update call to printy_arelt_descr.
471 * objdump.c: Likewise.
472 * bucomm.c (print_arelt_descr): If offsets parameter is true then
473 display offset of archive element within the archive.
474 * bucomm.h: Update prototype for print_arelt_descr.
475 * doc/binutils.texi: Update description of ar command.
476 * NEWS: Mention the new feature.
477 * testsuite/binutils-all/ar.exp: Add text of new feature.
479 2018-05-28 Alan Modra <amodra@gmail.com>
482 * testsuite/binutils-all/compress.exp (test_gnu_debuglink): Return
483 unsupported rather than fail on compile errors.
484 * testsuite/binutils-all/objdump.exp (test_build_id_debuglink):
485 Likewise. Save and restore CFLAGS_FOR_TARGET.
487 2018-05-18 Kito Cheng <kito.cheng@gmail.com>
489 * readelf.c (get_machine_flags): Handle EF_RISCV_RVE.
491 2018-05-18 John Darrington <john@darrington.wattle.id.au>
493 * readelf.c: Add support for s12z architecture.
494 * testsuite/lib/binutils-common.exp (is_elf_format): Excluse s12z
497 2018-05-15 Tamar Christina <tamar.christina@arm.com>
500 * doc/binutils.texi (-M): Document AArch64 options.
502 2018-05-15 Tamar Christina <tamar.christina@arm.com>
505 * doc/binutils.texi (-M): Document AArch64 options.
506 * NEWS: Document notes and warnings.
508 2018-05-15 Alan Modra <amodra@gmail.com>
510 * testsuite/lib/binutils-common.exp (is_elf_format): Add chorus,
511 cloudabi, fuchsia, kaos and nto. Merge netbsdelf* into *elf*,
512 and *uclinux* into *linux*.
513 * testsuite/binutils-all/objcopy.exp: Accept armeb for rel
514 strip-13 test, exclude arm-vxworks and arm-windiss.
516 2018-05-10 John Darrington <john@darrington.wattle.id.au>
518 * readelf.c (get_machine_name): EM_S12Z - handle new case.
520 2018-05-09 Alan Modra <amodra@gmail.com>
522 * od-macho.c (dump_unwind_encoding_x86): Fix typo in last patch.
524 2018-05-09 Sebastian Rasmussen <sebras@gmail.com>
526 * od-macho.c (dump_unwind_encoding_x86): Adjust for macro renaming.
528 2018-05-08 Alan Modra <amodra@gmail.com>
531 * objcopy.c (is_strip_section): Strip groups without a valid
534 2018-05-07 Alan Modra <amodra@gmail.com>
537 * objcopy.c (group_signature): Don't accept groups that use a
538 symbol table other than the one we've read.
540 2018-04-30 Francois H. Theron <francois.theron@netronome.com>
542 * readelf.c: Very basic support for EM_NFP and its section types.
543 * testsuite/binutils-all/nfp: New directory.
544 * testsuite/binutils-all/nfp/objdump.exp: New file. Run new
546 * testsuite/binutils-all/nfp/test2_ctx8.d: New file.
547 * testsuite/binutils-all/nfp/test2_no-pc_ctx4.d: New file.
548 * testsuite/binutils-all/nfp/test1.d: New file.
549 * testsuite/binutils-all/nfp/nfp6000.nffw: New file.
550 * testsuite/binutils-all/nfp/test2_nfp6000.nffw: New file.
551 * NEWS: Mention the new support.
553 2018-04-27 Maciej W. Rozycki <macro@mips.com>
555 * testsuite/lib/binutils-common.exp (match_target): New procedure.
556 * testsuite/lib/utils-lib.exp (run_dump_test): Use it in place
557 of `istarget' for matching with `target', `not-target', `skip'
558 and `not-skip' options.
560 2018-04-26 Nick Clifton <nickc@redhat.com>
562 * readelf.c (is_32bit_abs_reloc): Support R_PARISC_DIR32 as a
563 32-bit absolute reloc for the HPPA target.
564 * testsuite/binutils-all/note-5.d: New test.
565 * testsuite/binutils-all/note-5.s: Source file for new test.
566 * testsuite/binutils-all/objcopy.exp: Run new test.
568 2018-04-25 Christophe Lyon <christophe.lyon@st.com>
570 * testsuite/binutils-all/elfedit-2.d: Accept arm*-*-uclinuxfdpiceabi.
571 * testsuite/binutils-all/elfedit-3.d: Likewise.
572 * testsuite/binutils-all/objcopy.exp: Likewise.
573 * testsuite/binutils-all/strip-3.d: Likewise.
574 * testsuite/lib/binutils-common.exp: Likewise.
576 2018-04-25 Christophe Lyon <christophe.lyon@st.com>
577 Mickaël Guêné <mickael.guene@st.com>
579 * readelf.c (decode_ARM_machine_flags): Support EF_ARM_PIC.
580 (get_osabi_name): Support ELFOSABI_ARM_FDPIC.
582 2018-04-25 Alan Modra <amodra@gmail.com>
584 * testsuite/binutils-all/arm/objdump.exp: Remove arm-aout and
586 * testsuite/binutils-all/objcopy.exp: Likewise.
587 * testsuite/lib/binutils-common.exp: Likewise.
589 2018-04-18 Nick Clifton <nickc@redhat.com>
592 * dwarf.c (read_and_display_attr_value): Replace assertions with
593 test and warning message.
595 2018-04-18 Alan Modra <amodra@gmail.com>
597 * testsuite/lib/binutils-common.exp: Remove support for assorted
600 2018-04-17 Nick Clifton <nickc@redhat.com>
603 * readelf.c (print_symbol): If the width is zero, return straight
607 * dwarf.c (process_cu_tu_index): Test for a potential buffer
608 overrun before copying signature pointer.
610 2018-04-17 Alan Modra <amodra@gmail.com>
612 * readelf.c: Revert 2018-04-16 and 2018-04-11 changes.
614 2018-04-16 Alan Modra <amodra@gmail.com>
616 * readelf.c (get_machine_name): Correct typo.
618 2018-04-16 Alan Modra <amodra@gmail.com>
620 * configure.ac: Remove arm-epoc-pe support.
621 * dlltool.c: Likewise.
622 * configure: Regenerate.
624 2018-04-16 Alan Modra <amodra@gmail.com>
626 * testsuite/lib/binutils-common.exp: Remove sparc-aout and
629 2018-04-16 Alan Modra <amodra@gmail.com>
631 * testsuite/binutils-all/copy-2.d: Remove m68k-aout and m68k-coff
633 * testsuite/binutils-all/copy-3.d: Likewise.
634 * testsuite/binutils-all/objcopy.exp: Likewise.
635 * testsuite/lib/binutils-common.exp: Likewise.
637 2018-04-16 Alan Modra <amodra@gmail.com>
639 * testsuite/binutils-all/objcopy.exp: Remove sh5 and sh64 support.
641 2018-04-16 Alan Modra <amodra@gmail.com>
643 * testsuite/binutils-all/objcopy.exp: Remove w65 support.
645 2018-04-16 Alan Modra <amodra@gmail.com>
647 * testsuite/binutils-all/objdump.exp: Remove we32k support.
649 2018-04-16 Alan Modra <amodra@gmail.com>
651 * MAINTAINERS (Mark Kettenis): Move to past maintainers.
652 * testsuite/binutils-all/objdump.exp: Remove m88k support.
654 2018-04-16 Alan Modra <amodra@gmail.com>
656 * readelf.c: Remove i370 support.
657 * testsuite/binutils-all/objdump.exp: Likewise.
659 2018-04-16 Alan Modra <amodra@gmail.com>
661 * testsuite/binutils-all/objcopy.exp: Remove h8500 support.
662 * testsuite/lib/binutils-common.exp: Likewise.
664 2018-04-16 Alan Modra <amodra@gmail.com>
666 * testsuite/binutils-all/objcopy.exp: Remove h8300-coff support.
668 2018-04-16 Alan Modra <amodra@gmail.com>
670 * Makefile.am: Remove IEEE 695 support.
672 * doc/binutils.texi: Likewise.
673 * makefile.vms: Likewise.
674 * objcopy.c: Likewise.
675 * objdump.c: Likewise.
678 * Makefile.in: Regenerate.
679 * po/POTFILES.in: Regenerate.
681 2018-04-16 Alan Modra <amodra@gmail.com>
683 * testsuite/binutils-all/copy-2.d: Remove newsos3 support.
684 * testsuite/binutils-all/nm.exp: Likewise.
686 2018-04-16 Alan Modra <amodra@gmail.com>
688 * .gitignore: Remove netware support.
689 * Makefile.am: Likewise.
690 * configure.ac: Likewise.
691 * doc/Makefile.am: Likewise.
692 * doc/binutils.texi: Likewise.
693 * testsuite/binutils-all/nm.exp: Likewise.
696 * nlmheader.y: Delete.
697 * Makefile.in: Regenerate.
698 * configure: Regenerate.
699 * doc/Makefile.in: Regenerate.
700 * po/POTFILES.in: Regenerate.
702 2018-04-16 Alan Modra <amodra@gmail.com>
704 * testsuite/binutils-all/objdump.exp: Remove tahoe support.
706 2018-04-14 Alan Modra <amodra@gmail.com>
708 * readelf.c (get_machine_name): Revert 2018-04-11 change.
710 2018-04-12 Nick Clifton <nickc@redhat.com>
713 * readelf.c (process_dynamic_section): Correct dynamic string
714 table size calculation.
716 2018-04-11 Alan Modra <amodra@gmail.com>
718 * ieee.c: Remove i960 support.
719 * od-macho.c: Remove i860 support.
720 * readelf.c: Remove i860 and i960 support.
721 * testsuite/binutils-all/objcopy.exp: Likewise.
722 * testsuite/binutils-all/objdump.exp: Likewise.
723 * testsuite/lib/binutils-common.exp: Likewise.
725 2018-04-11 Maciej W. Rozycki <macro@mips.com>
727 * testsuite/lib/binutils-common.exp (is_elf_format): Also return
728 1 for `*-*-lynxos*' and `*-*-symbianelf*' targets.
730 2018-04-10 Alan Modra <amodra@gmail.com>
732 * testsuite/binutils-all/objcopy.exp (strip-14, strip-15): Choose
733 reloc=11 for pru and reloc=50 for nds32.
734 * testsuite/binutils-all/strip-15.d: Accept 0xb reloc number.
736 2018-04-09 Maciej W. Rozycki <macro@mips.com>
738 * testsuite/binutils-all/strip-15.d: New test.
739 * testsuite/binutils-all/strip-15rel.s: New test source.
740 * testsuite/binutils-all/strip-15rela.s: New test source.
741 * testsuite/binutils-all/strip-15mips64.s: New test source.
742 * testsuite/binutils-all/objcopy.exp: Run the new test.
744 2018-04-09 Maciej W. Rozycki <macro@mips.com>
746 * testsuite/binutils-all/strip-14.d: New test.
747 * testsuite/binutils-all/strip-14rel.s: New test source.
748 * testsuite/binutils-all/strip-14rela.s: New test source.
749 * testsuite/binutils-all/strip-14mips64.s: New test source.
750 * testsuite/binutils-all/objcopy.exp: Run the new test.
752 2018-04-06 Tom Tromey <tom@tromey.com>
754 * dwarf.c (read_and_display_attr_value): Add missing DW_LANG
755 constants from DWARF 5.
757 2018-04-05 H.J. Lu <hongjiu.lu@intel.com>
760 * configure: Regenerated.
762 2018-04-05 Maciej W. Rozycki <macro@mips.com>
764 * testsuite/binutils-all/strip-13mips64.s: Use `.dc.l' rather
765 than `.dc.w' in second relocation.
767 2018-04-05 Maciej W. Rozycki <macro@mips.com>
769 * testsuite/binutils-all/strip-13.d: Also expect `unsupported
770 relocation type 0x8f' error message.
772 2018-04-05 Maciej W. Rozycki <macro@mips.com>
774 * testsuite/binutils-all/strip-13.s: Rename to...
775 * testsuite/binutils-all/strip-13rela.s: ... this.
776 * testsuite/binutils-all/strip-13rel.s: New test source.
777 * testsuite/binutils-all/strip-13mips64.s: New test source.
778 * testsuite/binutils-all/strip-13.d: Remove `arm-*', `d10v-*',
779 `dlx-*' and `xgate-*' from `not-target' list. Add `m6811-*' and
780 `m68hc11-*' to `not-target' list.
781 * testsuite/binutils-all/objcopy.exp: Switch between sources for
784 2018-04-05 Maciej W. Rozycki <macro@mips.com>
786 * testsuite/binutils-all/strip-13.s: Use 143 (0x8f) rather than
787 241 (0xf1) for the relocation number and RELA addend.
788 * testsuite/binutils-all/strip-13.d: Remove `hppa*-*' from the
791 2018-04-04 John David Anglin <danglin@gcc.gnu.org>
793 * MAINTAINERS: Update my e-mail address.
795 2018-04-04 Nick Clifton <nickc@redhat.com>
797 * MAINTAINERS: Move Jason Eckhardt to past maintainers section.
799 2018-03-23 Nick Clifton <nickc@redhat.com>
801 * readelf.c (get_symbol_for_build_attribute): Skip ARM mapping
803 (print_gnu_build_attribute_description): If no file start symbol
804 could be found, look for one two bytes into the file.
805 * testsuite/binutils-all/note-4-64.s: Set the address of the file
806 start symbol to two bytes into the file.
807 * testsuite/binutils-all/note-4-32.s: Likewise.
809 2018-03-21 H.J. Lu <hongjiu.lu@intel.com>
811 * readelf.c (process_dynamic_section): Also dump DF_1_KMOD,
812 DF_1_WEAKFILTER and DF_1_NOCOMMON.
814 2018-03-20 Nick Clifton <nickc@redhat.com>
816 * po/es.po: Updated Spanish translation.
817 * po/ru.po: Updated Russian translation.
819 2018-03-13 Nick Clifton <nickc@redhat.com>
822 * stabs.c (pop_binincl): Fail if the file index is off the end of
825 2018-03-13 Nick Clifton <nickc@redhat.com>
828 * stabs.c (parse_number): Add p_end parameter and use it to check
829 the validity of the pp parameter. Add checks to prevent walking
830 off the end of the string buffer.
831 (parse_stab_string): Likewise.
832 (parse_stab_type): Likewise.
833 (parse_stab_type_number): Likewise.
834 (parse_stab_range_type): Likewise.
835 (parse_stab_sun_builtin_type): Likewise.
836 (parse_stab_sun_floating_type): Likewise.
837 (parse_stab_enum_type): Likewise.
838 (parse_stab_struct_type): Likewise.
839 (parse_stab_baseclasses): Likewise.
840 (parse_stab_struct_fields): Likewise.
841 (parse_stab_cpp_abbrev): Likewise.
842 (parse_stab_one_struct_field): Likewise.
843 (parse_stab_members): Likewise.
844 (parse_stab_tilde_field): Likewise.
845 (parse_stab_array_type): Likewise.
847 * parse_stab: Compute the end of the string and then pass it on to
848 individual parser functions.
850 2018-03-07 Paul Pluzhnikov <ppluzhnikov@google.com>
853 * binutils/readelf.c (get_ver_flags): Expand buffer to avoid
856 2018-03-07 Alan Modra <amodra@gmail.com>
858 * configure.ac: Add objdump_private_desc_xcoff for rs6000.
859 * configure: Regenerate.
861 2018-03-05 H.J. Lu <hongjiu.lu@intel.com>
864 * objdump.c (is_significant_symbol_name): Return TRUE for all
866 (find_symbol_for_address): Replace linear search with binary
867 search on dynamic relocations.
869 2018-03-01 Nick Clifton <nickc@redhat.com>
872 * dwarf.c (display_debug_ranges): Check that the offset loaded
873 from the range_entry structure is valid.
875 2018-03-01 Alan Modra <amodra@gmail.com>
877 * configure.ac (ALL_LINGUAS): Add sr. Sort.
878 * configure: Regenerate.
880 2018-02-27 Nick Clifton <nickc@redhat.com>
882 * po/pt.po: New Portuguese translation.
883 * configure.ac (ALL_LINGUAS): Add pt.
884 * configure: Regenerate.
886 2018-02-27 Nick Clifton <nickc@redhat.com>
889 * objcopy.c (copy_object): Check the error status after marking
890 symbols used in relocations.
891 * testsuite/binutils-all/strip-13.s: New test source file.
892 * testsuite/binutils-all/strip-13.s: New test driver file.
893 * testsuite/binutils-all/objcopy.exp: Run the new test.
895 2018-02-26 Alan Modra <amodra@gmail.com>
897 * testsuite/binutils-all/mips/mips-reginfo-n32.d,
898 * testsuite/binutils-all/mips/mips-reginfo.d: Update.
900 2018-02-23 Alan Modra <amodra@gmail.com>
902 * testsuite/binutils-all/mips/mips-reginfo-n32.d,
903 * testsuite/binutils-all/mips/mips-reginfo.d: Update.
905 2018-02-20 Ronald Hoogenboom <hoogenboom30@zonnet.nl>
907 * doc/binutils.texi (objcopy): Add missing closing square
908 parenthesis to listing of objcopy's command line options.
910 2018-02-19 Matthias Klose <doko@debian.org>
912 * strings.c (long_options): Include-all-whitespace does not take
915 2018-02-13 Alan Modra <amodra@gmail.com>
918 * testsuite/binutils-all/group-7.s,
919 * testsuite/binutils-all/group-7a.d,
920 * testsuite/binutils-all/group-7b.d,
921 * testsuite/binutils-all/group-7c.d: New tests.
922 * testsuite/binutils-all/objcopy.exp: Run them.
924 2018-02-08 Nick Clifton <nickc@redhat.com>
927 * dwarf.c (load_separate_debug_file): Return early if the user is
928 not interested in debug links.
930 2018-02-06 Nick Clifton <nickc@redhat.com>
933 * readelf.c (find_section): Replace assertion with test and return
935 (find_section_by_address): Add test of section header table
937 (find_section_by_type): Likewise.
938 (find_section_in_set): Likewise.
940 2018-02-05 Maciej W. Rozycki <macro@mips.com>
942 * testsuite/binutils-all/mips/mips-reginfo.d: New test.
943 * testsuite/binutils-all/mips/mips-reginfo-n32.d: New test.
944 * testsuite/binutils-all/mips/mips-reginfo.s: New test source.
945 * testsuite/binutils-all/mips/mips.exp: Run the new tests.
947 2018-02-05 Maciej W. Rozycki <macro@mips.com>
949 * testsuite/config/default.exp (binutils_run): Document
950 `binutils_run_status'.
951 * testsuite/lib/utils-lib.exp (default_binutils_run): Likewise,
953 (run_dump_test): Add `error', `error_output', `warning' and
954 `warning_output' options. Update documentation accordingly.
956 2018-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
958 * dwarf.c (dwarf_regnames_riscv): New register name table.
959 (init_dwarf_regnames_riscv): New function.
960 (init_dwarf_regnames): Add call to initialise RiscV register
962 * dwarf.h (init_dwarf_regnames_riscv): Declare.
963 * objdump.c (dump_dwarf): Add call to initialise RiscV register
966 2018-02-01 Alan Modra <amodra@gmail.com>
969 * objdump.c (load_specific_debug_section): Check for overflow
970 when adding one to section size for a string section terminator.
972 2018-01-30 Nick Clifton <nickc@redhat.com>
975 * doc/binutils.texi (nm): Update description to point out that
976 zero-initialized values can also be shown as type B, b, S or s
977 since they can be stored in the BSS section.
979 2018-01-30 Alan Modra <amodra@gmail.com>
981 * objcopy.c (merge_gnu_build_notes): Use (bfd_vma) -1 as
982 "artificially large" end address.
984 2018-01-28 Nick Clifton <nickc@redhat.com>
986 * README-how-to-make-a-release: Add note about checking gpg key
987 and the results of gnupload.
989 2018-01-27 Nick Clifton <nickc@redhat.com>
991 * README-how-to-make-a-release: Add details on how to actually
994 2018-01-26 Nick Clifton <nickc@redhat.com>
996 * README-how-to-make-a-release: Add more details on updating
999 2018-01-22 Maciej W. Rozycki <macro@mips.com>
1001 * doc/binutils.texi (objcopy): Fix a typo in `--rename-section'
1004 2018-01-22 Maciej W. Rozycki <macro@mips.com>
1006 * MAINTAINERS: Update my company e-mail address.
1008 2018-01-22 Nick Clifton <nickc@redhat.com>
1010 * po/sv.po: Updated Swedish translation.
1012 2018-01-18 Nick Clifton <nickc@redhat.com>
1014 * po/bg.po: Updated Bulgarian translation.
1016 2018-01-16 Joel Brobecker <brobecker@adacore.com>
1018 * README-how-to-make-a-release: Add reminder to update the
1019 branch name in gdbadmin's crontab on sourceware.
1021 2018-01-16 Joel Brobecker <brobecker@adacore.com>
1023 * README-how-to-make-a-release: Remove trailing spaces.
1025 2018-01-16 Nick Clifton <nickc@redhat.com>
1027 * po/fr.po: Updated French translation.
1029 2018-01-15 Nick Clifton <nickc@redhat.com>
1031 * po/uk.po: Updated Ukranian translation.
1033 2018-01-13 Nick Clifton <nickc@redhat.com>
1035 * README-how-to-make-a-release: Update notes.
1036 * po/binutils.pot: Regenerated.
1038 2018-01-13 Nick Clifton <nickc@redhat.com>
1040 * configure: Regenerate.
1042 2018-01-13 Nick Clifton <nickc@redhat.com>
1044 2.30 branch created.
1045 * NEWS: Add marker for 2.30.
1047 2018-01-12 Nick Clifton <nickc@redhat.com>
1049 * README-how-to-make-a-release: Add notes on how to make the
1050 branch and prelease snapshot.
1051 * BRANCHES: Add binutils-2_29-branch.
1053 2018-01-10 Nick Clifton <nickc@redhat.com>
1055 * MAINTAINERS: Note that it is now the configure.ac file and not
1056 the configure.in file that needs to be kept in sync with gcc.
1057 Add a note about sending patches for libiberty to gcc.
1059 2018-01-03 Nick Clifton <nickc@redhat.com>
1061 * objcopy.c (merge_gnu_build_notes): Add cast to maximum address
1064 2018-01-03 Nick Clifton <nickc@redhat.com>
1066 * objcopy.c (objcopy_internal_note): New structure.
1067 (gap_exists): New function.
1068 (is_open_note): New function.
1069 (is_func_note): New function.
1070 (is_64bit): New function.
1071 (merge_gnu_build_notes): Handle v3 notes. Do not merge
1072 if there are relocations against the notes.
1073 * readelf.c (get_note_type): Use short names for build attribute
1075 (print_symbol_for_build_attribute): Rename to
1076 get_symbol_for_build_attribute. Returns the found symbol rather
1078 (print_gnu_build_attribute_description): Maintain address ranges
1079 for function notes as well as global notes. Handle v3 notes.
1080 (print_gnu_build_attribute_name): Use more space for printing the
1082 * testsuite/binutils-all/note-2-32.s: Use .dc.l instead of .word.
1083 Eliminate symbol references in order to remove the need for
1085 * testsuite/binutils-all/note-2-64.s: Likewise.
1086 * testsuite/binutils-all/note-3-32.s: Add a size to the note_1
1088 * testsuite/binutils-all/note-3-64.s: Likewise.
1089 * testsuite/binutils-all/mips/mips-note-2r-n32.d: Update expected
1091 * testsuite/binutils-all/mips/mips-note-2r-n64.d: Likewise.
1092 * testsuite/binutils-all/mips/mips-note-2r.d: Likewise.
1093 * testsuite/binutils-all/note-2-32.d: Likewise.
1094 * testsuite/binutils-all/note-2-64.d: Likewise.
1095 * testsuite/binutils-all/note-3-32.d: Likewise.
1096 * testsuite/binutils-all/note-3-64.d: Likewise.
1097 * testsuite/binutils-all/note-4-64.s: New test. Checks v3 notes.
1098 * testsuite/binutils-all/note-4-32.s: New test.
1099 * testsuite/binutils-all/note-4-64.d: New test result file.
1100 * testsuite/binutils-all/note-4-32.d: New test result file.
1102 2018-01-03 Alan Modra <amodra@gmail.com>
1104 Update year range in copyright notice of all files.
1106 For older changes see ChangeLog-2017
1108 Copyright (C) 2018 Free Software Foundation, Inc.
1110 Copying and distribution of this file, with or without modification,
1111 are permitted in any medium without royalty provided the copyright
1112 notice and this notice are preserved.
1118 version-control: never