1 2018-09-15 Alan Modra <amodra@gmail.com>
3 * testsuite/binutils-all/group-7a.d,
4 * testsuite/binutils-all/group-7b.d,
5 * testsuite/binutils-all/group-7c.d,
6 * testsuite/binutils-all/symbols-1.d,
7 * testsuite/binutils-all/symbols-2.d,
8 * testsuite/binutils-all/symbols-3.d,
9 * testsuite/binutils-all/symbols-4.d: Remove DUMPPROG.
11 2018-09-14 Alan Modra <amodra@gmail.com>
14 * testsuite/binutils-all/pr23633.d: Don't fail when assembler
15 generates sections other than .text.
17 2018-09-13 H.J. Lu <hongjiu.lu@intel.com>
20 * testsuite/binutils-all/objcopy.exp: Run pr23633.
21 * testsuite/binutils-all/pr23633.d: New file.
22 * testsuite/binutils-all/pr23633.list: Likewise.
23 * testsuite/binutils-all/pr23633.s: Likewise.
25 2018-09-13 Nick Clifton <nickc@redhat.com>
28 * objcopy.c (add_specific_symbols): Do not free the buffer at the
31 2018-09-10 Alan Modra <amodra@gmail.com>
34 * objcopy.c (handle_remove_section_option): Consider .rela and
35 .rel sections for stripping directly as well as attached to the
36 associated section they relocate.
37 * doc/binutils.texi (remove-relocations): Specify that this
38 option removes non-dynamic relocation sections.
39 * testsuite/binutils-all/objcopy.exp
40 (objcopy_remove_relocations_from_executable): New test.
42 2018-09-03 Nick Clifton <nickc@redhat.com>
44 * po/ja.po: Updated Japanese translation.
46 2018-08-31 H.J. Lu <hongjiu.lu@intel.com>
48 * testsuite/binutils-all/readelf.s-64: Adjusted for
49 .note.gnu.property section.
50 * testsuite/binutils-all/strip-3.d: Also strip
51 .note.gnu.property section.
53 2018-08-31 H.J. Lu <hongjiu.lu@intel.com>
55 * testsuite/binutils-all/i386/compressed-1b.d: Pass
56 -mx86-used-note=no to assembler.
57 * testsuite/binutils-all/i386/compressed-1c.d: Likewise.
58 * testsuite/binutils-all/x86-64/compressed-1b.d: Likewise.
59 * testsuite/binutils-all/x86-64/compressed-1c.d: Likewise.
60 * testsuite/binutils-all/i386/empty.d: Pass -mx86-used-note=yes
61 to assembler and update expected output from "readelf -n".
62 * testsuite/binutils-all/i386/ibt.d: Likewise.
63 * testsuite/binutils-all/i386/pr21231a.d: Likewise.
64 * testsuite/binutils-all/i386/pr21231b.d: Likewise.
65 * testsuite/binutils-all/i386/shstk.d: Likewise.
66 * testsuite/binutils-all/x86-64/empty-x32.d: Likewise.
67 * testsuite/binutils-all/x86-64/empty.d: Likewise.
68 * testsuite/binutils-all/x86-64/ibt-x32.d: Likewise.
69 * testsuite/binutils-all/x86-64/ibt.d: Likewise.
70 * testsuite/binutils-all/x86-64/pr21231a.d: Likewise.
71 * testsuite/binutils-all/x86-64/pr21231b.d: Likewise.
72 * testsuite/binutils-all/x86-64/pr23494a-x32.d: Likewise.
73 * testsuite/binutils-all/x86-64/pr23494a.d: Likewise.
74 * testsuite/binutils-all/x86-64/pr23494b-x32.d: Likewise.
75 * testsuite/binutils-all/x86-64/pr23494b.d: Likewise.
76 * testsuite/binutils-all/x86-64/pr23494c-x32.d: Likewise.
77 * testsuite/binutils-all/x86-64/pr23494c.d: Likewise.
78 * testsuite/binutils-all/x86-64/pr23494d-x32.d: Likewise.
79 * testsuite/binutils-all/x86-64/pr23494d.d: Likewise.
80 * testsuite/binutils-all/x86-64/pr23494e-x32.d: Likewise.
81 * testsuite/binutils-all/x86-64/pr23494e.d: Likewise.
82 * testsuite/binutils-all/x86-64/shstk-x32.d: Likewise.
83 * testsuite/binutils-all/x86-64/shstk.d: Likewise.
85 2018-08-30 H.J. Lu <hongjiu.lu@intel.com>
87 * readelf.c (process_section_headers): Treat SHT_FINI_ARRAY and
88 SHT_PREINIT_ARRAY as relocatable sections.
90 2018-08-30 Chenghua Xu <paul.hua.gm@gmail.com>
92 * MAINTAINERS: Add myself as a MIPS port maintainer.
94 2018-08-29 Chenghua Xu <paul.hua.gm@gmail.com>
96 * NEWS: Mention Loongson 2K1000 proccessor support.
97 * readelf.c (get_machine_flags): Handle gs264e.
99 2018-08-29 Chenghua Xu <paul.hua.gm@gmail.com>
101 * NEWS: Mention Loongson 3A2000/3A3000 proccessor support.
102 * readelf.c (get_machine_flags): Handle gs464e.
104 2018-08-29 Chenghua Xu <paul.hua.gm@gmail.com>
106 * NEWS: Mention Loongson 3A1000 proccessor support.
107 * readelf.c (get_machine_flags): Rename loongson-3a to gs464.
108 (print_mips_isa_ext): Delete AFL_EXT_LOONGSON_3A.
110 2018-08-29 Chenghua Xu <paul.hua.gm@gmail.com>
112 * readelf.c (print_mips_ases): Add Loongson EXT2 extension.
114 2018-08-29 Chenghua Xu <paul.hua.gm@gmail.com>
116 * readelf.c (print_mips_ases): Add Loongson EXT extension.
118 2018-08-29 Chenghua Xu <paul.hua.gm@gmail.com>
120 * readelf.c (print_mips_ases): Add CAM extension.
122 2018-08-27 H.J. Lu <hongjiu.lu@intel.com>
124 * readelf.c (decode_x86_isa): Print <None> if bitmask only
125 contains the GNU_PROPERTY_X86_UINT32_VALID bit.
126 (decode_x86_feature_1): Likewise.
127 (decode_x86_feature_2): Likewise.
128 (print_gnu_property_note): Don't mask out the
129 GNU_PROPERTY_X86_UINT32_VALID bit.
130 * testsuite/binutils-all/i386/pr21231b.d: Updated.
131 * testsuite/binutils-all/x86-64/pr21231b.d: Likewise.
133 2018-08-27 H.J. Lu <hongjiu.lu@intel.com>
135 * readelf.c (decode_x86_compat_isa): Break multi-statement line.
136 (decode_x86_isa): Likewise.
137 (decode_x86_feature_2): Likewise.
139 2018-08-25 H.J. Lu <hongjiu.lu@intel.com>
142 * readelf.c (get_symbol_version_string): Return _("<corrupt>")
143 for corrupt symbol version info.
145 2018-08-24 H.J. Lu <hongjiu.lu@intel.com>
147 * readelf.c (decode_x86_compat_isa): New function.
148 (decode_x86_feature_2): Likewise.
149 (decode_x86_isa): Updated for new X86_ISA_1_XXX bits.
150 (decode_x86_feature): Renamed to ...
151 (decode_x86_feature_1): This. Remove the type argument.
152 (print_gnu_property_note): Handle X86_COMPAT_ISA_1_USED,
153 X86_COMPAT_ISA_1_NEEDED, X86_UINT32_AND_LO, X86_UINT32_AND_HI,
154 X86_UINT32_OR_LO, X86_UINT32_OR_HI, X86_UINT32_OR_AND_LO and
155 X86_UINT32_OR_AND_HI instead of X86_ISA_1_USED, X86_ISA_1_NEEDED
156 and X86_FEATURE_1_AND.
157 * testsuite/binutils-all/i386/pr21231b.s: Updated to the current
158 GNU_PROPERTY_X86_ISA_1_USED and GNU_PROPERTY_X86_ISA_1_NEEDED
160 * testsuite/binutils-all/x86-64/pr21231b.s: Likewise.
161 * testsuite/binutils-all/x86-64/pr23494a.s: Likewise.
162 * testsuite/binutils-all/x86-64/pr23494b.s: Likewise.
163 * testsuite/binutils-all/x86-64/pr23494c.s: Likewise.
164 * testsuite/binutils-all/i386/pr21231b.d: Updated.
165 * testsuite/binutils-all/x86-64/pr21231b.d: Likewise.
166 * testsuite/binutils-all/x86-64/pr23494a-x32.d: Likewise.
167 * testsuite/binutils-all/x86-64/pr23494a.d: Likewise.
168 * testsuite/binutils-all/x86-64/pr23494c-x32.d: Likewise.
169 * testsuite/binutils-all/x86-64/pr23494c.d: Likewise.
170 * testsuite/binutils-all/x86-64/pr23494d-x32.d: Likewise.
171 * testsuite/binutils-all/x86-64/pr23494d.d: Likewise.
172 * testsuite/binutils-all/x86-64/pr23494e-x32.d: Likewise.
173 * testsuite/binutils-all/x86-64/pr23494e.d: Likewise.
175 2018-08-24 H.J. Lu <hongjiu.lu@intel.com>
177 * readelf.c (print_gnu_property_note): Check the
178 GNU_PROPERTY_X86_UINT32_VALID bit for invalid GNU property note.
180 2018-08-23 Alan Modra <amodra@gmail.com>
182 * readelf.c (get_ppc64_symbol_other): Return NULL if st_other
183 field contains unrecognised or reserved values. Handle
186 2018-08-23 H.J. Lu <hongjiu.lu@intel.com>
189 * Makefile.am (development.exp): New target.
190 (EXTRA_DEJAGNU_SITE_CONFIG): New.
191 (DISTCLEANFILES): Add development.exp.
192 * Makefile.in: Regenerated.
193 * testsuite/binutils-all/objcopy.exp (strip_test): Call
194 prune_warnings to prune BFD output.
195 (strip_test_with_saving_a_symbol): Likewise.
196 (objcopy_test_without_global_symbol): Likewise.
197 * testsuite/lib/binutils-common.exp (prune_warnings_extra):
199 (prune_warnings): Likewise.
201 2018-08-23 H.J. Lu <hongjiu.lu@intel.com>
203 * README-how-to-make-a-release: Document setting "experimental"
206 2018-08-22 Alan Modra <amodra@gmail.com>
208 * readelf.c (process_file_header): Assign updated values from
209 section_header[0] fields to e_phnum, e_shnum and e_shstrndx
210 during printing of header. Correct e_shstrndx range check.
211 Remove unnecessary casts and use %u rather than %ld for
212 unsigned int header fields. Don't print a random %lx when
213 reporting an unknown EI_VERSION.
215 2018-08-21 Nick Clifton <nickc@redhat.com>
217 * MAINTAINERS: Note that Arnold Metselaar has retired as the z80
220 2018-08-21 L. Simon <l.simon@samsung.com>
223 * readelf.c (hppa_process_unwind): Only dump the unwind table if
224 the data was successfully read in.
226 2018-08-18 Alan Modra <amodra@gmail.com>
228 * testsuite/lib/binutils-common.exp (is_elf64): Use directory of
229 input file for readelf.out.
231 * testsuite/binutils-all/objcopy.exp (elf64): Set new variable
232 from first result of is_elf64 test.
233 (reloc_format): Set using is_rela.
234 (strip-13): Pass RELOC and ELF64 to assembler.
235 (strip-14, strip-15): Use elf64 rather than calling is_elf64 again.
236 * testsuite/binutils-all/strip-13.d: Run for more targets.
237 * testsuite/binutils-all/strip-13mips64.s: Use RELOC and set
239 * testsuite/binutils-all/strip-13rel.s: Use RELOC and ELF64.
240 Don't add _NONE reloc.
241 * testsuite/binutils-all/strip-13rela.s: Likewise.
243 2018-08-10 H.J. Lu <hongjiu.lu@intel.com>
246 * testsuite/binutils-all/x86-64/pr23494c.s: New file.
247 * testsuite/binutils-all/x86-64/pr23494e-x32.d: Likewise.
248 * testsuite/binutils-all/x86-64/pr23494e.d: Likewise.
250 2018-08-10 H.J. Lu <hongjiu.lu@intel.com>
252 * testsuite/binutils-all/x86-64/pr23494a-x32.d: Skip nacl
254 * testsuite/binutils-all/x86-64/pr23494a.d: Likewise.
255 * testsuite/binutils-all/x86-64/pr23494b-x32.d: Likewise.
256 * testsuite/binutils-all/x86-64/pr23494b.d: Likewise.
257 * testsuite/binutils-all/x86-64/pr23494c-x32.d: Likewise.
258 * testsuite/binutils-all/x86-64/pr23494c.d: Likewise.
259 * testsuite/binutils-all/x86-64/pr23494d-x32.d: Likewise.
260 * testsuite/binutils-all/x86-64/pr23494d.d: Likewise.
262 2018-08-08 H.J. Lu <hongjiu.lu@intel.com>
265 * testsuite/binutils-all/x86-64/pr23494a-x32.d: New file.
266 * testsuite/binutils-all/x86-64/pr23494a.d: Likewise.
267 * testsuite/binutils-all/x86-64/pr23494a.s: Likewise.
268 * testsuite/binutils-all/x86-64/pr23494b-x32.d: Likewise.
269 * testsuite/binutils-all/x86-64/pr23494b.d: Likewise.
270 * testsuite/binutils-all/x86-64/pr23494b.s: Likewise.
271 * testsuite/binutils-all/x86-64/pr23494c-x32.d: Likewise.
272 * testsuite/binutils-all/x86-64/pr23494c.d: Likewise.
273 * testsuite/binutils-all/x86-64/pr23494d-x32.d: Likewise.
274 * testsuite/binutils-all/x86-64/pr23494d.d: Likewise.
276 2018-08-08 Kevin Buettner <kevinb@redhat.com>
278 * dwarf.c (decode_location_expresion): Add case for
279 DW_OP_GNU_variable_value.
281 2018-08-06 Claudiu Zissulescu <claziss@synopsys.com>
283 * readelf.c (display_arc_attribute): Print Tag_ARC_ATR_version.
285 2018-08-03 Nick Clifton <nickc@redhat.com>
287 * objcopy.c (merge_gnu_build_notes): Delete empty notes. Merge
288 identical function notes.
290 2018-08-01 Nick Clifton <nickc@redhat.com>
292 * README-how-to-make-a-release: Add note about regenerating the
293 info files prior to the release.
295 2018-07-30 Andrew Jenner <andrew@codesourcery.com>
297 * MAINTAINERS (C-SKY): Add Yunhai Shang as co-maintainer.
299 2018-07-30 Andrew Jenner <andrew@codesourcery.com>
301 * MAINTAINERS (C-SKY): Add Lifang Xia as maintainer.
303 2018-07-30 Andrew Jenner <andrew@codesourcery.com>
305 * readelf.c: Include elf/csky.h.
306 (guess_is_rela): Handle EM_CSKY.
307 (dump_relocations): Likewise.
308 (get_machine_name): Likewise.
309 (is_32bit_abs_reloc): Likewise.
311 2018-07-25 Nick Clifton <nickc@redhat.com>
313 * rdcoff.c (parse_coff_struct_type): Free fields array upon early
315 (parse_coff_enum_type): Free names and vals arrays upon early
317 * rddbg.c (read_section_stabs_debugging_info): Free shandle and
318 strings and stabs arrays upon early exit.
319 * readelf.c (get_32bit_section_headers): Free shdrs structure upon
321 (get_64bit_section_headers): Likewise.
322 (get_32bit_elf_symbols): Generate an error if multiple symbol
323 table index sections are associated with the same symbol section.
324 (get_64bit_elf_symbols): Likewise.
325 (process_dynamic_section): Generate an error if there are multiple
326 dynamic symbol table sections, multiple dynamic string tables or
327 multiple dynamic symbol information sections.
329 2018-07-24 Nick Clifton <nickc@redhat.com>
331 * po/sv.po: Updated Swedish translation.
333 2018-07-24 Alan Modra <amodra@gmail.com>
336 * dwarf.c (display_formatted_table): Replace "what" parameter
337 with "is_dir". Expand messages. Fix capitalisation.
338 * testsuite/binutils-all/dw5.W: Update expected output.
340 2018-07-24 Alan Modra <amodra@gmail.com>
343 * elfcomm.h (struct archive_info): Rename uses_64bit_indicies
344 to uses_64bit_indices.
345 * elfcomm.c (setup_archive): Update uses of above.
346 * readelf.c (process_archive): Likewise.
347 (get_section_type_name): Rename indicies to indices.
348 (get_32bit_elf_symbols, get_64bit_elf_symbols): Likewise.
349 (process_section_groups): Likewise.
351 2018-07-20 Maciej W. Rozycki <macro@mips.com>
353 * MAINTAINERS: Update my e-mail address, downgrade to MIPS I-IV
356 2018-07-20 Nick Clifton <nickc@redhat.com>
358 * objcopy.c (add_specific_symbols): Free buffer on exit.
359 (add_redefine_syms_file): Close file handle on exit.
360 (copy_object): Close file handle on early exit.
361 Free buffer on early exit.
362 Free gaps buffers once they are no longer needed.
363 * dwarf.c (display_debug_frames): Free allocated memory on exit.
364 (load_separate_debug_info): Free allocate memory on early exit.
366 2018-07-20 Chenghua Xu <paul.hua.gm@gmail.com>
367 Maciej W. Rozycki <macro@mips.com>
369 * readelf.c (print_mips_ases): Add MMI extension.
371 2018-07-19 DJ Delorie <dj@redhat.com>
373 * MAINTAINERS (RL78, RX): Remove myself as maintainer.
375 2018-07-19 Nick Clifton <nickc@redhat.com>
377 * dwarf.c (read_cie): Free allocated memory before returning with
380 2018-07-16 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
382 * readelf.c (get_note_type): Fix typo in NT_PPC_TM_CVSX note
385 2018-07-16 Nick Clifton <nickc@redhat.com>
387 * README-how-to-make-a-release: Add note to check for new top
388 level files and add them to the src-release.sh script.
390 2018-07-14 Nick Clifton <nickc@redhat.com>
392 * README-how-to-make-a-release: Updated with corrections based on
393 the 2.31 release experience.
395 2018-07-12 Francois H. Theron <francois.theron@netronome.com>
397 * readelf.c (process_section_headers): Don't print section type
398 twice for --section-details.
400 2018-07-10 Alan Modra <amodra@gmail.com>
402 * testsuite/lib/binutils-common.exp (supports_gnu_unique): Return
405 2018-07-06 Nick Clifton <nickc@redhat.com>
407 * readelf.c (same_section): New function.
408 (print_gnu_build_attribute_description): Do not complain about
409 gaps that cross a section boundary.
411 2018-07-05 Nick Clifton <nickc@redhat.com>
413 * po/bg.po: Updated Bulgarian translation.
415 2018-07-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
417 * NEWS: Use command-line consistently when used in a compount word.
418 * doc/binutils.texi: Likewise and fix trailing whitespace on same
421 2018-06-26 Nick Clifton <nickc@redhat.com>
423 * po/sv.po: Updated Swedish translation.
424 * po/uk.po: Updated Ukranian translation.
426 2018-06-26 Nick Clifton <nickc@redhat.com>
428 * doc/binutils.texi: Fix spelling mistakes.
429 * README--how-to-make-a-release: Likewise.
431 2018-06-25 Tom Tromey <tom@tromey.com>
433 * dwarf-mode.el (dwarf-mode-syntax-table): New variable.
436 2018-06-24 Nick Clifton <nickc@redhat.com>
438 * README-how-to-make-a-release: Update with experiences from
440 * po/binutils.pot: Regenerate.
441 * configure: Regenerate.
443 2018-06-24 Nick Clifton <nickc@redhat.com>
446 * NEWS: Add marker for 2.31.
448 2018-06-21 Alan Modra <amodra@gmail.com>
450 * doc/Makefile.am (AUTOMAKE_OPTIONS): Add "foreign".
451 * doc/Makefile.in: Regenerate.
453 2018-06-19 Simon Marchi <simon.marchi@ericsson.com>
455 * configure.ac: Remove AC_PREREQ.
456 * doc/Makefile.am (AUTOMAKE_OPTIONS): Remove cygnus, add
457 info-in-builddir no-texinfo.tex.
458 * Makefile.in: Re-generate.
459 * aclocal.m4: Re-generate.
460 * config.in: Re-generate.
461 * configure: Re-generate.
462 * doc/Makefile.in: Re-generate.
464 2018-06-19 Andreas Schwab <schwab@suse.de>
466 * readelf.c (is_16bit_abs_reloc): Handle R_RISCV_SET16.
467 (is_8bit_abs_reloc): New function.
468 (is_6bit_abs_reloc): New function.
469 (is_6bit_inplace_sub_reloc): New function.
470 (apply_relocations): Use them. Handle 6-bit relocations.
472 2018-06-14 Faraz Shahbazker <Faraz.Shahbazker@mips.com>
474 * readelf.c (print_mips_ases): Add GINV extension.
476 2018-06-14 H.J. Lu <hongjiu.lu@intel.com>
479 * readelf.c (get_symbol_version_string): Check if the first
480 symbol version is base version.
482 2018-06-13 Scott Egerton <scott.egerton@imgtec.com>
483 Faraz Shahbazker <Faraz.Shahbazker@mips.com>
485 * readelf.c (print_mips_ases): Add CRC.
487 2018-06-13 Nick Clifton <nickc@redhat.com>
489 * doc/binutils.texi (objdump): Add missing closing square
490 parenthesis to listing of objcopy's command line options.
492 2018-06-11 Nick Clifton <nickc@redhat.com>
494 * po/es.po: Updated Spanish translation.
496 2018-06-01 H.J. Lu <hongjiu.lu@intel.com>
498 * configure: Regenerated.
500 2018-05-31 Alan Modra <amodra@gmail.com>
502 * testsuite/binutils-all/compress.exp (test_gnu_debuglink): Don't
503 set CC_FOR_TARGET. Run test non-native.
504 * testsuite/binutils-all/objdump.exp (test_build_id_debuglink):
506 (test_follow_debuglink): Run test non-native.
508 2018-05-30 Ant Bikeneev <ant.bikineev@gmail.com>
511 * ar.c (display_offsets): New variable.
512 (usage): Add description of 'O' operator.
513 (decode_option): Handle 'O' operator.
514 (print_descr): Pass display_offsets to print_arelt_descr.
515 * arsup.c: Update call to printy_arelt_descr.
516 * objdump.c: Likewise.
517 * bucomm.c (print_arelt_descr): If offsets parameter is true then
518 display offset of archive element within the archive.
519 * bucomm.h: Update prototype for print_arelt_descr.
520 * doc/binutils.texi: Update description of ar command.
521 * NEWS: Mention the new feature.
522 * testsuite/binutils-all/ar.exp: Add text of new feature.
524 2018-05-28 Alan Modra <amodra@gmail.com>
527 * testsuite/binutils-all/compress.exp (test_gnu_debuglink): Return
528 unsupported rather than fail on compile errors.
529 * testsuite/binutils-all/objdump.exp (test_build_id_debuglink):
530 Likewise. Save and restore CFLAGS_FOR_TARGET.
532 2018-05-18 Kito Cheng <kito.cheng@gmail.com>
534 * readelf.c (get_machine_flags): Handle EF_RISCV_RVE.
536 2018-05-18 John Darrington <john@darrington.wattle.id.au>
538 * readelf.c: Add support for s12z architecture.
539 * testsuite/lib/binutils-common.exp (is_elf_format): Excluse s12z
542 2018-05-15 Tamar Christina <tamar.christina@arm.com>
545 * doc/binutils.texi (-M): Document AArch64 options.
547 2018-05-15 Tamar Christina <tamar.christina@arm.com>
550 * doc/binutils.texi (-M): Document AArch64 options.
551 * NEWS: Document notes and warnings.
553 2018-05-15 Alan Modra <amodra@gmail.com>
555 * testsuite/lib/binutils-common.exp (is_elf_format): Add chorus,
556 cloudabi, fuchsia, kaos and nto. Merge netbsdelf* into *elf*,
557 and *uclinux* into *linux*.
558 * testsuite/binutils-all/objcopy.exp: Accept armeb for rel
559 strip-13 test, exclude arm-vxworks and arm-windiss.
561 2018-05-10 John Darrington <john@darrington.wattle.id.au>
563 * readelf.c (get_machine_name): EM_S12Z - handle new case.
565 2018-05-09 Alan Modra <amodra@gmail.com>
567 * od-macho.c (dump_unwind_encoding_x86): Fix typo in last patch.
569 2018-05-09 Sebastian Rasmussen <sebras@gmail.com>
571 * od-macho.c (dump_unwind_encoding_x86): Adjust for macro renaming.
573 2018-05-08 Alan Modra <amodra@gmail.com>
576 * objcopy.c (is_strip_section): Strip groups without a valid
579 2018-05-07 Alan Modra <amodra@gmail.com>
582 * objcopy.c (group_signature): Don't accept groups that use a
583 symbol table other than the one we've read.
585 2018-04-30 Francois H. Theron <francois.theron@netronome.com>
587 * readelf.c: Very basic support for EM_NFP and its section types.
588 * testsuite/binutils-all/nfp: New directory.
589 * testsuite/binutils-all/nfp/objdump.exp: New file. Run new
591 * testsuite/binutils-all/nfp/test2_ctx8.d: New file.
592 * testsuite/binutils-all/nfp/test2_no-pc_ctx4.d: New file.
593 * testsuite/binutils-all/nfp/test1.d: New file.
594 * testsuite/binutils-all/nfp/nfp6000.nffw: New file.
595 * testsuite/binutils-all/nfp/test2_nfp6000.nffw: New file.
596 * NEWS: Mention the new support.
598 2018-04-27 Maciej W. Rozycki <macro@mips.com>
600 * testsuite/lib/binutils-common.exp (match_target): New procedure.
601 * testsuite/lib/utils-lib.exp (run_dump_test): Use it in place
602 of `istarget' for matching with `target', `not-target', `skip'
603 and `not-skip' options.
605 2018-04-26 Nick Clifton <nickc@redhat.com>
607 * readelf.c (is_32bit_abs_reloc): Support R_PARISC_DIR32 as a
608 32-bit absolute reloc for the HPPA target.
609 * testsuite/binutils-all/note-5.d: New test.
610 * testsuite/binutils-all/note-5.s: Source file for new test.
611 * testsuite/binutils-all/objcopy.exp: Run new test.
613 2018-04-25 Christophe Lyon <christophe.lyon@st.com>
615 * testsuite/binutils-all/elfedit-2.d: Accept arm*-*-uclinuxfdpiceabi.
616 * testsuite/binutils-all/elfedit-3.d: Likewise.
617 * testsuite/binutils-all/objcopy.exp: Likewise.
618 * testsuite/binutils-all/strip-3.d: Likewise.
619 * testsuite/lib/binutils-common.exp: Likewise.
621 2018-04-25 Christophe Lyon <christophe.lyon@st.com>
622 Mickaël Guêné <mickael.guene@st.com>
624 * readelf.c (decode_ARM_machine_flags): Support EF_ARM_PIC.
625 (get_osabi_name): Support ELFOSABI_ARM_FDPIC.
627 2018-04-25 Alan Modra <amodra@gmail.com>
629 * testsuite/binutils-all/arm/objdump.exp: Remove arm-aout and
631 * testsuite/binutils-all/objcopy.exp: Likewise.
632 * testsuite/lib/binutils-common.exp: Likewise.
634 2018-04-18 Nick Clifton <nickc@redhat.com>
637 * dwarf.c (read_and_display_attr_value): Replace assertions with
638 test and warning message.
640 2018-04-18 Alan Modra <amodra@gmail.com>
642 * testsuite/lib/binutils-common.exp: Remove support for assorted
645 2018-04-17 Nick Clifton <nickc@redhat.com>
648 * readelf.c (print_symbol): If the width is zero, return straight
652 * dwarf.c (process_cu_tu_index): Test for a potential buffer
653 overrun before copying signature pointer.
655 2018-04-17 Alan Modra <amodra@gmail.com>
657 * readelf.c: Revert 2018-04-16 and 2018-04-11 changes.
659 2018-04-16 Alan Modra <amodra@gmail.com>
661 * readelf.c (get_machine_name): Correct typo.
663 2018-04-16 Alan Modra <amodra@gmail.com>
665 * configure.ac: Remove arm-epoc-pe support.
666 * dlltool.c: Likewise.
667 * configure: Regenerate.
669 2018-04-16 Alan Modra <amodra@gmail.com>
671 * testsuite/lib/binutils-common.exp: Remove sparc-aout and
674 2018-04-16 Alan Modra <amodra@gmail.com>
676 * testsuite/binutils-all/copy-2.d: Remove m68k-aout and m68k-coff
678 * testsuite/binutils-all/copy-3.d: Likewise.
679 * testsuite/binutils-all/objcopy.exp: Likewise.
680 * testsuite/lib/binutils-common.exp: Likewise.
682 2018-04-16 Alan Modra <amodra@gmail.com>
684 * testsuite/binutils-all/objcopy.exp: Remove sh5 and sh64 support.
686 2018-04-16 Alan Modra <amodra@gmail.com>
688 * testsuite/binutils-all/objcopy.exp: Remove w65 support.
690 2018-04-16 Alan Modra <amodra@gmail.com>
692 * testsuite/binutils-all/objdump.exp: Remove we32k support.
694 2018-04-16 Alan Modra <amodra@gmail.com>
696 * MAINTAINERS (Mark Kettenis): Move to past maintainers.
697 * testsuite/binutils-all/objdump.exp: Remove m88k support.
699 2018-04-16 Alan Modra <amodra@gmail.com>
701 * readelf.c: Remove i370 support.
702 * testsuite/binutils-all/objdump.exp: Likewise.
704 2018-04-16 Alan Modra <amodra@gmail.com>
706 * testsuite/binutils-all/objcopy.exp: Remove h8500 support.
707 * testsuite/lib/binutils-common.exp: Likewise.
709 2018-04-16 Alan Modra <amodra@gmail.com>
711 * testsuite/binutils-all/objcopy.exp: Remove h8300-coff support.
713 2018-04-16 Alan Modra <amodra@gmail.com>
715 * Makefile.am: Remove IEEE 695 support.
717 * doc/binutils.texi: Likewise.
718 * makefile.vms: Likewise.
719 * objcopy.c: Likewise.
720 * objdump.c: Likewise.
723 * Makefile.in: Regenerate.
724 * po/POTFILES.in: Regenerate.
726 2018-04-16 Alan Modra <amodra@gmail.com>
728 * testsuite/binutils-all/copy-2.d: Remove newsos3 support.
729 * testsuite/binutils-all/nm.exp: Likewise.
731 2018-04-16 Alan Modra <amodra@gmail.com>
733 * .gitignore: Remove netware support.
734 * Makefile.am: Likewise.
735 * configure.ac: Likewise.
736 * doc/Makefile.am: Likewise.
737 * doc/binutils.texi: Likewise.
738 * testsuite/binutils-all/nm.exp: Likewise.
741 * nlmheader.y: Delete.
742 * Makefile.in: Regenerate.
743 * configure: Regenerate.
744 * doc/Makefile.in: Regenerate.
745 * po/POTFILES.in: Regenerate.
747 2018-04-16 Alan Modra <amodra@gmail.com>
749 * testsuite/binutils-all/objdump.exp: Remove tahoe support.
751 2018-04-14 Alan Modra <amodra@gmail.com>
753 * readelf.c (get_machine_name): Revert 2018-04-11 change.
755 2018-04-12 Nick Clifton <nickc@redhat.com>
758 * readelf.c (process_dynamic_section): Correct dynamic string
759 table size calculation.
761 2018-04-11 Alan Modra <amodra@gmail.com>
763 * ieee.c: Remove i960 support.
764 * od-macho.c: Remove i860 support.
765 * readelf.c: Remove i860 and i960 support.
766 * testsuite/binutils-all/objcopy.exp: Likewise.
767 * testsuite/binutils-all/objdump.exp: Likewise.
768 * testsuite/lib/binutils-common.exp: Likewise.
770 2018-04-11 Maciej W. Rozycki <macro@mips.com>
772 * testsuite/lib/binutils-common.exp (is_elf_format): Also return
773 1 for `*-*-lynxos*' and `*-*-symbianelf*' targets.
775 2018-04-10 Alan Modra <amodra@gmail.com>
777 * testsuite/binutils-all/objcopy.exp (strip-14, strip-15): Choose
778 reloc=11 for pru and reloc=50 for nds32.
779 * testsuite/binutils-all/strip-15.d: Accept 0xb reloc number.
781 2018-04-09 Maciej W. Rozycki <macro@mips.com>
783 * testsuite/binutils-all/strip-15.d: New test.
784 * testsuite/binutils-all/strip-15rel.s: New test source.
785 * testsuite/binutils-all/strip-15rela.s: New test source.
786 * testsuite/binutils-all/strip-15mips64.s: New test source.
787 * testsuite/binutils-all/objcopy.exp: Run the new test.
789 2018-04-09 Maciej W. Rozycki <macro@mips.com>
791 * testsuite/binutils-all/strip-14.d: New test.
792 * testsuite/binutils-all/strip-14rel.s: New test source.
793 * testsuite/binutils-all/strip-14rela.s: New test source.
794 * testsuite/binutils-all/strip-14mips64.s: New test source.
795 * testsuite/binutils-all/objcopy.exp: Run the new test.
797 2018-04-06 Tom Tromey <tom@tromey.com>
799 * dwarf.c (read_and_display_attr_value): Add missing DW_LANG
800 constants from DWARF 5.
802 2018-04-05 H.J. Lu <hongjiu.lu@intel.com>
805 * configure: Regenerated.
807 2018-04-05 Maciej W. Rozycki <macro@mips.com>
809 * testsuite/binutils-all/strip-13mips64.s: Use `.dc.l' rather
810 than `.dc.w' in second relocation.
812 2018-04-05 Maciej W. Rozycki <macro@mips.com>
814 * testsuite/binutils-all/strip-13.d: Also expect `unsupported
815 relocation type 0x8f' error message.
817 2018-04-05 Maciej W. Rozycki <macro@mips.com>
819 * testsuite/binutils-all/strip-13.s: Rename to...
820 * testsuite/binutils-all/strip-13rela.s: ... this.
821 * testsuite/binutils-all/strip-13rel.s: New test source.
822 * testsuite/binutils-all/strip-13mips64.s: New test source.
823 * testsuite/binutils-all/strip-13.d: Remove `arm-*', `d10v-*',
824 `dlx-*' and `xgate-*' from `not-target' list. Add `m6811-*' and
825 `m68hc11-*' to `not-target' list.
826 * testsuite/binutils-all/objcopy.exp: Switch between sources for
829 2018-04-05 Maciej W. Rozycki <macro@mips.com>
831 * testsuite/binutils-all/strip-13.s: Use 143 (0x8f) rather than
832 241 (0xf1) for the relocation number and RELA addend.
833 * testsuite/binutils-all/strip-13.d: Remove `hppa*-*' from the
836 2018-04-04 John David Anglin <danglin@gcc.gnu.org>
838 * MAINTAINERS: Update my e-mail address.
840 2018-04-04 Nick Clifton <nickc@redhat.com>
842 * MAINTAINERS: Move Jason Eckhardt to past maintainers section.
844 2018-03-23 Nick Clifton <nickc@redhat.com>
846 * readelf.c (get_symbol_for_build_attribute): Skip ARM mapping
848 (print_gnu_build_attribute_description): If no file start symbol
849 could be found, look for one two bytes into the file.
850 * testsuite/binutils-all/note-4-64.s: Set the address of the file
851 start symbol to two bytes into the file.
852 * testsuite/binutils-all/note-4-32.s: Likewise.
854 2018-03-21 H.J. Lu <hongjiu.lu@intel.com>
856 * readelf.c (process_dynamic_section): Also dump DF_1_KMOD,
857 DF_1_WEAKFILTER and DF_1_NOCOMMON.
859 2018-03-20 Nick Clifton <nickc@redhat.com>
861 * po/es.po: Updated Spanish translation.
862 * po/ru.po: Updated Russian translation.
864 2018-03-13 Nick Clifton <nickc@redhat.com>
867 * stabs.c (pop_binincl): Fail if the file index is off the end of
870 2018-03-13 Nick Clifton <nickc@redhat.com>
873 * stabs.c (parse_number): Add p_end parameter and use it to check
874 the validity of the pp parameter. Add checks to prevent walking
875 off the end of the string buffer.
876 (parse_stab_string): Likewise.
877 (parse_stab_type): Likewise.
878 (parse_stab_type_number): Likewise.
879 (parse_stab_range_type): Likewise.
880 (parse_stab_sun_builtin_type): Likewise.
881 (parse_stab_sun_floating_type): Likewise.
882 (parse_stab_enum_type): Likewise.
883 (parse_stab_struct_type): Likewise.
884 (parse_stab_baseclasses): Likewise.
885 (parse_stab_struct_fields): Likewise.
886 (parse_stab_cpp_abbrev): Likewise.
887 (parse_stab_one_struct_field): Likewise.
888 (parse_stab_members): Likewise.
889 (parse_stab_tilde_field): Likewise.
890 (parse_stab_array_type): Likewise.
892 * parse_stab: Compute the end of the string and then pass it on to
893 individual parser functions.
895 2018-03-07 Paul Pluzhnikov <ppluzhnikov@google.com>
898 * binutils/readelf.c (get_ver_flags): Expand buffer to avoid
901 2018-03-07 Alan Modra <amodra@gmail.com>
903 * configure.ac: Add objdump_private_desc_xcoff for rs6000.
904 * configure: Regenerate.
906 2018-03-05 H.J. Lu <hongjiu.lu@intel.com>
909 * objdump.c (is_significant_symbol_name): Return TRUE for all
911 (find_symbol_for_address): Replace linear search with binary
912 search on dynamic relocations.
914 2018-03-01 Nick Clifton <nickc@redhat.com>
917 * dwarf.c (display_debug_ranges): Check that the offset loaded
918 from the range_entry structure is valid.
920 2018-03-01 Alan Modra <amodra@gmail.com>
922 * configure.ac (ALL_LINGUAS): Add sr. Sort.
923 * configure: Regenerate.
925 2018-02-27 Nick Clifton <nickc@redhat.com>
927 * po/pt.po: New Portuguese translation.
928 * configure.ac (ALL_LINGUAS): Add pt.
929 * configure: Regenerate.
931 2018-02-27 Nick Clifton <nickc@redhat.com>
934 * objcopy.c (copy_object): Check the error status after marking
935 symbols used in relocations.
936 * testsuite/binutils-all/strip-13.s: New test source file.
937 * testsuite/binutils-all/strip-13.s: New test driver file.
938 * testsuite/binutils-all/objcopy.exp: Run the new test.
940 2018-02-26 Alan Modra <amodra@gmail.com>
942 * testsuite/binutils-all/mips/mips-reginfo-n32.d,
943 * testsuite/binutils-all/mips/mips-reginfo.d: Update.
945 2018-02-23 Alan Modra <amodra@gmail.com>
947 * testsuite/binutils-all/mips/mips-reginfo-n32.d,
948 * testsuite/binutils-all/mips/mips-reginfo.d: Update.
950 2018-02-20 Ronald Hoogenboom <hoogenboom30@zonnet.nl>
952 * doc/binutils.texi (objcopy): Add missing closing square
953 parenthesis to listing of objcopy's command line options.
955 2018-02-19 Matthias Klose <doko@debian.org>
957 * strings.c (long_options): Include-all-whitespace does not take
960 2018-02-13 Alan Modra <amodra@gmail.com>
963 * testsuite/binutils-all/group-7.s,
964 * testsuite/binutils-all/group-7a.d,
965 * testsuite/binutils-all/group-7b.d,
966 * testsuite/binutils-all/group-7c.d: New tests.
967 * testsuite/binutils-all/objcopy.exp: Run them.
969 2018-02-08 Nick Clifton <nickc@redhat.com>
972 * dwarf.c (load_separate_debug_file): Return early if the user is
973 not interested in debug links.
975 2018-02-06 Nick Clifton <nickc@redhat.com>
978 * readelf.c (find_section): Replace assertion with test and return
980 (find_section_by_address): Add test of section header table
982 (find_section_by_type): Likewise.
983 (find_section_in_set): Likewise.
985 2018-02-05 Maciej W. Rozycki <macro@mips.com>
987 * testsuite/binutils-all/mips/mips-reginfo.d: New test.
988 * testsuite/binutils-all/mips/mips-reginfo-n32.d: New test.
989 * testsuite/binutils-all/mips/mips-reginfo.s: New test source.
990 * testsuite/binutils-all/mips/mips.exp: Run the new tests.
992 2018-02-05 Maciej W. Rozycki <macro@mips.com>
994 * testsuite/config/default.exp (binutils_run): Document
995 `binutils_run_status'.
996 * testsuite/lib/utils-lib.exp (default_binutils_run): Likewise,
998 (run_dump_test): Add `error', `error_output', `warning' and
999 `warning_output' options. Update documentation accordingly.
1001 2018-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
1003 * dwarf.c (dwarf_regnames_riscv): New register name table.
1004 (init_dwarf_regnames_riscv): New function.
1005 (init_dwarf_regnames): Add call to initialise RiscV register
1007 * dwarf.h (init_dwarf_regnames_riscv): Declare.
1008 * objdump.c (dump_dwarf): Add call to initialise RiscV register
1011 2018-02-01 Alan Modra <amodra@gmail.com>
1014 * objdump.c (load_specific_debug_section): Check for overflow
1015 when adding one to section size for a string section terminator.
1017 2018-01-30 Nick Clifton <nickc@redhat.com>
1020 * doc/binutils.texi (nm): Update description to point out that
1021 zero-initialized values can also be shown as type B, b, S or s
1022 since they can be stored in the BSS section.
1024 2018-01-30 Alan Modra <amodra@gmail.com>
1026 * objcopy.c (merge_gnu_build_notes): Use (bfd_vma) -1 as
1027 "artificially large" end address.
1029 2018-01-28 Nick Clifton <nickc@redhat.com>
1031 * README-how-to-make-a-release: Add note about checking gpg key
1032 and the results of gnupload.
1034 2018-01-27 Nick Clifton <nickc@redhat.com>
1036 * README-how-to-make-a-release: Add details on how to actually
1039 2018-01-26 Nick Clifton <nickc@redhat.com>
1041 * README-how-to-make-a-release: Add more details on updating
1044 2018-01-22 Maciej W. Rozycki <macro@mips.com>
1046 * doc/binutils.texi (objcopy): Fix a typo in `--rename-section'
1049 2018-01-22 Maciej W. Rozycki <macro@mips.com>
1051 * MAINTAINERS: Update my company e-mail address.
1053 2018-01-22 Nick Clifton <nickc@redhat.com>
1055 * po/sv.po: Updated Swedish translation.
1057 2018-01-18 Nick Clifton <nickc@redhat.com>
1059 * po/bg.po: Updated Bulgarian translation.
1061 2018-01-16 Joel Brobecker <brobecker@adacore.com>
1063 * README-how-to-make-a-release: Add reminder to update the
1064 branch name in gdbadmin's crontab on sourceware.
1066 2018-01-16 Joel Brobecker <brobecker@adacore.com>
1068 * README-how-to-make-a-release: Remove trailing spaces.
1070 2018-01-16 Nick Clifton <nickc@redhat.com>
1072 * po/fr.po: Updated French translation.
1074 2018-01-15 Nick Clifton <nickc@redhat.com>
1076 * po/uk.po: Updated Ukranian translation.
1078 2018-01-13 Nick Clifton <nickc@redhat.com>
1080 * README-how-to-make-a-release: Update notes.
1081 * po/binutils.pot: Regenerated.
1083 2018-01-13 Nick Clifton <nickc@redhat.com>
1085 * configure: Regenerate.
1087 2018-01-13 Nick Clifton <nickc@redhat.com>
1089 2.30 branch created.
1090 * NEWS: Add marker for 2.30.
1092 2018-01-12 Nick Clifton <nickc@redhat.com>
1094 * README-how-to-make-a-release: Add notes on how to make the
1095 branch and prelease snapshot.
1096 * BRANCHES: Add binutils-2_29-branch.
1098 2018-01-10 Nick Clifton <nickc@redhat.com>
1100 * MAINTAINERS: Note that it is now the configure.ac file and not
1101 the configure.in file that needs to be kept in sync with gcc.
1102 Add a note about sending patches for libiberty to gcc.
1104 2018-01-03 Nick Clifton <nickc@redhat.com>
1106 * objcopy.c (merge_gnu_build_notes): Add cast to maximum address
1109 2018-01-03 Nick Clifton <nickc@redhat.com>
1111 * objcopy.c (objcopy_internal_note): New structure.
1112 (gap_exists): New function.
1113 (is_open_note): New function.
1114 (is_func_note): New function.
1115 (is_64bit): New function.
1116 (merge_gnu_build_notes): Handle v3 notes. Do not merge
1117 if there are relocations against the notes.
1118 * readelf.c (get_note_type): Use short names for build attribute
1120 (print_symbol_for_build_attribute): Rename to
1121 get_symbol_for_build_attribute. Returns the found symbol rather
1123 (print_gnu_build_attribute_description): Maintain address ranges
1124 for function notes as well as global notes. Handle v3 notes.
1125 (print_gnu_build_attribute_name): Use more space for printing the
1127 * testsuite/binutils-all/note-2-32.s: Use .dc.l instead of .word.
1128 Eliminate symbol references in order to remove the need for
1130 * testsuite/binutils-all/note-2-64.s: Likewise.
1131 * testsuite/binutils-all/note-3-32.s: Add a size to the note_1
1133 * testsuite/binutils-all/note-3-64.s: Likewise.
1134 * testsuite/binutils-all/mips/mips-note-2r-n32.d: Update expected
1136 * testsuite/binutils-all/mips/mips-note-2r-n64.d: Likewise.
1137 * testsuite/binutils-all/mips/mips-note-2r.d: Likewise.
1138 * testsuite/binutils-all/note-2-32.d: Likewise.
1139 * testsuite/binutils-all/note-2-64.d: Likewise.
1140 * testsuite/binutils-all/note-3-32.d: Likewise.
1141 * testsuite/binutils-all/note-3-64.d: Likewise.
1142 * testsuite/binutils-all/note-4-64.s: New test. Checks v3 notes.
1143 * testsuite/binutils-all/note-4-32.s: New test.
1144 * testsuite/binutils-all/note-4-64.d: New test result file.
1145 * testsuite/binutils-all/note-4-32.d: New test result file.
1147 2018-01-03 Alan Modra <amodra@gmail.com>
1149 Update year range in copyright notice of all files.
1151 For older changes see ChangeLog-2017
1153 Copyright (C) 2018 Free Software Foundation, Inc.
1155 Copying and distribution of this file, with or without modification,
1156 are permitted in any medium without royalty provided the copyright
1157 notice and this notice are preserved.
1163 version-control: never