1 2018-09-10 Alan Modra <amodra@gmail.com>
4 * objcopy.c (handle_remove_section_option): Consider .rela and
5 .rel sections for stripping directly as well as attached to the
6 associated section they relocate.
7 * doc/binutils.texi (remove-relocations): Specify that this
8 option removes non-dynamic relocation sections.
9 * testsuite/binutils-all/objcopy.exp
10 (objcopy_remove_relocations_from_executable): New test.
12 2018-09-03 Nick Clifton <nickc@redhat.com>
14 * po/ja.po: Updated Japanese translation.
16 2018-08-31 H.J. Lu <hongjiu.lu@intel.com>
18 * testsuite/binutils-all/readelf.s-64: Adjusted for
19 .note.gnu.property section.
20 * testsuite/binutils-all/strip-3.d: Also strip
21 .note.gnu.property section.
23 2018-08-31 H.J. Lu <hongjiu.lu@intel.com>
25 * testsuite/binutils-all/i386/compressed-1b.d: Pass
26 -mx86-used-note=no to assembler.
27 * testsuite/binutils-all/i386/compressed-1c.d: Likewise.
28 * testsuite/binutils-all/x86-64/compressed-1b.d: Likewise.
29 * testsuite/binutils-all/x86-64/compressed-1c.d: Likewise.
30 * testsuite/binutils-all/i386/empty.d: Pass -mx86-used-note=yes
31 to assembler and update expected output from "readelf -n".
32 * testsuite/binutils-all/i386/ibt.d: Likewise.
33 * testsuite/binutils-all/i386/pr21231a.d: Likewise.
34 * testsuite/binutils-all/i386/pr21231b.d: Likewise.
35 * testsuite/binutils-all/i386/shstk.d: Likewise.
36 * testsuite/binutils-all/x86-64/empty-x32.d: Likewise.
37 * testsuite/binutils-all/x86-64/empty.d: Likewise.
38 * testsuite/binutils-all/x86-64/ibt-x32.d: Likewise.
39 * testsuite/binutils-all/x86-64/ibt.d: Likewise.
40 * testsuite/binutils-all/x86-64/pr21231a.d: Likewise.
41 * testsuite/binutils-all/x86-64/pr21231b.d: Likewise.
42 * testsuite/binutils-all/x86-64/pr23494a-x32.d: Likewise.
43 * testsuite/binutils-all/x86-64/pr23494a.d: Likewise.
44 * testsuite/binutils-all/x86-64/pr23494b-x32.d: Likewise.
45 * testsuite/binutils-all/x86-64/pr23494b.d: Likewise.
46 * testsuite/binutils-all/x86-64/pr23494c-x32.d: Likewise.
47 * testsuite/binutils-all/x86-64/pr23494c.d: Likewise.
48 * testsuite/binutils-all/x86-64/pr23494d-x32.d: Likewise.
49 * testsuite/binutils-all/x86-64/pr23494d.d: Likewise.
50 * testsuite/binutils-all/x86-64/pr23494e-x32.d: Likewise.
51 * testsuite/binutils-all/x86-64/pr23494e.d: Likewise.
52 * testsuite/binutils-all/x86-64/shstk-x32.d: Likewise.
53 * testsuite/binutils-all/x86-64/shstk.d: Likewise.
55 2018-08-30 H.J. Lu <hongjiu.lu@intel.com>
57 * readelf.c (process_section_headers): Treat SHT_FINI_ARRAY and
58 SHT_PREINIT_ARRAY as relocatable sections.
60 2018-08-30 Chenghua Xu <paul.hua.gm@gmail.com>
62 * MAINTAINERS: Add myself as a MIPS port maintainer.
64 2018-08-29 Chenghua Xu <paul.hua.gm@gmail.com>
66 * NEWS: Mention Loongson 2K1000 proccessor support.
67 * readelf.c (get_machine_flags): Handle gs264e.
69 2018-08-29 Chenghua Xu <paul.hua.gm@gmail.com>
71 * NEWS: Mention Loongson 3A2000/3A3000 proccessor support.
72 * readelf.c (get_machine_flags): Handle gs464e.
74 2018-08-29 Chenghua Xu <paul.hua.gm@gmail.com>
76 * NEWS: Mention Loongson 3A1000 proccessor support.
77 * readelf.c (get_machine_flags): Rename loongson-3a to gs464.
78 (print_mips_isa_ext): Delete AFL_EXT_LOONGSON_3A.
80 2018-08-29 Chenghua Xu <paul.hua.gm@gmail.com>
82 * readelf.c (print_mips_ases): Add Loongson EXT2 extension.
84 2018-08-29 Chenghua Xu <paul.hua.gm@gmail.com>
86 * readelf.c (print_mips_ases): Add Loongson EXT extension.
88 2018-08-29 Chenghua Xu <paul.hua.gm@gmail.com>
90 * readelf.c (print_mips_ases): Add CAM extension.
92 2018-08-27 H.J. Lu <hongjiu.lu@intel.com>
94 * readelf.c (decode_x86_isa): Print <None> if bitmask only
95 contains the GNU_PROPERTY_X86_UINT32_VALID bit.
96 (decode_x86_feature_1): Likewise.
97 (decode_x86_feature_2): Likewise.
98 (print_gnu_property_note): Don't mask out the
99 GNU_PROPERTY_X86_UINT32_VALID bit.
100 * testsuite/binutils-all/i386/pr21231b.d: Updated.
101 * testsuite/binutils-all/x86-64/pr21231b.d: Likewise.
103 2018-08-27 H.J. Lu <hongjiu.lu@intel.com>
105 * readelf.c (decode_x86_compat_isa): Break multi-statement line.
106 (decode_x86_isa): Likewise.
107 (decode_x86_feature_2): Likewise.
109 2018-08-25 H.J. Lu <hongjiu.lu@intel.com>
112 * readelf.c (get_symbol_version_string): Return _("<corrupt>")
113 for corrupt symbol version info.
115 2018-08-24 H.J. Lu <hongjiu.lu@intel.com>
117 * readelf.c (decode_x86_compat_isa): New function.
118 (decode_x86_feature_2): Likewise.
119 (decode_x86_isa): Updated for new X86_ISA_1_XXX bits.
120 (decode_x86_feature): Renamed to ...
121 (decode_x86_feature_1): This. Remove the type argument.
122 (print_gnu_property_note): Handle X86_COMPAT_ISA_1_USED,
123 X86_COMPAT_ISA_1_NEEDED, X86_UINT32_AND_LO, X86_UINT32_AND_HI,
124 X86_UINT32_OR_LO, X86_UINT32_OR_HI, X86_UINT32_OR_AND_LO and
125 X86_UINT32_OR_AND_HI instead of X86_ISA_1_USED, X86_ISA_1_NEEDED
126 and X86_FEATURE_1_AND.
127 * testsuite/binutils-all/i386/pr21231b.s: Updated to the current
128 GNU_PROPERTY_X86_ISA_1_USED and GNU_PROPERTY_X86_ISA_1_NEEDED
130 * testsuite/binutils-all/x86-64/pr21231b.s: Likewise.
131 * testsuite/binutils-all/x86-64/pr23494a.s: Likewise.
132 * testsuite/binutils-all/x86-64/pr23494b.s: Likewise.
133 * testsuite/binutils-all/x86-64/pr23494c.s: Likewise.
134 * testsuite/binutils-all/i386/pr21231b.d: Updated.
135 * testsuite/binutils-all/x86-64/pr21231b.d: Likewise.
136 * testsuite/binutils-all/x86-64/pr23494a-x32.d: Likewise.
137 * testsuite/binutils-all/x86-64/pr23494a.d: Likewise.
138 * testsuite/binutils-all/x86-64/pr23494c-x32.d: Likewise.
139 * testsuite/binutils-all/x86-64/pr23494c.d: Likewise.
140 * testsuite/binutils-all/x86-64/pr23494d-x32.d: Likewise.
141 * testsuite/binutils-all/x86-64/pr23494d.d: Likewise.
142 * testsuite/binutils-all/x86-64/pr23494e-x32.d: Likewise.
143 * testsuite/binutils-all/x86-64/pr23494e.d: Likewise.
145 2018-08-24 H.J. Lu <hongjiu.lu@intel.com>
147 * readelf.c (print_gnu_property_note): Check the
148 GNU_PROPERTY_X86_UINT32_VALID bit for invalid GNU property note.
150 2018-08-23 Alan Modra <amodra@gmail.com>
152 * readelf.c (get_ppc64_symbol_other): Return NULL if st_other
153 field contains unrecognised or reserved values. Handle
156 2018-08-23 H.J. Lu <hongjiu.lu@intel.com>
159 * Makefile.am (development.exp): New target.
160 (EXTRA_DEJAGNU_SITE_CONFIG): New.
161 (DISTCLEANFILES): Add development.exp.
162 * Makefile.in: Regenerated.
163 * testsuite/binutils-all/objcopy.exp (strip_test): Call
164 prune_warnings to prune BFD output.
165 (strip_test_with_saving_a_symbol): Likewise.
166 (objcopy_test_without_global_symbol): Likewise.
167 * testsuite/lib/binutils-common.exp (prune_warnings_extra):
169 (prune_warnings): Likewise.
171 2018-08-23 H.J. Lu <hongjiu.lu@intel.com>
173 * README-how-to-make-a-release: Document setting "experimental"
176 2018-08-22 Alan Modra <amodra@gmail.com>
178 * readelf.c (process_file_header): Assign updated values from
179 section_header[0] fields to e_phnum, e_shnum and e_shstrndx
180 during printing of header. Correct e_shstrndx range check.
181 Remove unnecessary casts and use %u rather than %ld for
182 unsigned int header fields. Don't print a random %lx when
183 reporting an unknown EI_VERSION.
185 2018-08-21 Nick Clifton <nickc@redhat.com>
187 * MAINTAINERS: Note that Arnold Metselaar has retired as the z80
190 2018-08-21 L. Simon <l.simon@samsung.com>
193 * readelf.c (hppa_process_unwind): Only dump the unwind table if
194 the data was successfully read in.
196 2018-08-18 Alan Modra <amodra@gmail.com>
198 * testsuite/lib/binutils-common.exp (is_elf64): Use directory of
199 input file for readelf.out.
201 * testsuite/binutils-all/objcopy.exp (elf64): Set new variable
202 from first result of is_elf64 test.
203 (reloc_format): Set using is_rela.
204 (strip-13): Pass RELOC and ELF64 to assembler.
205 (strip-14, strip-15): Use elf64 rather than calling is_elf64 again.
206 * testsuite/binutils-all/strip-13.d: Run for more targets.
207 * testsuite/binutils-all/strip-13mips64.s: Use RELOC and set
209 * testsuite/binutils-all/strip-13rel.s: Use RELOC and ELF64.
210 Don't add _NONE reloc.
211 * testsuite/binutils-all/strip-13rela.s: Likewise.
213 2018-08-10 H.J. Lu <hongjiu.lu@intel.com>
216 * testsuite/binutils-all/x86-64/pr23494c.s: New file.
217 * testsuite/binutils-all/x86-64/pr23494e-x32.d: Likewise.
218 * testsuite/binutils-all/x86-64/pr23494e.d: Likewise.
220 2018-08-10 H.J. Lu <hongjiu.lu@intel.com>
222 * testsuite/binutils-all/x86-64/pr23494a-x32.d: Skip nacl
224 * testsuite/binutils-all/x86-64/pr23494a.d: Likewise.
225 * testsuite/binutils-all/x86-64/pr23494b-x32.d: Likewise.
226 * testsuite/binutils-all/x86-64/pr23494b.d: Likewise.
227 * testsuite/binutils-all/x86-64/pr23494c-x32.d: Likewise.
228 * testsuite/binutils-all/x86-64/pr23494c.d: Likewise.
229 * testsuite/binutils-all/x86-64/pr23494d-x32.d: Likewise.
230 * testsuite/binutils-all/x86-64/pr23494d.d: Likewise.
232 2018-08-08 H.J. Lu <hongjiu.lu@intel.com>
235 * testsuite/binutils-all/x86-64/pr23494a-x32.d: New file.
236 * testsuite/binutils-all/x86-64/pr23494a.d: Likewise.
237 * testsuite/binutils-all/x86-64/pr23494a.s: Likewise.
238 * testsuite/binutils-all/x86-64/pr23494b-x32.d: Likewise.
239 * testsuite/binutils-all/x86-64/pr23494b.d: Likewise.
240 * testsuite/binutils-all/x86-64/pr23494b.s: Likewise.
241 * testsuite/binutils-all/x86-64/pr23494c-x32.d: Likewise.
242 * testsuite/binutils-all/x86-64/pr23494c.d: Likewise.
243 * testsuite/binutils-all/x86-64/pr23494d-x32.d: Likewise.
244 * testsuite/binutils-all/x86-64/pr23494d.d: Likewise.
246 2018-08-08 Kevin Buettner <kevinb@redhat.com>
248 * dwarf.c (decode_location_expresion): Add case for
249 DW_OP_GNU_variable_value.
251 2018-08-06 Claudiu Zissulescu <claziss@synopsys.com>
253 * readelf.c (display_arc_attribute): Print Tag_ARC_ATR_version.
255 2018-08-03 Nick Clifton <nickc@redhat.com>
257 * objcopy.c (merge_gnu_build_notes): Delete empty notes. Merge
258 identical function notes.
260 2018-08-01 Nick Clifton <nickc@redhat.com>
262 * README-how-to-make-a-release: Add note about regenerating the
263 info files prior to the release.
265 2018-07-30 Andrew Jenner <andrew@codesourcery.com>
267 * MAINTAINERS (C-SKY): Add Yunhai Shang as co-maintainer.
269 2018-07-30 Andrew Jenner <andrew@codesourcery.com>
271 * MAINTAINERS (C-SKY): Add Lifang Xia as maintainer.
273 2018-07-30 Andrew Jenner <andrew@codesourcery.com>
275 * readelf.c: Include elf/csky.h.
276 (guess_is_rela): Handle EM_CSKY.
277 (dump_relocations): Likewise.
278 (get_machine_name): Likewise.
279 (is_32bit_abs_reloc): Likewise.
281 2018-07-25 Nick Clifton <nickc@redhat.com>
283 * rdcoff.c (parse_coff_struct_type): Free fields array upon early
285 (parse_coff_enum_type): Free names and vals arrays upon early
287 * rddbg.c (read_section_stabs_debugging_info): Free shandle and
288 strings and stabs arrays upon early exit.
289 * readelf.c (get_32bit_section_headers): Free shdrs structure upon
291 (get_64bit_section_headers): Likewise.
292 (get_32bit_elf_symbols): Generate an error if multiple symbol
293 table index sections are associated with the same symbol section.
294 (get_64bit_elf_symbols): Likewise.
295 (process_dynamic_section): Generate an error if there are multiple
296 dynamic symbol table sections, multiple dynamic string tables or
297 multiple dynamic symbol information sections.
299 2018-07-24 Nick Clifton <nickc@redhat.com>
301 * po/sv.po: Updated Swedish translation.
303 2018-07-24 Alan Modra <amodra@gmail.com>
306 * dwarf.c (display_formatted_table): Replace "what" parameter
307 with "is_dir". Expand messages. Fix capitalisation.
308 * testsuite/binutils-all/dw5.W: Update expected output.
310 2018-07-24 Alan Modra <amodra@gmail.com>
313 * elfcomm.h (struct archive_info): Rename uses_64bit_indicies
314 to uses_64bit_indices.
315 * elfcomm.c (setup_archive): Update uses of above.
316 * readelf.c (process_archive): Likewise.
317 (get_section_type_name): Rename indicies to indices.
318 (get_32bit_elf_symbols, get_64bit_elf_symbols): Likewise.
319 (process_section_groups): Likewise.
321 2018-07-20 Maciej W. Rozycki <macro@mips.com>
323 * MAINTAINERS: Update my e-mail address, downgrade to MIPS I-IV
326 2018-07-20 Nick Clifton <nickc@redhat.com>
328 * objcopy.c (add_specific_symbols): Free buffer on exit.
329 (add_redefine_syms_file): Close file handle on exit.
330 (copy_object): Close file handle on early exit.
331 Free buffer on early exit.
332 Free gaps buffers once they are no longer needed.
333 * dwarf.c (display_debug_frames): Free allocated memory on exit.
334 (load_separate_debug_info): Free allocate memory on early exit.
336 2018-07-20 Chenghua Xu <paul.hua.gm@gmail.com>
337 Maciej W. Rozycki <macro@mips.com>
339 * readelf.c (print_mips_ases): Add MMI extension.
341 2018-07-19 DJ Delorie <dj@redhat.com>
343 * MAINTAINERS (RL78, RX): Remove myself as maintainer.
345 2018-07-19 Nick Clifton <nickc@redhat.com>
347 * dwarf.c (read_cie): Free allocated memory before returning with
350 2018-07-16 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
352 * readelf.c (get_note_type): Fix typo in NT_PPC_TM_CVSX note
355 2018-07-16 Nick Clifton <nickc@redhat.com>
357 * README-how-to-make-a-release: Add note to check for new top
358 level files and add them to the src-release.sh script.
360 2018-07-14 Nick Clifton <nickc@redhat.com>
362 * README-how-to-make-a-release: Updated with corrections based on
363 the 2.31 release experience.
365 2018-07-12 Francois H. Theron <francois.theron@netronome.com>
367 * readelf.c (process_section_headers): Don't print section type
368 twice for --section-details.
370 2018-07-10 Alan Modra <amodra@gmail.com>
372 * testsuite/lib/binutils-common.exp (supports_gnu_unique): Return
375 2018-07-06 Nick Clifton <nickc@redhat.com>
377 * readelf.c (same_section): New function.
378 (print_gnu_build_attribute_description): Do not complain about
379 gaps that cross a section boundary.
381 2018-07-05 Nick Clifton <nickc@redhat.com>
383 * po/bg.po: Updated Bulgarian translation.
385 2018-07-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
387 * NEWS: Use command-line consistently when used in a compount word.
388 * doc/binutils.texi: Likewise and fix trailing whitespace on same
391 2018-06-26 Nick Clifton <nickc@redhat.com>
393 * po/sv.po: Updated Swedish translation.
394 * po/uk.po: Updated Ukranian translation.
396 2018-06-26 Nick Clifton <nickc@redhat.com>
398 * doc/binutils.texi: Fix spelling mistakes.
399 * README--how-to-make-a-release: Likewise.
401 2018-06-25 Tom Tromey <tom@tromey.com>
403 * dwarf-mode.el (dwarf-mode-syntax-table): New variable.
406 2018-06-24 Nick Clifton <nickc@redhat.com>
408 * README-how-to-make-a-release: Update with experiences from
410 * po/binutils.pot: Regenerate.
411 * configure: Regenerate.
413 2018-06-24 Nick Clifton <nickc@redhat.com>
416 * NEWS: Add marker for 2.31.
418 2018-06-21 Alan Modra <amodra@gmail.com>
420 * doc/Makefile.am (AUTOMAKE_OPTIONS): Add "foreign".
421 * doc/Makefile.in: Regenerate.
423 2018-06-19 Simon Marchi <simon.marchi@ericsson.com>
425 * configure.ac: Remove AC_PREREQ.
426 * doc/Makefile.am (AUTOMAKE_OPTIONS): Remove cygnus, add
427 info-in-builddir no-texinfo.tex.
428 * Makefile.in: Re-generate.
429 * aclocal.m4: Re-generate.
430 * config.in: Re-generate.
431 * configure: Re-generate.
432 * doc/Makefile.in: Re-generate.
434 2018-06-19 Andreas Schwab <schwab@suse.de>
436 * readelf.c (is_16bit_abs_reloc): Handle R_RISCV_SET16.
437 (is_8bit_abs_reloc): New function.
438 (is_6bit_abs_reloc): New function.
439 (is_6bit_inplace_sub_reloc): New function.
440 (apply_relocations): Use them. Handle 6-bit relocations.
442 2018-06-14 Faraz Shahbazker <Faraz.Shahbazker@mips.com>
444 * readelf.c (print_mips_ases): Add GINV extension.
446 2018-06-14 H.J. Lu <hongjiu.lu@intel.com>
449 * readelf.c (get_symbol_version_string): Check if the first
450 symbol version is base version.
452 2018-06-13 Scott Egerton <scott.egerton@imgtec.com>
453 Faraz Shahbazker <Faraz.Shahbazker@mips.com>
455 * readelf.c (print_mips_ases): Add CRC.
457 2018-06-13 Nick Clifton <nickc@redhat.com>
459 * doc/binutils.texi (objdump): Add missing closing square
460 parenthesis to listing of objcopy's command line options.
462 2018-06-11 Nick Clifton <nickc@redhat.com>
464 * po/es.po: Updated Spanish translation.
466 2018-06-01 H.J. Lu <hongjiu.lu@intel.com>
468 * configure: Regenerated.
470 2018-05-31 Alan Modra <amodra@gmail.com>
472 * testsuite/binutils-all/compress.exp (test_gnu_debuglink): Don't
473 set CC_FOR_TARGET. Run test non-native.
474 * testsuite/binutils-all/objdump.exp (test_build_id_debuglink):
476 (test_follow_debuglink): Run test non-native.
478 2018-05-30 Ant Bikeneev <ant.bikineev@gmail.com>
481 * ar.c (display_offsets): New variable.
482 (usage): Add description of 'O' operator.
483 (decode_option): Handle 'O' operator.
484 (print_descr): Pass display_offsets to print_arelt_descr.
485 * arsup.c: Update call to printy_arelt_descr.
486 * objdump.c: Likewise.
487 * bucomm.c (print_arelt_descr): If offsets parameter is true then
488 display offset of archive element within the archive.
489 * bucomm.h: Update prototype for print_arelt_descr.
490 * doc/binutils.texi: Update description of ar command.
491 * NEWS: Mention the new feature.
492 * testsuite/binutils-all/ar.exp: Add text of new feature.
494 2018-05-28 Alan Modra <amodra@gmail.com>
497 * testsuite/binutils-all/compress.exp (test_gnu_debuglink): Return
498 unsupported rather than fail on compile errors.
499 * testsuite/binutils-all/objdump.exp (test_build_id_debuglink):
500 Likewise. Save and restore CFLAGS_FOR_TARGET.
502 2018-05-18 Kito Cheng <kito.cheng@gmail.com>
504 * readelf.c (get_machine_flags): Handle EF_RISCV_RVE.
506 2018-05-18 John Darrington <john@darrington.wattle.id.au>
508 * readelf.c: Add support for s12z architecture.
509 * testsuite/lib/binutils-common.exp (is_elf_format): Excluse s12z
512 2018-05-15 Tamar Christina <tamar.christina@arm.com>
515 * doc/binutils.texi (-M): Document AArch64 options.
517 2018-05-15 Tamar Christina <tamar.christina@arm.com>
520 * doc/binutils.texi (-M): Document AArch64 options.
521 * NEWS: Document notes and warnings.
523 2018-05-15 Alan Modra <amodra@gmail.com>
525 * testsuite/lib/binutils-common.exp (is_elf_format): Add chorus,
526 cloudabi, fuchsia, kaos and nto. Merge netbsdelf* into *elf*,
527 and *uclinux* into *linux*.
528 * testsuite/binutils-all/objcopy.exp: Accept armeb for rel
529 strip-13 test, exclude arm-vxworks and arm-windiss.
531 2018-05-10 John Darrington <john@darrington.wattle.id.au>
533 * readelf.c (get_machine_name): EM_S12Z - handle new case.
535 2018-05-09 Alan Modra <amodra@gmail.com>
537 * od-macho.c (dump_unwind_encoding_x86): Fix typo in last patch.
539 2018-05-09 Sebastian Rasmussen <sebras@gmail.com>
541 * od-macho.c (dump_unwind_encoding_x86): Adjust for macro renaming.
543 2018-05-08 Alan Modra <amodra@gmail.com>
546 * objcopy.c (is_strip_section): Strip groups without a valid
549 2018-05-07 Alan Modra <amodra@gmail.com>
552 * objcopy.c (group_signature): Don't accept groups that use a
553 symbol table other than the one we've read.
555 2018-04-30 Francois H. Theron <francois.theron@netronome.com>
557 * readelf.c: Very basic support for EM_NFP and its section types.
558 * testsuite/binutils-all/nfp: New directory.
559 * testsuite/binutils-all/nfp/objdump.exp: New file. Run new
561 * testsuite/binutils-all/nfp/test2_ctx8.d: New file.
562 * testsuite/binutils-all/nfp/test2_no-pc_ctx4.d: New file.
563 * testsuite/binutils-all/nfp/test1.d: New file.
564 * testsuite/binutils-all/nfp/nfp6000.nffw: New file.
565 * testsuite/binutils-all/nfp/test2_nfp6000.nffw: New file.
566 * NEWS: Mention the new support.
568 2018-04-27 Maciej W. Rozycki <macro@mips.com>
570 * testsuite/lib/binutils-common.exp (match_target): New procedure.
571 * testsuite/lib/utils-lib.exp (run_dump_test): Use it in place
572 of `istarget' for matching with `target', `not-target', `skip'
573 and `not-skip' options.
575 2018-04-26 Nick Clifton <nickc@redhat.com>
577 * readelf.c (is_32bit_abs_reloc): Support R_PARISC_DIR32 as a
578 32-bit absolute reloc for the HPPA target.
579 * testsuite/binutils-all/note-5.d: New test.
580 * testsuite/binutils-all/note-5.s: Source file for new test.
581 * testsuite/binutils-all/objcopy.exp: Run new test.
583 2018-04-25 Christophe Lyon <christophe.lyon@st.com>
585 * testsuite/binutils-all/elfedit-2.d: Accept arm*-*-uclinuxfdpiceabi.
586 * testsuite/binutils-all/elfedit-3.d: Likewise.
587 * testsuite/binutils-all/objcopy.exp: Likewise.
588 * testsuite/binutils-all/strip-3.d: Likewise.
589 * testsuite/lib/binutils-common.exp: Likewise.
591 2018-04-25 Christophe Lyon <christophe.lyon@st.com>
592 Mickaël Guêné <mickael.guene@st.com>
594 * readelf.c (decode_ARM_machine_flags): Support EF_ARM_PIC.
595 (get_osabi_name): Support ELFOSABI_ARM_FDPIC.
597 2018-04-25 Alan Modra <amodra@gmail.com>
599 * testsuite/binutils-all/arm/objdump.exp: Remove arm-aout and
601 * testsuite/binutils-all/objcopy.exp: Likewise.
602 * testsuite/lib/binutils-common.exp: Likewise.
604 2018-04-18 Nick Clifton <nickc@redhat.com>
607 * dwarf.c (read_and_display_attr_value): Replace assertions with
608 test and warning message.
610 2018-04-18 Alan Modra <amodra@gmail.com>
612 * testsuite/lib/binutils-common.exp: Remove support for assorted
615 2018-04-17 Nick Clifton <nickc@redhat.com>
618 * readelf.c (print_symbol): If the width is zero, return straight
622 * dwarf.c (process_cu_tu_index): Test for a potential buffer
623 overrun before copying signature pointer.
625 2018-04-17 Alan Modra <amodra@gmail.com>
627 * readelf.c: Revert 2018-04-16 and 2018-04-11 changes.
629 2018-04-16 Alan Modra <amodra@gmail.com>
631 * readelf.c (get_machine_name): Correct typo.
633 2018-04-16 Alan Modra <amodra@gmail.com>
635 * configure.ac: Remove arm-epoc-pe support.
636 * dlltool.c: Likewise.
637 * configure: Regenerate.
639 2018-04-16 Alan Modra <amodra@gmail.com>
641 * testsuite/lib/binutils-common.exp: Remove sparc-aout and
644 2018-04-16 Alan Modra <amodra@gmail.com>
646 * testsuite/binutils-all/copy-2.d: Remove m68k-aout and m68k-coff
648 * testsuite/binutils-all/copy-3.d: Likewise.
649 * testsuite/binutils-all/objcopy.exp: Likewise.
650 * testsuite/lib/binutils-common.exp: Likewise.
652 2018-04-16 Alan Modra <amodra@gmail.com>
654 * testsuite/binutils-all/objcopy.exp: Remove sh5 and sh64 support.
656 2018-04-16 Alan Modra <amodra@gmail.com>
658 * testsuite/binutils-all/objcopy.exp: Remove w65 support.
660 2018-04-16 Alan Modra <amodra@gmail.com>
662 * testsuite/binutils-all/objdump.exp: Remove we32k support.
664 2018-04-16 Alan Modra <amodra@gmail.com>
666 * MAINTAINERS (Mark Kettenis): Move to past maintainers.
667 * testsuite/binutils-all/objdump.exp: Remove m88k support.
669 2018-04-16 Alan Modra <amodra@gmail.com>
671 * readelf.c: Remove i370 support.
672 * testsuite/binutils-all/objdump.exp: Likewise.
674 2018-04-16 Alan Modra <amodra@gmail.com>
676 * testsuite/binutils-all/objcopy.exp: Remove h8500 support.
677 * testsuite/lib/binutils-common.exp: Likewise.
679 2018-04-16 Alan Modra <amodra@gmail.com>
681 * testsuite/binutils-all/objcopy.exp: Remove h8300-coff support.
683 2018-04-16 Alan Modra <amodra@gmail.com>
685 * Makefile.am: Remove IEEE 695 support.
687 * doc/binutils.texi: Likewise.
688 * makefile.vms: Likewise.
689 * objcopy.c: Likewise.
690 * objdump.c: Likewise.
693 * Makefile.in: Regenerate.
694 * po/POTFILES.in: Regenerate.
696 2018-04-16 Alan Modra <amodra@gmail.com>
698 * testsuite/binutils-all/copy-2.d: Remove newsos3 support.
699 * testsuite/binutils-all/nm.exp: Likewise.
701 2018-04-16 Alan Modra <amodra@gmail.com>
703 * .gitignore: Remove netware support.
704 * Makefile.am: Likewise.
705 * configure.ac: Likewise.
706 * doc/Makefile.am: Likewise.
707 * doc/binutils.texi: Likewise.
708 * testsuite/binutils-all/nm.exp: Likewise.
711 * nlmheader.y: Delete.
712 * Makefile.in: Regenerate.
713 * configure: Regenerate.
714 * doc/Makefile.in: Regenerate.
715 * po/POTFILES.in: Regenerate.
717 2018-04-16 Alan Modra <amodra@gmail.com>
719 * testsuite/binutils-all/objdump.exp: Remove tahoe support.
721 2018-04-14 Alan Modra <amodra@gmail.com>
723 * readelf.c (get_machine_name): Revert 2018-04-11 change.
725 2018-04-12 Nick Clifton <nickc@redhat.com>
728 * readelf.c (process_dynamic_section): Correct dynamic string
729 table size calculation.
731 2018-04-11 Alan Modra <amodra@gmail.com>
733 * ieee.c: Remove i960 support.
734 * od-macho.c: Remove i860 support.
735 * readelf.c: Remove i860 and i960 support.
736 * testsuite/binutils-all/objcopy.exp: Likewise.
737 * testsuite/binutils-all/objdump.exp: Likewise.
738 * testsuite/lib/binutils-common.exp: Likewise.
740 2018-04-11 Maciej W. Rozycki <macro@mips.com>
742 * testsuite/lib/binutils-common.exp (is_elf_format): Also return
743 1 for `*-*-lynxos*' and `*-*-symbianelf*' targets.
745 2018-04-10 Alan Modra <amodra@gmail.com>
747 * testsuite/binutils-all/objcopy.exp (strip-14, strip-15): Choose
748 reloc=11 for pru and reloc=50 for nds32.
749 * testsuite/binutils-all/strip-15.d: Accept 0xb reloc number.
751 2018-04-09 Maciej W. Rozycki <macro@mips.com>
753 * testsuite/binutils-all/strip-15.d: New test.
754 * testsuite/binutils-all/strip-15rel.s: New test source.
755 * testsuite/binutils-all/strip-15rela.s: New test source.
756 * testsuite/binutils-all/strip-15mips64.s: New test source.
757 * testsuite/binutils-all/objcopy.exp: Run the new test.
759 2018-04-09 Maciej W. Rozycki <macro@mips.com>
761 * testsuite/binutils-all/strip-14.d: New test.
762 * testsuite/binutils-all/strip-14rel.s: New test source.
763 * testsuite/binutils-all/strip-14rela.s: New test source.
764 * testsuite/binutils-all/strip-14mips64.s: New test source.
765 * testsuite/binutils-all/objcopy.exp: Run the new test.
767 2018-04-06 Tom Tromey <tom@tromey.com>
769 * dwarf.c (read_and_display_attr_value): Add missing DW_LANG
770 constants from DWARF 5.
772 2018-04-05 H.J. Lu <hongjiu.lu@intel.com>
775 * configure: Regenerated.
777 2018-04-05 Maciej W. Rozycki <macro@mips.com>
779 * testsuite/binutils-all/strip-13mips64.s: Use `.dc.l' rather
780 than `.dc.w' in second relocation.
782 2018-04-05 Maciej W. Rozycki <macro@mips.com>
784 * testsuite/binutils-all/strip-13.d: Also expect `unsupported
785 relocation type 0x8f' error message.
787 2018-04-05 Maciej W. Rozycki <macro@mips.com>
789 * testsuite/binutils-all/strip-13.s: Rename to...
790 * testsuite/binutils-all/strip-13rela.s: ... this.
791 * testsuite/binutils-all/strip-13rel.s: New test source.
792 * testsuite/binutils-all/strip-13mips64.s: New test source.
793 * testsuite/binutils-all/strip-13.d: Remove `arm-*', `d10v-*',
794 `dlx-*' and `xgate-*' from `not-target' list. Add `m6811-*' and
795 `m68hc11-*' to `not-target' list.
796 * testsuite/binutils-all/objcopy.exp: Switch between sources for
799 2018-04-05 Maciej W. Rozycki <macro@mips.com>
801 * testsuite/binutils-all/strip-13.s: Use 143 (0x8f) rather than
802 241 (0xf1) for the relocation number and RELA addend.
803 * testsuite/binutils-all/strip-13.d: Remove `hppa*-*' from the
806 2018-04-04 John David Anglin <danglin@gcc.gnu.org>
808 * MAINTAINERS: Update my e-mail address.
810 2018-04-04 Nick Clifton <nickc@redhat.com>
812 * MAINTAINERS: Move Jason Eckhardt to past maintainers section.
814 2018-03-23 Nick Clifton <nickc@redhat.com>
816 * readelf.c (get_symbol_for_build_attribute): Skip ARM mapping
818 (print_gnu_build_attribute_description): If no file start symbol
819 could be found, look for one two bytes into the file.
820 * testsuite/binutils-all/note-4-64.s: Set the address of the file
821 start symbol to two bytes into the file.
822 * testsuite/binutils-all/note-4-32.s: Likewise.
824 2018-03-21 H.J. Lu <hongjiu.lu@intel.com>
826 * readelf.c (process_dynamic_section): Also dump DF_1_KMOD,
827 DF_1_WEAKFILTER and DF_1_NOCOMMON.
829 2018-03-20 Nick Clifton <nickc@redhat.com>
831 * po/es.po: Updated Spanish translation.
832 * po/ru.po: Updated Russian translation.
834 2018-03-13 Nick Clifton <nickc@redhat.com>
837 * stabs.c (pop_binincl): Fail if the file index is off the end of
840 2018-03-13 Nick Clifton <nickc@redhat.com>
843 * stabs.c (parse_number): Add p_end parameter and use it to check
844 the validity of the pp parameter. Add checks to prevent walking
845 off the end of the string buffer.
846 (parse_stab_string): Likewise.
847 (parse_stab_type): Likewise.
848 (parse_stab_type_number): Likewise.
849 (parse_stab_range_type): Likewise.
850 (parse_stab_sun_builtin_type): Likewise.
851 (parse_stab_sun_floating_type): Likewise.
852 (parse_stab_enum_type): Likewise.
853 (parse_stab_struct_type): Likewise.
854 (parse_stab_baseclasses): Likewise.
855 (parse_stab_struct_fields): Likewise.
856 (parse_stab_cpp_abbrev): Likewise.
857 (parse_stab_one_struct_field): Likewise.
858 (parse_stab_members): Likewise.
859 (parse_stab_tilde_field): Likewise.
860 (parse_stab_array_type): Likewise.
862 * parse_stab: Compute the end of the string and then pass it on to
863 individual parser functions.
865 2018-03-07 Paul Pluzhnikov <ppluzhnikov@google.com>
868 * binutils/readelf.c (get_ver_flags): Expand buffer to avoid
871 2018-03-07 Alan Modra <amodra@gmail.com>
873 * configure.ac: Add objdump_private_desc_xcoff for rs6000.
874 * configure: Regenerate.
876 2018-03-05 H.J. Lu <hongjiu.lu@intel.com>
879 * objdump.c (is_significant_symbol_name): Return TRUE for all
881 (find_symbol_for_address): Replace linear search with binary
882 search on dynamic relocations.
884 2018-03-01 Nick Clifton <nickc@redhat.com>
887 * dwarf.c (display_debug_ranges): Check that the offset loaded
888 from the range_entry structure is valid.
890 2018-03-01 Alan Modra <amodra@gmail.com>
892 * configure.ac (ALL_LINGUAS): Add sr. Sort.
893 * configure: Regenerate.
895 2018-02-27 Nick Clifton <nickc@redhat.com>
897 * po/pt.po: New Portuguese translation.
898 * configure.ac (ALL_LINGUAS): Add pt.
899 * configure: Regenerate.
901 2018-02-27 Nick Clifton <nickc@redhat.com>
904 * objcopy.c (copy_object): Check the error status after marking
905 symbols used in relocations.
906 * testsuite/binutils-all/strip-13.s: New test source file.
907 * testsuite/binutils-all/strip-13.s: New test driver file.
908 * testsuite/binutils-all/objcopy.exp: Run the new test.
910 2018-02-26 Alan Modra <amodra@gmail.com>
912 * testsuite/binutils-all/mips/mips-reginfo-n32.d,
913 * testsuite/binutils-all/mips/mips-reginfo.d: Update.
915 2018-02-23 Alan Modra <amodra@gmail.com>
917 * testsuite/binutils-all/mips/mips-reginfo-n32.d,
918 * testsuite/binutils-all/mips/mips-reginfo.d: Update.
920 2018-02-20 Ronald Hoogenboom <hoogenboom30@zonnet.nl>
922 * doc/binutils.texi (objcopy): Add missing closing square
923 parenthesis to listing of objcopy's command line options.
925 2018-02-19 Matthias Klose <doko@debian.org>
927 * strings.c (long_options): Include-all-whitespace does not take
930 2018-02-13 Alan Modra <amodra@gmail.com>
933 * testsuite/binutils-all/group-7.s,
934 * testsuite/binutils-all/group-7a.d,
935 * testsuite/binutils-all/group-7b.d,
936 * testsuite/binutils-all/group-7c.d: New tests.
937 * testsuite/binutils-all/objcopy.exp: Run them.
939 2018-02-08 Nick Clifton <nickc@redhat.com>
942 * dwarf.c (load_separate_debug_file): Return early if the user is
943 not interested in debug links.
945 2018-02-06 Nick Clifton <nickc@redhat.com>
948 * readelf.c (find_section): Replace assertion with test and return
950 (find_section_by_address): Add test of section header table
952 (find_section_by_type): Likewise.
953 (find_section_in_set): Likewise.
955 2018-02-05 Maciej W. Rozycki <macro@mips.com>
957 * testsuite/binutils-all/mips/mips-reginfo.d: New test.
958 * testsuite/binutils-all/mips/mips-reginfo-n32.d: New test.
959 * testsuite/binutils-all/mips/mips-reginfo.s: New test source.
960 * testsuite/binutils-all/mips/mips.exp: Run the new tests.
962 2018-02-05 Maciej W. Rozycki <macro@mips.com>
964 * testsuite/config/default.exp (binutils_run): Document
965 `binutils_run_status'.
966 * testsuite/lib/utils-lib.exp (default_binutils_run): Likewise,
968 (run_dump_test): Add `error', `error_output', `warning' and
969 `warning_output' options. Update documentation accordingly.
971 2018-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
973 * dwarf.c (dwarf_regnames_riscv): New register name table.
974 (init_dwarf_regnames_riscv): New function.
975 (init_dwarf_regnames): Add call to initialise RiscV register
977 * dwarf.h (init_dwarf_regnames_riscv): Declare.
978 * objdump.c (dump_dwarf): Add call to initialise RiscV register
981 2018-02-01 Alan Modra <amodra@gmail.com>
984 * objdump.c (load_specific_debug_section): Check for overflow
985 when adding one to section size for a string section terminator.
987 2018-01-30 Nick Clifton <nickc@redhat.com>
990 * doc/binutils.texi (nm): Update description to point out that
991 zero-initialized values can also be shown as type B, b, S or s
992 since they can be stored in the BSS section.
994 2018-01-30 Alan Modra <amodra@gmail.com>
996 * objcopy.c (merge_gnu_build_notes): Use (bfd_vma) -1 as
997 "artificially large" end address.
999 2018-01-28 Nick Clifton <nickc@redhat.com>
1001 * README-how-to-make-a-release: Add note about checking gpg key
1002 and the results of gnupload.
1004 2018-01-27 Nick Clifton <nickc@redhat.com>
1006 * README-how-to-make-a-release: Add details on how to actually
1009 2018-01-26 Nick Clifton <nickc@redhat.com>
1011 * README-how-to-make-a-release: Add more details on updating
1014 2018-01-22 Maciej W. Rozycki <macro@mips.com>
1016 * doc/binutils.texi (objcopy): Fix a typo in `--rename-section'
1019 2018-01-22 Maciej W. Rozycki <macro@mips.com>
1021 * MAINTAINERS: Update my company e-mail address.
1023 2018-01-22 Nick Clifton <nickc@redhat.com>
1025 * po/sv.po: Updated Swedish translation.
1027 2018-01-18 Nick Clifton <nickc@redhat.com>
1029 * po/bg.po: Updated Bulgarian translation.
1031 2018-01-16 Joel Brobecker <brobecker@adacore.com>
1033 * README-how-to-make-a-release: Add reminder to update the
1034 branch name in gdbadmin's crontab on sourceware.
1036 2018-01-16 Joel Brobecker <brobecker@adacore.com>
1038 * README-how-to-make-a-release: Remove trailing spaces.
1040 2018-01-16 Nick Clifton <nickc@redhat.com>
1042 * po/fr.po: Updated French translation.
1044 2018-01-15 Nick Clifton <nickc@redhat.com>
1046 * po/uk.po: Updated Ukranian translation.
1048 2018-01-13 Nick Clifton <nickc@redhat.com>
1050 * README-how-to-make-a-release: Update notes.
1051 * po/binutils.pot: Regenerated.
1053 2018-01-13 Nick Clifton <nickc@redhat.com>
1055 * configure: Regenerate.
1057 2018-01-13 Nick Clifton <nickc@redhat.com>
1059 2.30 branch created.
1060 * NEWS: Add marker for 2.30.
1062 2018-01-12 Nick Clifton <nickc@redhat.com>
1064 * README-how-to-make-a-release: Add notes on how to make the
1065 branch and prelease snapshot.
1066 * BRANCHES: Add binutils-2_29-branch.
1068 2018-01-10 Nick Clifton <nickc@redhat.com>
1070 * MAINTAINERS: Note that it is now the configure.ac file and not
1071 the configure.in file that needs to be kept in sync with gcc.
1072 Add a note about sending patches for libiberty to gcc.
1074 2018-01-03 Nick Clifton <nickc@redhat.com>
1076 * objcopy.c (merge_gnu_build_notes): Add cast to maximum address
1079 2018-01-03 Nick Clifton <nickc@redhat.com>
1081 * objcopy.c (objcopy_internal_note): New structure.
1082 (gap_exists): New function.
1083 (is_open_note): New function.
1084 (is_func_note): New function.
1085 (is_64bit): New function.
1086 (merge_gnu_build_notes): Handle v3 notes. Do not merge
1087 if there are relocations against the notes.
1088 * readelf.c (get_note_type): Use short names for build attribute
1090 (print_symbol_for_build_attribute): Rename to
1091 get_symbol_for_build_attribute. Returns the found symbol rather
1093 (print_gnu_build_attribute_description): Maintain address ranges
1094 for function notes as well as global notes. Handle v3 notes.
1095 (print_gnu_build_attribute_name): Use more space for printing the
1097 * testsuite/binutils-all/note-2-32.s: Use .dc.l instead of .word.
1098 Eliminate symbol references in order to remove the need for
1100 * testsuite/binutils-all/note-2-64.s: Likewise.
1101 * testsuite/binutils-all/note-3-32.s: Add a size to the note_1
1103 * testsuite/binutils-all/note-3-64.s: Likewise.
1104 * testsuite/binutils-all/mips/mips-note-2r-n32.d: Update expected
1106 * testsuite/binutils-all/mips/mips-note-2r-n64.d: Likewise.
1107 * testsuite/binutils-all/mips/mips-note-2r.d: Likewise.
1108 * testsuite/binutils-all/note-2-32.d: Likewise.
1109 * testsuite/binutils-all/note-2-64.d: Likewise.
1110 * testsuite/binutils-all/note-3-32.d: Likewise.
1111 * testsuite/binutils-all/note-3-64.d: Likewise.
1112 * testsuite/binutils-all/note-4-64.s: New test. Checks v3 notes.
1113 * testsuite/binutils-all/note-4-32.s: New test.
1114 * testsuite/binutils-all/note-4-64.d: New test result file.
1115 * testsuite/binutils-all/note-4-32.d: New test result file.
1117 2018-01-03 Alan Modra <amodra@gmail.com>
1119 Update year range in copyright notice of all files.
1121 For older changes see ChangeLog-2017
1123 Copyright (C) 2018 Free Software Foundation, Inc.
1125 Copying and distribution of this file, with or without modification,
1126 are permitted in any medium without royalty provided the copyright
1127 notice and this notice are preserved.
1133 version-control: never