1 2018-08-24 H.J. Lu <hongjiu.lu@intel.com>
3 * readelf.c (print_gnu_property_note): Check the
4 GNU_PROPERTY_X86_UINT32_VALID bit for invalid GNU property note.
6 2018-08-23 Alan Modra <amodra@gmail.com>
8 * readelf.c (get_ppc64_symbol_other): Return NULL if st_other
9 field contains unrecognised or reserved values. Handle
12 2018-08-23 H.J. Lu <hongjiu.lu@intel.com>
15 * Makefile.am (development.exp): New target.
16 (EXTRA_DEJAGNU_SITE_CONFIG): New.
17 (DISTCLEANFILES): Add development.exp.
18 * Makefile.in: Regenerated.
19 * testsuite/binutils-all/objcopy.exp (strip_test): Call
20 prune_warnings to prune BFD output.
21 (strip_test_with_saving_a_symbol): Likewise.
22 (objcopy_test_without_global_symbol): Likewise.
23 * testsuite/lib/binutils-common.exp (prune_warnings_extra):
25 (prune_warnings): Likewise.
27 2018-08-23 H.J. Lu <hongjiu.lu@intel.com>
29 * README-how-to-make-a-release: Document setting "experimental"
32 2018-08-22 Alan Modra <amodra@gmail.com>
34 * readelf.c (process_file_header): Assign updated values from
35 section_header[0] fields to e_phnum, e_shnum and e_shstrndx
36 during printing of header. Correct e_shstrndx range check.
37 Remove unnecessary casts and use %u rather than %ld for
38 unsigned int header fields. Don't print a random %lx when
39 reporting an unknown EI_VERSION.
41 2018-08-21 Nick Clifton <nickc@redhat.com>
43 * MAINTAINERS: Note that Arnold Metselaar has retired as the z80
46 2018-08-21 L. Simon <l.simon@samsung.com>
49 * readelf.c (hppa_process_unwind): Only dump the unwind table if
50 the data was successfully read in.
52 2018-08-18 Alan Modra <amodra@gmail.com>
54 * testsuite/lib/binutils-common.exp (is_elf64): Use directory of
55 input file for readelf.out.
57 * testsuite/binutils-all/objcopy.exp (elf64): Set new variable
58 from first result of is_elf64 test.
59 (reloc_format): Set using is_rela.
60 (strip-13): Pass RELOC and ELF64 to assembler.
61 (strip-14, strip-15): Use elf64 rather than calling is_elf64 again.
62 * testsuite/binutils-all/strip-13.d: Run for more targets.
63 * testsuite/binutils-all/strip-13mips64.s: Use RELOC and set
65 * testsuite/binutils-all/strip-13rel.s: Use RELOC and ELF64.
66 Don't add _NONE reloc.
67 * testsuite/binutils-all/strip-13rela.s: Likewise.
69 2018-08-10 H.J. Lu <hongjiu.lu@intel.com>
72 * testsuite/binutils-all/x86-64/pr23494c.s: New file.
73 * testsuite/binutils-all/x86-64/pr23494e-x32.d: Likewise.
74 * testsuite/binutils-all/x86-64/pr23494e.d: Likewise.
76 2018-08-10 H.J. Lu <hongjiu.lu@intel.com>
78 * testsuite/binutils-all/x86-64/pr23494a-x32.d: Skip nacl
80 * testsuite/binutils-all/x86-64/pr23494a.d: Likewise.
81 * testsuite/binutils-all/x86-64/pr23494b-x32.d: Likewise.
82 * testsuite/binutils-all/x86-64/pr23494b.d: Likewise.
83 * testsuite/binutils-all/x86-64/pr23494c-x32.d: Likewise.
84 * testsuite/binutils-all/x86-64/pr23494c.d: Likewise.
85 * testsuite/binutils-all/x86-64/pr23494d-x32.d: Likewise.
86 * testsuite/binutils-all/x86-64/pr23494d.d: Likewise.
88 2018-08-08 H.J. Lu <hongjiu.lu@intel.com>
91 * testsuite/binutils-all/x86-64/pr23494a-x32.d: New file.
92 * testsuite/binutils-all/x86-64/pr23494a.d: Likewise.
93 * testsuite/binutils-all/x86-64/pr23494a.s: Likewise.
94 * testsuite/binutils-all/x86-64/pr23494b-x32.d: Likewise.
95 * testsuite/binutils-all/x86-64/pr23494b.d: Likewise.
96 * testsuite/binutils-all/x86-64/pr23494b.s: Likewise.
97 * testsuite/binutils-all/x86-64/pr23494c-x32.d: Likewise.
98 * testsuite/binutils-all/x86-64/pr23494c.d: Likewise.
99 * testsuite/binutils-all/x86-64/pr23494d-x32.d: Likewise.
100 * testsuite/binutils-all/x86-64/pr23494d.d: Likewise.
102 2018-08-08 Kevin Buettner <kevinb@redhat.com>
104 * dwarf.c (decode_location_expresion): Add case for
105 DW_OP_GNU_variable_value.
107 2018-08-06 Claudiu Zissulescu <claziss@synopsys.com>
109 * readelf.c (display_arc_attribute): Print Tag_ARC_ATR_version.
111 2018-08-03 Nick Clifton <nickc@redhat.com>
113 * objcopy.c (merge_gnu_build_notes): Delete empty notes. Merge
114 identical function notes.
116 2018-08-01 Nick Clifton <nickc@redhat.com>
118 * README-how-to-make-a-release: Add note about regenerating the
119 info files prior to the release.
121 2018-07-30 Andrew Jenner <andrew@codesourcery.com>
123 * MAINTAINERS (C-SKY): Add Yunhai Shang as co-maintainer.
125 2018-07-30 Andrew Jenner <andrew@codesourcery.com>
127 * MAINTAINERS (C-SKY): Add Lifang Xia as maintainer.
129 2018-07-30 Andrew Jenner <andrew@codesourcery.com>
131 * readelf.c: Include elf/csky.h.
132 (guess_is_rela): Handle EM_CSKY.
133 (dump_relocations): Likewise.
134 (get_machine_name): Likewise.
135 (is_32bit_abs_reloc): Likewise.
137 2018-07-25 Nick Clifton <nickc@redhat.com>
139 * rdcoff.c (parse_coff_struct_type): Free fields array upon early
141 (parse_coff_enum_type): Free names and vals arrays upon early
143 * rddbg.c (read_section_stabs_debugging_info): Free shandle and
144 strings and stabs arrays upon early exit.
145 * readelf.c (get_32bit_section_headers): Free shdrs structure upon
147 (get_64bit_section_headers): Likewise.
148 (get_32bit_elf_symbols): Generate an error if multiple symbol
149 table index sections are associated with the same symbol section.
150 (get_64bit_elf_symbols): Likewise.
151 (process_dynamic_section): Generate an error if there are multiple
152 dynamic symbol table sections, multiple dynamic string tables or
153 multiple dynamic symbol information sections.
155 2018-07-24 Nick Clifton <nickc@redhat.com>
157 * po/sv.po: Updated Swedish translation.
159 2018-07-24 Alan Modra <amodra@gmail.com>
162 * dwarf.c (display_formatted_table): Replace "what" parameter
163 with "is_dir". Expand messages. Fix capitalisation.
164 * testsuite/binutils-all/dw5.W: Update expected output.
166 2018-07-24 Alan Modra <amodra@gmail.com>
169 * elfcomm.h (struct archive_info): Rename uses_64bit_indicies
170 to uses_64bit_indices.
171 * elfcomm.c (setup_archive): Update uses of above.
172 * readelf.c (process_archive): Likewise.
173 (get_section_type_name): Rename indicies to indices.
174 (get_32bit_elf_symbols, get_64bit_elf_symbols): Likewise.
175 (process_section_groups): Likewise.
177 2018-07-20 Maciej W. Rozycki <macro@mips.com>
179 * MAINTAINERS: Update my e-mail address, downgrade to MIPS I-IV
182 2018-07-20 Nick Clifton <nickc@redhat.com>
184 * objcopy.c (add_specific_symbols): Free buffer on exit.
185 (add_redefine_syms_file): Close file handle on exit.
186 (copy_object): Close file handle on early exit.
187 Free buffer on early exit.
188 Free gaps buffers once they are no longer needed.
189 * dwarf.c (display_debug_frames): Free allocated memory on exit.
190 (load_separate_debug_info): Free allocate memory on early exit.
192 2018-07-20 Chenghua Xu <paul.hua.gm@gmail.com>
193 Maciej W. Rozycki <macro@mips.com>
195 * readelf.c (print_mips_ases): Add MMI extension.
197 2018-07-19 DJ Delorie <dj@redhat.com>
199 * MAINTAINERS (RL78, RX): Remove myself as maintainer.
201 2018-07-19 Nick Clifton <nickc@redhat.com>
203 * dwarf.c (read_cie): Free allocated memory before returning with
206 2018-07-16 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
208 * readelf.c (get_note_type): Fix typo in NT_PPC_TM_CVSX note
211 2018-07-16 Nick Clifton <nickc@redhat.com>
213 * README-how-to-make-a-release: Add note to check for new top
214 level files and add them to the src-release.sh script.
216 2018-07-14 Nick Clifton <nickc@redhat.com>
218 * README-how-to-make-a-release: Updated with corrections based on
219 the 2.31 release experience.
221 2018-07-12 Francois H. Theron <francois.theron@netronome.com>
223 * readelf.c (process_section_headers): Don't print section type
224 twice for --section-details.
226 2018-07-10 Alan Modra <amodra@gmail.com>
228 * testsuite/lib/binutils-common.exp (supports_gnu_unique): Return
231 2018-07-06 Nick Clifton <nickc@redhat.com>
233 * readelf.c (same_section): New function.
234 (print_gnu_build_attribute_description): Do not complain about
235 gaps that cross a section boundary.
237 2018-07-05 Nick Clifton <nickc@redhat.com>
239 * po/bg.po: Updated Bulgarian translation.
241 2018-07-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
243 * NEWS: Use command-line consistently when used in a compount word.
244 * doc/binutils.texi: Likewise and fix trailing whitespace on same
247 2018-06-26 Nick Clifton <nickc@redhat.com>
249 * po/sv.po: Updated Swedish translation.
250 * po/uk.po: Updated Ukranian translation.
252 2018-06-26 Nick Clifton <nickc@redhat.com>
254 * doc/binutils.texi: Fix spelling mistakes.
255 * README--how-to-make-a-release: Likewise.
257 2018-06-25 Tom Tromey <tom@tromey.com>
259 * dwarf-mode.el (dwarf-mode-syntax-table): New variable.
262 2018-06-24 Nick Clifton <nickc@redhat.com>
264 * README-how-to-make-a-release: Update with experiences from
266 * po/binutils.pot: Regenerate.
267 * configure: Regenerate.
269 2018-06-24 Nick Clifton <nickc@redhat.com>
272 * NEWS: Add marker for 2.31.
274 2018-06-21 Alan Modra <amodra@gmail.com>
276 * doc/Makefile.am (AUTOMAKE_OPTIONS): Add "foreign".
277 * doc/Makefile.in: Regenerate.
279 2018-06-19 Simon Marchi <simon.marchi@ericsson.com>
281 * configure.ac: Remove AC_PREREQ.
282 * doc/Makefile.am (AUTOMAKE_OPTIONS): Remove cygnus, add
283 info-in-builddir no-texinfo.tex.
284 * Makefile.in: Re-generate.
285 * aclocal.m4: Re-generate.
286 * config.in: Re-generate.
287 * configure: Re-generate.
288 * doc/Makefile.in: Re-generate.
290 2018-06-19 Andreas Schwab <schwab@suse.de>
292 * readelf.c (is_16bit_abs_reloc): Handle R_RISCV_SET16.
293 (is_8bit_abs_reloc): New function.
294 (is_6bit_abs_reloc): New function.
295 (is_6bit_inplace_sub_reloc): New function.
296 (apply_relocations): Use them. Handle 6-bit relocations.
298 2018-06-14 Faraz Shahbazker <Faraz.Shahbazker@mips.com>
300 * readelf.c (print_mips_ases): Add GINV extension.
302 2018-06-14 H.J. Lu <hongjiu.lu@intel.com>
305 * readelf.c (get_symbol_version_string): Check if the first
306 symbol version is base version.
308 2018-06-13 Scott Egerton <scott.egerton@imgtec.com>
309 Faraz Shahbazker <Faraz.Shahbazker@mips.com>
311 * readelf.c (print_mips_ases): Add CRC.
313 2018-06-13 Nick Clifton <nickc@redhat.com>
315 * doc/binutils.texi (objdump): Add missing closing square
316 parenthesis to listing of objcopy's command line options.
318 2018-06-11 Nick Clifton <nickc@redhat.com>
320 * po/es.po: Updated Spanish translation.
322 2018-06-01 H.J. Lu <hongjiu.lu@intel.com>
324 * configure: Regenerated.
326 2018-05-31 Alan Modra <amodra@gmail.com>
328 * testsuite/binutils-all/compress.exp (test_gnu_debuglink): Don't
329 set CC_FOR_TARGET. Run test non-native.
330 * testsuite/binutils-all/objdump.exp (test_build_id_debuglink):
332 (test_follow_debuglink): Run test non-native.
334 2018-05-30 Ant Bikeneev <ant.bikineev@gmail.com>
337 * ar.c (display_offsets): New variable.
338 (usage): Add description of 'O' operator.
339 (decode_option): Handle 'O' operator.
340 (print_descr): Pass display_offsets to print_arelt_descr.
341 * arsup.c: Update call to printy_arelt_descr.
342 * objdump.c: Likewise.
343 * bucomm.c (print_arelt_descr): If offsets parameter is true then
344 display offset of archive element within the archive.
345 * bucomm.h: Update prototype for print_arelt_descr.
346 * doc/binutils.texi: Update description of ar command.
347 * NEWS: Mention the new feature.
348 * testsuite/binutils-all/ar.exp: Add text of new feature.
350 2018-05-28 Alan Modra <amodra@gmail.com>
353 * testsuite/binutils-all/compress.exp (test_gnu_debuglink): Return
354 unsupported rather than fail on compile errors.
355 * testsuite/binutils-all/objdump.exp (test_build_id_debuglink):
356 Likewise. Save and restore CFLAGS_FOR_TARGET.
358 2018-05-18 Kito Cheng <kito.cheng@gmail.com>
360 * readelf.c (get_machine_flags): Handle EF_RISCV_RVE.
362 2018-05-18 John Darrington <john@darrington.wattle.id.au>
364 * readelf.c: Add support for s12z architecture.
365 * testsuite/lib/binutils-common.exp (is_elf_format): Excluse s12z
368 2018-05-15 Tamar Christina <tamar.christina@arm.com>
371 * doc/binutils.texi (-M): Document AArch64 options.
373 2018-05-15 Tamar Christina <tamar.christina@arm.com>
376 * doc/binutils.texi (-M): Document AArch64 options.
377 * NEWS: Document notes and warnings.
379 2018-05-15 Alan Modra <amodra@gmail.com>
381 * testsuite/lib/binutils-common.exp (is_elf_format): Add chorus,
382 cloudabi, fuchsia, kaos and nto. Merge netbsdelf* into *elf*,
383 and *uclinux* into *linux*.
384 * testsuite/binutils-all/objcopy.exp: Accept armeb for rel
385 strip-13 test, exclude arm-vxworks and arm-windiss.
387 2018-05-10 John Darrington <john@darrington.wattle.id.au>
389 * readelf.c (get_machine_name): EM_S12Z - handle new case.
391 2018-05-09 Alan Modra <amodra@gmail.com>
393 * od-macho.c (dump_unwind_encoding_x86): Fix typo in last patch.
395 2018-05-09 Sebastian Rasmussen <sebras@gmail.com>
397 * od-macho.c (dump_unwind_encoding_x86): Adjust for macro renaming.
399 2018-05-08 Alan Modra <amodra@gmail.com>
402 * objcopy.c (is_strip_section): Strip groups without a valid
405 2018-05-07 Alan Modra <amodra@gmail.com>
408 * objcopy.c (group_signature): Don't accept groups that use a
409 symbol table other than the one we've read.
411 2018-04-30 Francois H. Theron <francois.theron@netronome.com>
413 * readelf.c: Very basic support for EM_NFP and its section types.
414 * testsuite/binutils-all/nfp: New directory.
415 * testsuite/binutils-all/nfp/objdump.exp: New file. Run new
417 * testsuite/binutils-all/nfp/test2_ctx8.d: New file.
418 * testsuite/binutils-all/nfp/test2_no-pc_ctx4.d: New file.
419 * testsuite/binutils-all/nfp/test1.d: New file.
420 * testsuite/binutils-all/nfp/nfp6000.nffw: New file.
421 * testsuite/binutils-all/nfp/test2_nfp6000.nffw: New file.
422 * NEWS: Mention the new support.
424 2018-04-27 Maciej W. Rozycki <macro@mips.com>
426 * testsuite/lib/binutils-common.exp (match_target): New procedure.
427 * testsuite/lib/utils-lib.exp (run_dump_test): Use it in place
428 of `istarget' for matching with `target', `not-target', `skip'
429 and `not-skip' options.
431 2018-04-26 Nick Clifton <nickc@redhat.com>
433 * readelf.c (is_32bit_abs_reloc): Support R_PARISC_DIR32 as a
434 32-bit absolute reloc for the HPPA target.
435 * testsuite/binutils-all/note-5.d: New test.
436 * testsuite/binutils-all/note-5.s: Source file for new test.
437 * testsuite/binutils-all/objcopy.exp: Run new test.
439 2018-04-25 Christophe Lyon <christophe.lyon@st.com>
441 * testsuite/binutils-all/elfedit-2.d: Accept arm*-*-uclinuxfdpiceabi.
442 * testsuite/binutils-all/elfedit-3.d: Likewise.
443 * testsuite/binutils-all/objcopy.exp: Likewise.
444 * testsuite/binutils-all/strip-3.d: Likewise.
445 * testsuite/lib/binutils-common.exp: Likewise.
447 2018-04-25 Christophe Lyon <christophe.lyon@st.com>
448 Mickaël Guêné <mickael.guene@st.com>
450 * readelf.c (decode_ARM_machine_flags): Support EF_ARM_PIC.
451 (get_osabi_name): Support ELFOSABI_ARM_FDPIC.
453 2018-04-25 Alan Modra <amodra@gmail.com>
455 * testsuite/binutils-all/arm/objdump.exp: Remove arm-aout and
457 * testsuite/binutils-all/objcopy.exp: Likewise.
458 * testsuite/lib/binutils-common.exp: Likewise.
460 2018-04-18 Nick Clifton <nickc@redhat.com>
463 * dwarf.c (read_and_display_attr_value): Replace assertions with
464 test and warning message.
466 2018-04-18 Alan Modra <amodra@gmail.com>
468 * testsuite/lib/binutils-common.exp: Remove support for assorted
471 2018-04-17 Nick Clifton <nickc@redhat.com>
474 * readelf.c (print_symbol): If the width is zero, return straight
478 * dwarf.c (process_cu_tu_index): Test for a potential buffer
479 overrun before copying signature pointer.
481 2018-04-17 Alan Modra <amodra@gmail.com>
483 * readelf.c: Revert 2018-04-16 and 2018-04-11 changes.
485 2018-04-16 Alan Modra <amodra@gmail.com>
487 * readelf.c (get_machine_name): Correct typo.
489 2018-04-16 Alan Modra <amodra@gmail.com>
491 * configure.ac: Remove arm-epoc-pe support.
492 * dlltool.c: Likewise.
493 * configure: Regenerate.
495 2018-04-16 Alan Modra <amodra@gmail.com>
497 * testsuite/lib/binutils-common.exp: Remove sparc-aout and
500 2018-04-16 Alan Modra <amodra@gmail.com>
502 * testsuite/binutils-all/copy-2.d: Remove m68k-aout and m68k-coff
504 * testsuite/binutils-all/copy-3.d: Likewise.
505 * testsuite/binutils-all/objcopy.exp: Likewise.
506 * testsuite/lib/binutils-common.exp: Likewise.
508 2018-04-16 Alan Modra <amodra@gmail.com>
510 * testsuite/binutils-all/objcopy.exp: Remove sh5 and sh64 support.
512 2018-04-16 Alan Modra <amodra@gmail.com>
514 * testsuite/binutils-all/objcopy.exp: Remove w65 support.
516 2018-04-16 Alan Modra <amodra@gmail.com>
518 * testsuite/binutils-all/objdump.exp: Remove we32k support.
520 2018-04-16 Alan Modra <amodra@gmail.com>
522 * MAINTAINERS (Mark Kettenis): Move to past maintainers.
523 * testsuite/binutils-all/objdump.exp: Remove m88k support.
525 2018-04-16 Alan Modra <amodra@gmail.com>
527 * readelf.c: Remove i370 support.
528 * testsuite/binutils-all/objdump.exp: Likewise.
530 2018-04-16 Alan Modra <amodra@gmail.com>
532 * testsuite/binutils-all/objcopy.exp: Remove h8500 support.
533 * testsuite/lib/binutils-common.exp: Likewise.
535 2018-04-16 Alan Modra <amodra@gmail.com>
537 * testsuite/binutils-all/objcopy.exp: Remove h8300-coff support.
539 2018-04-16 Alan Modra <amodra@gmail.com>
541 * Makefile.am: Remove IEEE 695 support.
543 * doc/binutils.texi: Likewise.
544 * makefile.vms: Likewise.
545 * objcopy.c: Likewise.
546 * objdump.c: Likewise.
549 * Makefile.in: Regenerate.
550 * po/POTFILES.in: Regenerate.
552 2018-04-16 Alan Modra <amodra@gmail.com>
554 * testsuite/binutils-all/copy-2.d: Remove newsos3 support.
555 * testsuite/binutils-all/nm.exp: Likewise.
557 2018-04-16 Alan Modra <amodra@gmail.com>
559 * .gitignore: Remove netware support.
560 * Makefile.am: Likewise.
561 * configure.ac: Likewise.
562 * doc/Makefile.am: Likewise.
563 * doc/binutils.texi: Likewise.
564 * testsuite/binutils-all/nm.exp: Likewise.
567 * nlmheader.y: Delete.
568 * Makefile.in: Regenerate.
569 * configure: Regenerate.
570 * doc/Makefile.in: Regenerate.
571 * po/POTFILES.in: Regenerate.
573 2018-04-16 Alan Modra <amodra@gmail.com>
575 * testsuite/binutils-all/objdump.exp: Remove tahoe support.
577 2018-04-14 Alan Modra <amodra@gmail.com>
579 * readelf.c (get_machine_name): Revert 2018-04-11 change.
581 2018-04-12 Nick Clifton <nickc@redhat.com>
584 * readelf.c (process_dynamic_section): Correct dynamic string
585 table size calculation.
587 2018-04-11 Alan Modra <amodra@gmail.com>
589 * ieee.c: Remove i960 support.
590 * od-macho.c: Remove i860 support.
591 * readelf.c: Remove i860 and i960 support.
592 * testsuite/binutils-all/objcopy.exp: Likewise.
593 * testsuite/binutils-all/objdump.exp: Likewise.
594 * testsuite/lib/binutils-common.exp: Likewise.
596 2018-04-11 Maciej W. Rozycki <macro@mips.com>
598 * testsuite/lib/binutils-common.exp (is_elf_format): Also return
599 1 for `*-*-lynxos*' and `*-*-symbianelf*' targets.
601 2018-04-10 Alan Modra <amodra@gmail.com>
603 * testsuite/binutils-all/objcopy.exp (strip-14, strip-15): Choose
604 reloc=11 for pru and reloc=50 for nds32.
605 * testsuite/binutils-all/strip-15.d: Accept 0xb reloc number.
607 2018-04-09 Maciej W. Rozycki <macro@mips.com>
609 * testsuite/binutils-all/strip-15.d: New test.
610 * testsuite/binutils-all/strip-15rel.s: New test source.
611 * testsuite/binutils-all/strip-15rela.s: New test source.
612 * testsuite/binutils-all/strip-15mips64.s: New test source.
613 * testsuite/binutils-all/objcopy.exp: Run the new test.
615 2018-04-09 Maciej W. Rozycki <macro@mips.com>
617 * testsuite/binutils-all/strip-14.d: New test.
618 * testsuite/binutils-all/strip-14rel.s: New test source.
619 * testsuite/binutils-all/strip-14rela.s: New test source.
620 * testsuite/binutils-all/strip-14mips64.s: New test source.
621 * testsuite/binutils-all/objcopy.exp: Run the new test.
623 2018-04-06 Tom Tromey <tom@tromey.com>
625 * dwarf.c (read_and_display_attr_value): Add missing DW_LANG
626 constants from DWARF 5.
628 2018-04-05 H.J. Lu <hongjiu.lu@intel.com>
631 * configure: Regenerated.
633 2018-04-05 Maciej W. Rozycki <macro@mips.com>
635 * testsuite/binutils-all/strip-13mips64.s: Use `.dc.l' rather
636 than `.dc.w' in second relocation.
638 2018-04-05 Maciej W. Rozycki <macro@mips.com>
640 * testsuite/binutils-all/strip-13.d: Also expect `unsupported
641 relocation type 0x8f' error message.
643 2018-04-05 Maciej W. Rozycki <macro@mips.com>
645 * testsuite/binutils-all/strip-13.s: Rename to...
646 * testsuite/binutils-all/strip-13rela.s: ... this.
647 * testsuite/binutils-all/strip-13rel.s: New test source.
648 * testsuite/binutils-all/strip-13mips64.s: New test source.
649 * testsuite/binutils-all/strip-13.d: Remove `arm-*', `d10v-*',
650 `dlx-*' and `xgate-*' from `not-target' list. Add `m6811-*' and
651 `m68hc11-*' to `not-target' list.
652 * testsuite/binutils-all/objcopy.exp: Switch between sources for
655 2018-04-05 Maciej W. Rozycki <macro@mips.com>
657 * testsuite/binutils-all/strip-13.s: Use 143 (0x8f) rather than
658 241 (0xf1) for the relocation number and RELA addend.
659 * testsuite/binutils-all/strip-13.d: Remove `hppa*-*' from the
662 2018-04-04 John David Anglin <danglin@gcc.gnu.org>
664 * MAINTAINERS: Update my e-mail address.
666 2018-04-04 Nick Clifton <nickc@redhat.com>
668 * MAINTAINERS: Move Jason Eckhardt to past maintainers section.
670 2018-03-23 Nick Clifton <nickc@redhat.com>
672 * readelf.c (get_symbol_for_build_attribute): Skip ARM mapping
674 (print_gnu_build_attribute_description): If no file start symbol
675 could be found, look for one two bytes into the file.
676 * testsuite/binutils-all/note-4-64.s: Set the address of the file
677 start symbol to two bytes into the file.
678 * testsuite/binutils-all/note-4-32.s: Likewise.
680 2018-03-21 H.J. Lu <hongjiu.lu@intel.com>
682 * readelf.c (process_dynamic_section): Also dump DF_1_KMOD,
683 DF_1_WEAKFILTER and DF_1_NOCOMMON.
685 2018-03-20 Nick Clifton <nickc@redhat.com>
687 * po/es.po: Updated Spanish translation.
688 * po/ru.po: Updated Russian translation.
690 2018-03-13 Nick Clifton <nickc@redhat.com>
693 * stabs.c (pop_binincl): Fail if the file index is off the end of
696 2018-03-13 Nick Clifton <nickc@redhat.com>
699 * stabs.c (parse_number): Add p_end parameter and use it to check
700 the validity of the pp parameter. Add checks to prevent walking
701 off the end of the string buffer.
702 (parse_stab_string): Likewise.
703 (parse_stab_type): Likewise.
704 (parse_stab_type_number): Likewise.
705 (parse_stab_range_type): Likewise.
706 (parse_stab_sun_builtin_type): Likewise.
707 (parse_stab_sun_floating_type): Likewise.
708 (parse_stab_enum_type): Likewise.
709 (parse_stab_struct_type): Likewise.
710 (parse_stab_baseclasses): Likewise.
711 (parse_stab_struct_fields): Likewise.
712 (parse_stab_cpp_abbrev): Likewise.
713 (parse_stab_one_struct_field): Likewise.
714 (parse_stab_members): Likewise.
715 (parse_stab_tilde_field): Likewise.
716 (parse_stab_array_type): Likewise.
718 * parse_stab: Compute the end of the string and then pass it on to
719 individual parser functions.
721 2018-03-07 Paul Pluzhnikov <ppluzhnikov@google.com>
724 * binutils/readelf.c (get_ver_flags): Expand buffer to avoid
727 2018-03-07 Alan Modra <amodra@gmail.com>
729 * configure.ac: Add objdump_private_desc_xcoff for rs6000.
730 * configure: Regenerate.
732 2018-03-05 H.J. Lu <hongjiu.lu@intel.com>
735 * objdump.c (is_significant_symbol_name): Return TRUE for all
737 (find_symbol_for_address): Replace linear search with binary
738 search on dynamic relocations.
740 2018-03-01 Nick Clifton <nickc@redhat.com>
743 * dwarf.c (display_debug_ranges): Check that the offset loaded
744 from the range_entry structure is valid.
746 2018-03-01 Alan Modra <amodra@gmail.com>
748 * configure.ac (ALL_LINGUAS): Add sr. Sort.
749 * configure: Regenerate.
751 2018-02-27 Nick Clifton <nickc@redhat.com>
753 * po/pt.po: New Portuguese translation.
754 * configure.ac (ALL_LINGUAS): Add pt.
755 * configure: Regenerate.
757 2018-02-27 Nick Clifton <nickc@redhat.com>
760 * objcopy.c (copy_object): Check the error status after marking
761 symbols used in relocations.
762 * testsuite/binutils-all/strip-13.s: New test source file.
763 * testsuite/binutils-all/strip-13.s: New test driver file.
764 * testsuite/binutils-all/objcopy.exp: Run the new test.
766 2018-02-26 Alan Modra <amodra@gmail.com>
768 * testsuite/binutils-all/mips/mips-reginfo-n32.d,
769 * testsuite/binutils-all/mips/mips-reginfo.d: Update.
771 2018-02-23 Alan Modra <amodra@gmail.com>
773 * testsuite/binutils-all/mips/mips-reginfo-n32.d,
774 * testsuite/binutils-all/mips/mips-reginfo.d: Update.
776 2018-02-20 Ronald Hoogenboom <hoogenboom30@zonnet.nl>
778 * doc/binutils.texi (objcopy): Add missing closing square
779 parenthesis to listing of objcopy's command line options.
781 2018-02-19 Matthias Klose <doko@debian.org>
783 * strings.c (long_options): Include-all-whitespace does not take
786 2018-02-13 Alan Modra <amodra@gmail.com>
789 * testsuite/binutils-all/group-7.s,
790 * testsuite/binutils-all/group-7a.d,
791 * testsuite/binutils-all/group-7b.d,
792 * testsuite/binutils-all/group-7c.d: New tests.
793 * testsuite/binutils-all/objcopy.exp: Run them.
795 2018-02-08 Nick Clifton <nickc@redhat.com>
798 * dwarf.c (load_separate_debug_file): Return early if the user is
799 not interested in debug links.
801 2018-02-06 Nick Clifton <nickc@redhat.com>
804 * readelf.c (find_section): Replace assertion with test and return
806 (find_section_by_address): Add test of section header table
808 (find_section_by_type): Likewise.
809 (find_section_in_set): Likewise.
811 2018-02-05 Maciej W. Rozycki <macro@mips.com>
813 * testsuite/binutils-all/mips/mips-reginfo.d: New test.
814 * testsuite/binutils-all/mips/mips-reginfo-n32.d: New test.
815 * testsuite/binutils-all/mips/mips-reginfo.s: New test source.
816 * testsuite/binutils-all/mips/mips.exp: Run the new tests.
818 2018-02-05 Maciej W. Rozycki <macro@mips.com>
820 * testsuite/config/default.exp (binutils_run): Document
821 `binutils_run_status'.
822 * testsuite/lib/utils-lib.exp (default_binutils_run): Likewise,
824 (run_dump_test): Add `error', `error_output', `warning' and
825 `warning_output' options. Update documentation accordingly.
827 2018-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
829 * dwarf.c (dwarf_regnames_riscv): New register name table.
830 (init_dwarf_regnames_riscv): New function.
831 (init_dwarf_regnames): Add call to initialise RiscV register
833 * dwarf.h (init_dwarf_regnames_riscv): Declare.
834 * objdump.c (dump_dwarf): Add call to initialise RiscV register
837 2018-02-01 Alan Modra <amodra@gmail.com>
840 * objdump.c (load_specific_debug_section): Check for overflow
841 when adding one to section size for a string section terminator.
843 2018-01-30 Nick Clifton <nickc@redhat.com>
846 * doc/binutils.texi (nm): Update description to point out that
847 zero-initialized values can also be shown as type B, b, S or s
848 since they can be stored in the BSS section.
850 2018-01-30 Alan Modra <amodra@gmail.com>
852 * objcopy.c (merge_gnu_build_notes): Use (bfd_vma) -1 as
853 "artificially large" end address.
855 2018-01-28 Nick Clifton <nickc@redhat.com>
857 * README-how-to-make-a-release: Add note about checking gpg key
858 and the results of gnupload.
860 2018-01-27 Nick Clifton <nickc@redhat.com>
862 * README-how-to-make-a-release: Add details on how to actually
865 2018-01-26 Nick Clifton <nickc@redhat.com>
867 * README-how-to-make-a-release: Add more details on updating
870 2018-01-22 Maciej W. Rozycki <macro@mips.com>
872 * doc/binutils.texi (objcopy): Fix a typo in `--rename-section'
875 2018-01-22 Maciej W. Rozycki <macro@mips.com>
877 * MAINTAINERS: Update my company e-mail address.
879 2018-01-22 Nick Clifton <nickc@redhat.com>
881 * po/sv.po: Updated Swedish translation.
883 2018-01-18 Nick Clifton <nickc@redhat.com>
885 * po/bg.po: Updated Bulgarian translation.
887 2018-01-16 Joel Brobecker <brobecker@adacore.com>
889 * README-how-to-make-a-release: Add reminder to update the
890 branch name in gdbadmin's crontab on sourceware.
892 2018-01-16 Joel Brobecker <brobecker@adacore.com>
894 * README-how-to-make-a-release: Remove trailing spaces.
896 2018-01-16 Nick Clifton <nickc@redhat.com>
898 * po/fr.po: Updated French translation.
900 2018-01-15 Nick Clifton <nickc@redhat.com>
902 * po/uk.po: Updated Ukranian translation.
904 2018-01-13 Nick Clifton <nickc@redhat.com>
906 * README-how-to-make-a-release: Update notes.
907 * po/binutils.pot: Regenerated.
909 2018-01-13 Nick Clifton <nickc@redhat.com>
911 * configure: Regenerate.
913 2018-01-13 Nick Clifton <nickc@redhat.com>
916 * NEWS: Add marker for 2.30.
918 2018-01-12 Nick Clifton <nickc@redhat.com>
920 * README-how-to-make-a-release: Add notes on how to make the
921 branch and prelease snapshot.
922 * BRANCHES: Add binutils-2_29-branch.
924 2018-01-10 Nick Clifton <nickc@redhat.com>
926 * MAINTAINERS: Note that it is now the configure.ac file and not
927 the configure.in file that needs to be kept in sync with gcc.
928 Add a note about sending patches for libiberty to gcc.
930 2018-01-03 Nick Clifton <nickc@redhat.com>
932 * objcopy.c (merge_gnu_build_notes): Add cast to maximum address
935 2018-01-03 Nick Clifton <nickc@redhat.com>
937 * objcopy.c (objcopy_internal_note): New structure.
938 (gap_exists): New function.
939 (is_open_note): New function.
940 (is_func_note): New function.
941 (is_64bit): New function.
942 (merge_gnu_build_notes): Handle v3 notes. Do not merge
943 if there are relocations against the notes.
944 * readelf.c (get_note_type): Use short names for build attribute
946 (print_symbol_for_build_attribute): Rename to
947 get_symbol_for_build_attribute. Returns the found symbol rather
949 (print_gnu_build_attribute_description): Maintain address ranges
950 for function notes as well as global notes. Handle v3 notes.
951 (print_gnu_build_attribute_name): Use more space for printing the
953 * testsuite/binutils-all/note-2-32.s: Use .dc.l instead of .word.
954 Eliminate symbol references in order to remove the need for
956 * testsuite/binutils-all/note-2-64.s: Likewise.
957 * testsuite/binutils-all/note-3-32.s: Add a size to the note_1
959 * testsuite/binutils-all/note-3-64.s: Likewise.
960 * testsuite/binutils-all/mips/mips-note-2r-n32.d: Update expected
962 * testsuite/binutils-all/mips/mips-note-2r-n64.d: Likewise.
963 * testsuite/binutils-all/mips/mips-note-2r.d: Likewise.
964 * testsuite/binutils-all/note-2-32.d: Likewise.
965 * testsuite/binutils-all/note-2-64.d: Likewise.
966 * testsuite/binutils-all/note-3-32.d: Likewise.
967 * testsuite/binutils-all/note-3-64.d: Likewise.
968 * testsuite/binutils-all/note-4-64.s: New test. Checks v3 notes.
969 * testsuite/binutils-all/note-4-32.s: New test.
970 * testsuite/binutils-all/note-4-64.d: New test result file.
971 * testsuite/binutils-all/note-4-32.d: New test result file.
973 2018-01-03 Alan Modra <amodra@gmail.com>
975 Update year range in copyright notice of all files.
977 For older changes see ChangeLog-2017
979 Copyright (C) 2018 Free Software Foundation, Inc.
981 Copying and distribution of this file, with or without modification,
982 are permitted in any medium without royalty provided the copyright
983 notice and this notice are preserved.
989 version-control: never