1 2018-11-13 Francois H. Theron <francois.theron@netronome.com>
3 * testsuite/binutils-all/nfp/test1.d: Test for swapped operand crc[].
6 2018-11-09 Hafiz Abid Qadeer <abidh@codesourcery.com>
8 * configure: Regenerate.
10 2018-11-09 Mathias <m4tze@exitno.de>
12 * strings.c (print_strings): Check for multibyte encodings.
13 * binutils-all/strings-1.bin: New file. Test binary for string decoding.
14 * testsuite/binutils-all/strings.exp: New file. Test the strings program.
15 * testsuite/config/default.exp (STRINGS): Define if not provided
17 (STRINGSFLAGS): Likewise.
19 2018-11-07 Masatake Yamato <yamato@redhat.com>
21 * objdump.c (long_options): Have the --disassemble option take an
23 (usage): Add description for the `symbol' argument to the
25 (disasm_sym): New file private variable.
26 (struct objdump_disasm_info): New field `symbol'.
27 (disassemble_section): Introduce `do_print' local variable
28 to control whether objdump displays the result of disassembling
30 (main): Set `symbol' file private variable if the option argument
31 for the --disassemble option is given.
32 * doc/binutils.texi (objdump): Add description for the option
34 * NEWS: Mention the new feature.
35 * testsuite/binutils-all/objdump.exp: Add tests of the -d and
36 --disassemble=<symbol> options.
37 * testsuite/binutils-all/bintest.s: Add more symbols and code.
38 * testsuite/binutils-all/readelf.s: Update expected output.
39 * testsuite/binutils-all/readelf.ss-64: Likewise.
40 * testsuite/binutils-all/readelf.ss-mips: Likewise.
41 * testsuite/binutils-all/readelf.ss-tmips: Likewise.
43 2018-11-07 Nick Clifton <nickc@redhat.com>
45 * po/pt.po: Updated Portuguese translation.
47 2018-11-06 Roman Bolshakov <r.bolshakov@yadro.com>
48 Saagar Jha <saagar@saagarjha.com>
51 * od-macho.c (printf_version): New.
52 (dump_load_command): Use it to print version. Print sdk version. Print
53 version info for watchOS and tvOS. Print LC_NOTE, LC_BUILD_VERSION.
54 (dump_buld_version): New.
55 (bfd_mach_o_platform_name): New
56 (bfd_mach_o_tool_name): New
58 2018-11-07 Yoshinori Sato <ysato@users.sourceforge.jp>
60 * testsuite/lib/binutils-common.exp: Special section name
63 2018-11-06 H.J. Lu <hongjiu.lu@intel.com>
65 * doc/binutils.texi: Document --enable-x86-feature and
66 --disable-x86-feature options for elfedit.
67 * elfedit.c: Include "config.h" and <sys/mman.h>.
68 (enable_x86_features): New.
69 (disable_x86_features): Likewise.
70 (update_gnu_property): Likewise.
71 (elf_x86_feature): Likewise.
72 (process_file): Call update_gnu_property on ET_EXEC or ET_DYN
74 (command_line_switch): Add OPTION_ENABLE_X86_FEATURE and
75 OPTION_DISABLE_X86_FEATURE.
76 (options): Add--enable-x86-feature and --disable-x86-feature.
78 (main): Handle OPTION_ENABLE_X86_FEATURE and
79 OPTION_DISABLE_X86_FEATURE.
81 2018-11-03 H.J. Lu <hongjiu.lu@intel.com>
83 * elfedit.c (update_elf_header): Move EI_MAG? check to ...
84 (get_file_header): Here.
86 2018-11-02 H.J. Lu <hongjiu.lu@intel.com>
88 * configure.ac (AC_FUNC_MMAP): New.
89 * config.in: Regenerated.
90 * configure: Likewise.
92 2018-11-02 Alan Modra <amodra@gmail.com>
94 * readelf.c (process_section_headers): Don't warn on a zero
95 sh_info or sh_link for any reloc section in an executable or
96 shared library. Do warn for .rel.dyn/.rela.dyn in ET_REL.
98 2018-11-01 Thomas Preud'homme <thomas.preudhomme@linaro.org>
100 * testsuite/config/default.exp: Define LD, LDFLAGS and
102 * testsuite/lib/binutils-common.exp (check_shared_lib_support): Moved
104 (run_dump_test): Set ld to $LD.
106 2018-10-18 Nick Clifton <nickc@redhat.com>
108 * doc/binutils.texi (readelf): Document alternatives to the
109 --unwind option if it is not supported for the target
112 2018-10-16 Alan Modra <amodra@gmail.com>
115 * readelf.c (display_raw_attribute): Correct assertion.
117 2018-10-15 Alan Modra <amodra@gmail.com>
120 * addr2line.c (main): Exit with fatal error if bfd_init
121 returns an unexpected value.
122 * ar.c (main): Likewise.
123 * dlltool.c (identify_dll_for_implib): Likewise.
124 * nm.c (main): Likewise.
125 * objcopy.c (main): Likewise.
126 * objdump.c (main): Likewise.
127 * size.c (main): Likewise.
128 * strings.c (main): Likewise.
129 * windmc.c (main): Likewise.
130 * windres.c (main): Likewise.
132 2018-10-11 Jordan Rupprecht <rupprecht@google.com>
133 Nick Clifton <nickc@redhat.com>
135 * objcopy.c (copy_main): Issue a fata error if the
136 --keep-global-symbol(s) and the --globalize-symbol(s) options are
138 * doc/binutils.texi: Document that the two options are
140 * testsuite/binutils-all/copy-5.d: New test.
141 * testsuite/binutils-all/objcopy.exp: Run the new test.
143 2018-10-10 Helge Deller <deller@gmx.de>
144 Alan Modra <amodra@gmail.com>
146 * readelf.c (hppa_process_unwind): Don't use eh_addr_size to
147 calculate number of entries.
148 (slurp_hppa_unwind_table): Don't use eh_addr_size here either.
150 2018-10-10 Alan Modra <amodra@gmail.com>
152 * objdump.c (dump_dwarf): Set s12z eh_addr_size to 4.
154 2018-10-08 Andreas Schwab <schwab@suse.de>
156 * readelf.c (is_32bit_pcrel_reloc): Handle R_RISCV_32_PCREL.
158 2018-10-03 Nick Clifton <nickc@redhat.com>
160 * po/pt.po: Updated Portuguese translation.
161 * po/fr.po: Updated French translation.
163 2018-09-22 Alan Modra <amodra@gmail.com>
165 * readelf.c (apply_relocations): Don't return FALSE for warnings.
167 2018-09-20 Nelson Chu <nelson.chu1990@gmail.com>
169 * testsuite/binutils-all/objcopy.exp: Set the unsupported reloc number
170 from 215 to 255 for NDS32.
172 2018-09-17 H.J. Lu <hongjiu.lu@intel.com>
174 * objcopy.c (strip_specific_buffer): New.
175 (strip_unneeded_buffer): Likewise.
176 (keep_specific_buffer): Likewise.
177 (localize_specific_buffer): Likewise.
178 (globalize_specific_buffer): Likewise.
179 (keepglobal_specific_buffer): Likewise.
180 (weaken_specific_buffer): Likewise.
181 (add_specific_symbols): Add an argument to return pointer to
183 (copy_main): Update add_specific_symbols to update pointers to
184 allocated buffer. Free pointers to allocated buffer before
187 2018-09-17 Alan Modra <amodra@gmail.com>
189 * objcopy.c (handle_remove_section_option): Don't require a dot
190 after .rela and .rel to handle a possible relocation section.
191 * testsuite/binutils-all/remove-relocs-07.s,
192 * testsuite/binutils-all/remove-relocs-07.d,
193 * testsuite/binutils-all/remove-relocs-08.d: New tests.
194 * testsuite/binutils-all/remove-relocs-01.d,
195 * testsuite/binutils-all/remove-relocs-04.d,
196 * testsuite/binutils-all/remove-relocs-05.d,
197 * testsuite/binutils-all/remove-relocs-06.d: Exclude mips64-openbsd.
199 2018-09-17 Alan Modra <amodra@gmail.com>
201 * testsuite/lib/binutils-common.exp (is_som_format): New proc.
202 (run_dump_test): Correct target test for alternate .comm syntax.
203 (get_standard_section_names): Handle som format.
204 * testsuite/lib/utils-lib.exp (default_binutils_assemble_flags):
205 Correct target test for alternate .comm syntax.
207 2018-09-17 Alan Modra <amodra@gmail.com>
209 * testsuite/binutils-all/strip-13mips64.s: Add section flags
211 * testsuite/binutils-all/strip-13rel.s: Likewise.
212 * testsuite/binutils-all/strip-13rela.s: Likewise.
213 * testsuite/binutils-all/strip-14mips64.s: Likewise.
214 * testsuite/binutils-all/strip-14rel.s: Likewise.
215 * testsuite/binutils-all/strip-14rela.s: Likewise.
216 * testsuite/binutils-all/strip-15mips64.s: Likewise.
217 * testsuite/binutils-all/strip-15rel.s: Likewise.
218 * testsuite/binutils-all/strip-15rela.s: Likewise.
220 2018-09-17 Nick Clifton <nickc@redhat.com>
222 * testsuite/binutils-all/compress.exp: Rename second "objcopy
223 zlib-gnu compress debug sections 3" test to "objcopy zlib-gabi
224 compress debug sections 3" and use gabi object files instead
226 * testsuite/binutils-all/objcopy.exp: Add suffix to the names
227 of the "ELF group" tests.
228 * testsuite/binutils-all/readelf.exp (proc readelf_find_size):
229 Add an iteration parameter and include it in the name of the
230 test. Update callers to include an iteration count.
232 2018-09-15 Alan Modra <amodra@gmail.com>
234 * testsuite/binutils-all/add-symbol.d: Add "section_subst: no".
235 * testsuite/binutils-all/elfedit.exp: Don't set tempfile or copyfile.
236 * testsuite/binutils-all/symbols-1.d,
237 * testsuite/binutils-all/symbols-2.d,
238 * testsuite/binutils-all/symbols-3.d,
239 * testsuite/binutils-all/symbols-4.d: Quote '*' and '!'.
240 * testsuite/binutils-all/add-empty-section.d,
241 * testsuite/binutils-all/add-section.d,
242 * testsuite/binutils-all/elfedit.exp,
243 * testsuite/binutils-all/note-1.d,
244 * testsuite/binutils-all/pr23633.d: Add $subdir after $srcdir.
245 * testsuite/config/default.exp (AS, ASFLAGS): Define.
246 * testsuite/config/hppa.sed: Handle all common symbols.
247 * testsuite/lib/binutils-common.exp (run_dump_test): New proc,
248 merged from three other versions.
249 (slurp_options, file_contents, set_file_contents): Likewise.
250 (big_or_little_endian, get_standard_section_names): Likewise.
251 * testsuite/lib/utils-lib.exp (run_dump_test): Delete.
252 (slurp_options, proc file_contents): Delete.
253 (get_standard_section_names): Delete.
255 2018-09-15 Alan Modra <amodra@gmail.com>
257 * testsuite/binutils-all/copy-2.d,
258 * testsuite/binutils-all/copy-3.d,
259 * testsuite/binutils-all/copy-4.d,
260 * testsuite/binutils-all/elfedit-1.d,
261 * testsuite/binutils-all/note-1.d,
262 * testsuite/binutils-all/note-2-64.d,
263 * testsuite/binutils-all/strip-11.d,
264 * testsuite/binutils-all/strip-13.d,
265 * testsuite/binutils-all/strip-14.d,
266 * testsuite/binutils-all/testranges.d,
267 * testsuite/binutils-all/x86-64/pr23494a-x32.d,
268 * testsuite/binutils-all/x86-64/pr23494a.d,
269 * testsuite/binutils-all/x86-64/pr23494b-x32.d,
270 * testsuite/binutils-all/x86-64/pr23494b.d,
271 * testsuite/binutils-all/x86-64/pr23494c-x32.d,
272 * testsuite/binutils-all/x86-64/pr23494c.d,
273 * testsuite/binutils-all/x86-64/pr23494d-x32.d,
274 * testsuite/binutils-all/x86-64/pr23494d.d,
275 * testsuite/binutils-all/x86-64/pr23494e-x32.d,
276 * testsuite/binutils-all/x86-64/pr23494e.d,
277 * testsuite/lib/utils-lib.exp (run_dump_test): Replace not-target
278 and not-skip with notarget and noskip.
280 2018-09-15 Alan Modra <amodra@gmail.com>
282 * testsuite/binutils-all/group-7a.d,
283 * testsuite/binutils-all/group-7b.d,
284 * testsuite/binutils-all/group-7c.d,
285 * testsuite/binutils-all/symbols-1.d,
286 * testsuite/binutils-all/symbols-2.d,
287 * testsuite/binutils-all/symbols-3.d,
288 * testsuite/binutils-all/symbols-4.d: Remove DUMPPROG.
290 2018-09-14 Alan Modra <amodra@gmail.com>
293 * testsuite/binutils-all/pr23633.d: Don't fail when assembler
294 generates sections other than .text.
296 2018-09-13 H.J. Lu <hongjiu.lu@intel.com>
299 * testsuite/binutils-all/objcopy.exp: Run pr23633.
300 * testsuite/binutils-all/pr23633.d: New file.
301 * testsuite/binutils-all/pr23633.list: Likewise.
302 * testsuite/binutils-all/pr23633.s: Likewise.
304 2018-09-13 Nick Clifton <nickc@redhat.com>
307 * objcopy.c (add_specific_symbols): Do not free the buffer at the
310 2018-09-10 Alan Modra <amodra@gmail.com>
313 * objcopy.c (handle_remove_section_option): Consider .rela and
314 .rel sections for stripping directly as well as attached to the
315 associated section they relocate.
316 * doc/binutils.texi (remove-relocations): Specify that this
317 option removes non-dynamic relocation sections.
318 * testsuite/binutils-all/objcopy.exp
319 (objcopy_remove_relocations_from_executable): New test.
321 2018-09-03 Nick Clifton <nickc@redhat.com>
323 * po/ja.po: Updated Japanese translation.
325 2018-08-31 H.J. Lu <hongjiu.lu@intel.com>
327 * testsuite/binutils-all/readelf.s-64: Adjusted for
328 .note.gnu.property section.
329 * testsuite/binutils-all/strip-3.d: Also strip
330 .note.gnu.property section.
332 2018-08-31 H.J. Lu <hongjiu.lu@intel.com>
334 * testsuite/binutils-all/i386/compressed-1b.d: Pass
335 -mx86-used-note=no to assembler.
336 * testsuite/binutils-all/i386/compressed-1c.d: Likewise.
337 * testsuite/binutils-all/x86-64/compressed-1b.d: Likewise.
338 * testsuite/binutils-all/x86-64/compressed-1c.d: Likewise.
339 * testsuite/binutils-all/i386/empty.d: Pass -mx86-used-note=yes
340 to assembler and update expected output from "readelf -n".
341 * testsuite/binutils-all/i386/ibt.d: Likewise.
342 * testsuite/binutils-all/i386/pr21231a.d: Likewise.
343 * testsuite/binutils-all/i386/pr21231b.d: Likewise.
344 * testsuite/binutils-all/i386/shstk.d: Likewise.
345 * testsuite/binutils-all/x86-64/empty-x32.d: Likewise.
346 * testsuite/binutils-all/x86-64/empty.d: Likewise.
347 * testsuite/binutils-all/x86-64/ibt-x32.d: Likewise.
348 * testsuite/binutils-all/x86-64/ibt.d: Likewise.
349 * testsuite/binutils-all/x86-64/pr21231a.d: Likewise.
350 * testsuite/binutils-all/x86-64/pr21231b.d: Likewise.
351 * testsuite/binutils-all/x86-64/pr23494a-x32.d: Likewise.
352 * testsuite/binutils-all/x86-64/pr23494a.d: Likewise.
353 * testsuite/binutils-all/x86-64/pr23494b-x32.d: Likewise.
354 * testsuite/binutils-all/x86-64/pr23494b.d: Likewise.
355 * testsuite/binutils-all/x86-64/pr23494c-x32.d: Likewise.
356 * testsuite/binutils-all/x86-64/pr23494c.d: Likewise.
357 * testsuite/binutils-all/x86-64/pr23494d-x32.d: Likewise.
358 * testsuite/binutils-all/x86-64/pr23494d.d: Likewise.
359 * testsuite/binutils-all/x86-64/pr23494e-x32.d: Likewise.
360 * testsuite/binutils-all/x86-64/pr23494e.d: Likewise.
361 * testsuite/binutils-all/x86-64/shstk-x32.d: Likewise.
362 * testsuite/binutils-all/x86-64/shstk.d: Likewise.
364 2018-08-30 H.J. Lu <hongjiu.lu@intel.com>
366 * readelf.c (process_section_headers): Treat SHT_FINI_ARRAY and
367 SHT_PREINIT_ARRAY as relocatable sections.
369 2018-08-30 Chenghua Xu <paul.hua.gm@gmail.com>
371 * MAINTAINERS: Add myself as a MIPS port maintainer.
373 2018-08-29 Chenghua Xu <paul.hua.gm@gmail.com>
375 * NEWS: Mention Loongson 2K1000 proccessor support.
376 * readelf.c (get_machine_flags): Handle gs264e.
378 2018-08-29 Chenghua Xu <paul.hua.gm@gmail.com>
380 * NEWS: Mention Loongson 3A2000/3A3000 proccessor support.
381 * readelf.c (get_machine_flags): Handle gs464e.
383 2018-08-29 Chenghua Xu <paul.hua.gm@gmail.com>
385 * NEWS: Mention Loongson 3A1000 proccessor support.
386 * readelf.c (get_machine_flags): Rename loongson-3a to gs464.
387 (print_mips_isa_ext): Delete AFL_EXT_LOONGSON_3A.
389 2018-08-29 Chenghua Xu <paul.hua.gm@gmail.com>
391 * readelf.c (print_mips_ases): Add Loongson EXT2 extension.
393 2018-08-29 Chenghua Xu <paul.hua.gm@gmail.com>
395 * readelf.c (print_mips_ases): Add Loongson EXT extension.
397 2018-08-29 Chenghua Xu <paul.hua.gm@gmail.com>
399 * readelf.c (print_mips_ases): Add CAM extension.
401 2018-08-27 H.J. Lu <hongjiu.lu@intel.com>
403 * readelf.c (decode_x86_isa): Print <None> if bitmask only
404 contains the GNU_PROPERTY_X86_UINT32_VALID bit.
405 (decode_x86_feature_1): Likewise.
406 (decode_x86_feature_2): Likewise.
407 (print_gnu_property_note): Don't mask out the
408 GNU_PROPERTY_X86_UINT32_VALID bit.
409 * testsuite/binutils-all/i386/pr21231b.d: Updated.
410 * testsuite/binutils-all/x86-64/pr21231b.d: Likewise.
412 2018-08-27 H.J. Lu <hongjiu.lu@intel.com>
414 * readelf.c (decode_x86_compat_isa): Break multi-statement line.
415 (decode_x86_isa): Likewise.
416 (decode_x86_feature_2): Likewise.
418 2018-08-25 H.J. Lu <hongjiu.lu@intel.com>
421 * readelf.c (get_symbol_version_string): Return _("<corrupt>")
422 for corrupt symbol version info.
424 2018-08-24 H.J. Lu <hongjiu.lu@intel.com>
426 * readelf.c (decode_x86_compat_isa): New function.
427 (decode_x86_feature_2): Likewise.
428 (decode_x86_isa): Updated for new X86_ISA_1_XXX bits.
429 (decode_x86_feature): Renamed to ...
430 (decode_x86_feature_1): This. Remove the type argument.
431 (print_gnu_property_note): Handle X86_COMPAT_ISA_1_USED,
432 X86_COMPAT_ISA_1_NEEDED, X86_UINT32_AND_LO, X86_UINT32_AND_HI,
433 X86_UINT32_OR_LO, X86_UINT32_OR_HI, X86_UINT32_OR_AND_LO and
434 X86_UINT32_OR_AND_HI instead of X86_ISA_1_USED, X86_ISA_1_NEEDED
435 and X86_FEATURE_1_AND.
436 * testsuite/binutils-all/i386/pr21231b.s: Updated to the current
437 GNU_PROPERTY_X86_ISA_1_USED and GNU_PROPERTY_X86_ISA_1_NEEDED
439 * testsuite/binutils-all/x86-64/pr21231b.s: Likewise.
440 * testsuite/binutils-all/x86-64/pr23494a.s: Likewise.
441 * testsuite/binutils-all/x86-64/pr23494b.s: Likewise.
442 * testsuite/binutils-all/x86-64/pr23494c.s: Likewise.
443 * testsuite/binutils-all/i386/pr21231b.d: Updated.
444 * testsuite/binutils-all/x86-64/pr21231b.d: Likewise.
445 * testsuite/binutils-all/x86-64/pr23494a-x32.d: Likewise.
446 * testsuite/binutils-all/x86-64/pr23494a.d: Likewise.
447 * testsuite/binutils-all/x86-64/pr23494c-x32.d: Likewise.
448 * testsuite/binutils-all/x86-64/pr23494c.d: Likewise.
449 * testsuite/binutils-all/x86-64/pr23494d-x32.d: Likewise.
450 * testsuite/binutils-all/x86-64/pr23494d.d: Likewise.
451 * testsuite/binutils-all/x86-64/pr23494e-x32.d: Likewise.
452 * testsuite/binutils-all/x86-64/pr23494e.d: Likewise.
454 2018-08-24 H.J. Lu <hongjiu.lu@intel.com>
456 * readelf.c (print_gnu_property_note): Check the
457 GNU_PROPERTY_X86_UINT32_VALID bit for invalid GNU property note.
459 2018-08-23 Alan Modra <amodra@gmail.com>
461 * readelf.c (get_ppc64_symbol_other): Return NULL if st_other
462 field contains unrecognised or reserved values. Handle
465 2018-08-23 H.J. Lu <hongjiu.lu@intel.com>
468 * Makefile.am (development.exp): New target.
469 (EXTRA_DEJAGNU_SITE_CONFIG): New.
470 (DISTCLEANFILES): Add development.exp.
471 * Makefile.in: Regenerated.
472 * testsuite/binutils-all/objcopy.exp (strip_test): Call
473 prune_warnings to prune BFD output.
474 (strip_test_with_saving_a_symbol): Likewise.
475 (objcopy_test_without_global_symbol): Likewise.
476 * testsuite/lib/binutils-common.exp (prune_warnings_extra):
478 (prune_warnings): Likewise.
480 2018-08-23 H.J. Lu <hongjiu.lu@intel.com>
482 * README-how-to-make-a-release: Document setting "experimental"
485 2018-08-22 Alan Modra <amodra@gmail.com>
487 * readelf.c (process_file_header): Assign updated values from
488 section_header[0] fields to e_phnum, e_shnum and e_shstrndx
489 during printing of header. Correct e_shstrndx range check.
490 Remove unnecessary casts and use %u rather than %ld for
491 unsigned int header fields. Don't print a random %lx when
492 reporting an unknown EI_VERSION.
494 2018-08-21 Nick Clifton <nickc@redhat.com>
496 * MAINTAINERS: Note that Arnold Metselaar has retired as the z80
499 2018-08-21 L. Simon <l.simon@samsung.com>
502 * readelf.c (hppa_process_unwind): Only dump the unwind table if
503 the data was successfully read in.
505 2018-08-18 Alan Modra <amodra@gmail.com>
507 * testsuite/lib/binutils-common.exp (is_elf64): Use directory of
508 input file for readelf.out.
510 * testsuite/binutils-all/objcopy.exp (elf64): Set new variable
511 from first result of is_elf64 test.
512 (reloc_format): Set using is_rela.
513 (strip-13): Pass RELOC and ELF64 to assembler.
514 (strip-14, strip-15): Use elf64 rather than calling is_elf64 again.
515 * testsuite/binutils-all/strip-13.d: Run for more targets.
516 * testsuite/binutils-all/strip-13mips64.s: Use RELOC and set
518 * testsuite/binutils-all/strip-13rel.s: Use RELOC and ELF64.
519 Don't add _NONE reloc.
520 * testsuite/binutils-all/strip-13rela.s: Likewise.
522 2018-08-10 H.J. Lu <hongjiu.lu@intel.com>
525 * testsuite/binutils-all/x86-64/pr23494c.s: New file.
526 * testsuite/binutils-all/x86-64/pr23494e-x32.d: Likewise.
527 * testsuite/binutils-all/x86-64/pr23494e.d: Likewise.
529 2018-08-10 H.J. Lu <hongjiu.lu@intel.com>
531 * testsuite/binutils-all/x86-64/pr23494a-x32.d: Skip nacl
533 * testsuite/binutils-all/x86-64/pr23494a.d: Likewise.
534 * testsuite/binutils-all/x86-64/pr23494b-x32.d: Likewise.
535 * testsuite/binutils-all/x86-64/pr23494b.d: Likewise.
536 * testsuite/binutils-all/x86-64/pr23494c-x32.d: Likewise.
537 * testsuite/binutils-all/x86-64/pr23494c.d: Likewise.
538 * testsuite/binutils-all/x86-64/pr23494d-x32.d: Likewise.
539 * testsuite/binutils-all/x86-64/pr23494d.d: Likewise.
541 2018-08-08 H.J. Lu <hongjiu.lu@intel.com>
544 * testsuite/binutils-all/x86-64/pr23494a-x32.d: New file.
545 * testsuite/binutils-all/x86-64/pr23494a.d: Likewise.
546 * testsuite/binutils-all/x86-64/pr23494a.s: Likewise.
547 * testsuite/binutils-all/x86-64/pr23494b-x32.d: Likewise.
548 * testsuite/binutils-all/x86-64/pr23494b.d: Likewise.
549 * testsuite/binutils-all/x86-64/pr23494b.s: Likewise.
550 * testsuite/binutils-all/x86-64/pr23494c-x32.d: Likewise.
551 * testsuite/binutils-all/x86-64/pr23494c.d: Likewise.
552 * testsuite/binutils-all/x86-64/pr23494d-x32.d: Likewise.
553 * testsuite/binutils-all/x86-64/pr23494d.d: Likewise.
555 2018-08-08 Kevin Buettner <kevinb@redhat.com>
557 * dwarf.c (decode_location_expresion): Add case for
558 DW_OP_GNU_variable_value.
560 2018-08-06 Claudiu Zissulescu <claziss@synopsys.com>
562 * readelf.c (display_arc_attribute): Print Tag_ARC_ATR_version.
564 2018-08-03 Nick Clifton <nickc@redhat.com>
566 * objcopy.c (merge_gnu_build_notes): Delete empty notes. Merge
567 identical function notes.
569 2018-08-01 Nick Clifton <nickc@redhat.com>
571 * README-how-to-make-a-release: Add note about regenerating the
572 info files prior to the release.
574 2018-07-30 Andrew Jenner <andrew@codesourcery.com>
576 * MAINTAINERS (C-SKY): Add Yunhai Shang as co-maintainer.
578 2018-07-30 Andrew Jenner <andrew@codesourcery.com>
580 * MAINTAINERS (C-SKY): Add Lifang Xia as maintainer.
582 2018-07-30 Andrew Jenner <andrew@codesourcery.com>
584 * readelf.c: Include elf/csky.h.
585 (guess_is_rela): Handle EM_CSKY.
586 (dump_relocations): Likewise.
587 (get_machine_name): Likewise.
588 (is_32bit_abs_reloc): Likewise.
590 2018-07-25 Nick Clifton <nickc@redhat.com>
592 * rdcoff.c (parse_coff_struct_type): Free fields array upon early
594 (parse_coff_enum_type): Free names and vals arrays upon early
596 * rddbg.c (read_section_stabs_debugging_info): Free shandle and
597 strings and stabs arrays upon early exit.
598 * readelf.c (get_32bit_section_headers): Free shdrs structure upon
600 (get_64bit_section_headers): Likewise.
601 (get_32bit_elf_symbols): Generate an error if multiple symbol
602 table index sections are associated with the same symbol section.
603 (get_64bit_elf_symbols): Likewise.
604 (process_dynamic_section): Generate an error if there are multiple
605 dynamic symbol table sections, multiple dynamic string tables or
606 multiple dynamic symbol information sections.
608 2018-07-24 Nick Clifton <nickc@redhat.com>
610 * po/sv.po: Updated Swedish translation.
612 2018-07-24 Alan Modra <amodra@gmail.com>
615 * dwarf.c (display_formatted_table): Replace "what" parameter
616 with "is_dir". Expand messages. Fix capitalisation.
617 * testsuite/binutils-all/dw5.W: Update expected output.
619 2018-07-24 Alan Modra <amodra@gmail.com>
622 * elfcomm.h (struct archive_info): Rename uses_64bit_indicies
623 to uses_64bit_indices.
624 * elfcomm.c (setup_archive): Update uses of above.
625 * readelf.c (process_archive): Likewise.
626 (get_section_type_name): Rename indicies to indices.
627 (get_32bit_elf_symbols, get_64bit_elf_symbols): Likewise.
628 (process_section_groups): Likewise.
630 2018-07-20 Maciej W. Rozycki <macro@mips.com>
632 * MAINTAINERS: Update my e-mail address, downgrade to MIPS I-IV
635 2018-07-20 Nick Clifton <nickc@redhat.com>
637 * objcopy.c (add_specific_symbols): Free buffer on exit.
638 (add_redefine_syms_file): Close file handle on exit.
639 (copy_object): Close file handle on early exit.
640 Free buffer on early exit.
641 Free gaps buffers once they are no longer needed.
642 * dwarf.c (display_debug_frames): Free allocated memory on exit.
643 (load_separate_debug_info): Free allocate memory on early exit.
645 2018-07-20 Chenghua Xu <paul.hua.gm@gmail.com>
646 Maciej W. Rozycki <macro@mips.com>
648 * readelf.c (print_mips_ases): Add MMI extension.
650 2018-07-19 DJ Delorie <dj@redhat.com>
652 * MAINTAINERS (RL78, RX): Remove myself as maintainer.
654 2018-07-19 Nick Clifton <nickc@redhat.com>
656 * dwarf.c (read_cie): Free allocated memory before returning with
659 2018-07-16 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
661 * readelf.c (get_note_type): Fix typo in NT_PPC_TM_CVSX note
664 2018-07-16 Nick Clifton <nickc@redhat.com>
666 * README-how-to-make-a-release: Add note to check for new top
667 level files and add them to the src-release.sh script.
669 2018-07-14 Nick Clifton <nickc@redhat.com>
671 * README-how-to-make-a-release: Updated with corrections based on
672 the 2.31 release experience.
674 2018-07-12 Francois H. Theron <francois.theron@netronome.com>
676 * readelf.c (process_section_headers): Don't print section type
677 twice for --section-details.
679 2018-07-10 Alan Modra <amodra@gmail.com>
681 * testsuite/lib/binutils-common.exp (supports_gnu_unique): Return
684 2018-07-06 Nick Clifton <nickc@redhat.com>
686 * readelf.c (same_section): New function.
687 (print_gnu_build_attribute_description): Do not complain about
688 gaps that cross a section boundary.
690 2018-07-05 Nick Clifton <nickc@redhat.com>
692 * po/bg.po: Updated Bulgarian translation.
694 2018-07-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
696 * NEWS: Use command-line consistently when used in a compount word.
697 * doc/binutils.texi: Likewise and fix trailing whitespace on same
700 2018-06-26 Nick Clifton <nickc@redhat.com>
702 * po/sv.po: Updated Swedish translation.
703 * po/uk.po: Updated Ukranian translation.
705 2018-06-26 Nick Clifton <nickc@redhat.com>
707 * doc/binutils.texi: Fix spelling mistakes.
708 * README--how-to-make-a-release: Likewise.
710 2018-06-25 Tom Tromey <tom@tromey.com>
712 * dwarf-mode.el (dwarf-mode-syntax-table): New variable.
715 2018-06-24 Nick Clifton <nickc@redhat.com>
717 * README-how-to-make-a-release: Update with experiences from
719 * po/binutils.pot: Regenerate.
720 * configure: Regenerate.
722 2018-06-24 Nick Clifton <nickc@redhat.com>
725 * NEWS: Add marker for 2.31.
727 2018-06-21 Alan Modra <amodra@gmail.com>
729 * doc/Makefile.am (AUTOMAKE_OPTIONS): Add "foreign".
730 * doc/Makefile.in: Regenerate.
732 2018-06-19 Simon Marchi <simon.marchi@ericsson.com>
734 * configure.ac: Remove AC_PREREQ.
735 * doc/Makefile.am (AUTOMAKE_OPTIONS): Remove cygnus, add
736 info-in-builddir no-texinfo.tex.
737 * Makefile.in: Re-generate.
738 * aclocal.m4: Re-generate.
739 * config.in: Re-generate.
740 * configure: Re-generate.
741 * doc/Makefile.in: Re-generate.
743 2018-06-19 Andreas Schwab <schwab@suse.de>
745 * readelf.c (is_16bit_abs_reloc): Handle R_RISCV_SET16.
746 (is_8bit_abs_reloc): New function.
747 (is_6bit_abs_reloc): New function.
748 (is_6bit_inplace_sub_reloc): New function.
749 (apply_relocations): Use them. Handle 6-bit relocations.
751 2018-06-14 Faraz Shahbazker <Faraz.Shahbazker@mips.com>
753 * readelf.c (print_mips_ases): Add GINV extension.
755 2018-06-14 H.J. Lu <hongjiu.lu@intel.com>
758 * readelf.c (get_symbol_version_string): Check if the first
759 symbol version is base version.
761 2018-06-13 Scott Egerton <scott.egerton@imgtec.com>
762 Faraz Shahbazker <Faraz.Shahbazker@mips.com>
764 * readelf.c (print_mips_ases): Add CRC.
766 2018-06-13 Nick Clifton <nickc@redhat.com>
768 * doc/binutils.texi (objdump): Add missing closing square
769 parenthesis to listing of objcopy's command line options.
771 2018-06-11 Nick Clifton <nickc@redhat.com>
773 * po/es.po: Updated Spanish translation.
775 2018-06-01 H.J. Lu <hongjiu.lu@intel.com>
777 * configure: Regenerated.
779 2018-05-31 Alan Modra <amodra@gmail.com>
781 * testsuite/binutils-all/compress.exp (test_gnu_debuglink): Don't
782 set CC_FOR_TARGET. Run test non-native.
783 * testsuite/binutils-all/objdump.exp (test_build_id_debuglink):
785 (test_follow_debuglink): Run test non-native.
787 2018-05-30 Ant Bikeneev <ant.bikineev@gmail.com>
790 * ar.c (display_offsets): New variable.
791 (usage): Add description of 'O' operator.
792 (decode_option): Handle 'O' operator.
793 (print_descr): Pass display_offsets to print_arelt_descr.
794 * arsup.c: Update call to printy_arelt_descr.
795 * objdump.c: Likewise.
796 * bucomm.c (print_arelt_descr): If offsets parameter is true then
797 display offset of archive element within the archive.
798 * bucomm.h: Update prototype for print_arelt_descr.
799 * doc/binutils.texi: Update description of ar command.
800 * NEWS: Mention the new feature.
801 * testsuite/binutils-all/ar.exp: Add text of new feature.
803 2018-05-28 Alan Modra <amodra@gmail.com>
806 * testsuite/binutils-all/compress.exp (test_gnu_debuglink): Return
807 unsupported rather than fail on compile errors.
808 * testsuite/binutils-all/objdump.exp (test_build_id_debuglink):
809 Likewise. Save and restore CFLAGS_FOR_TARGET.
811 2018-05-18 Kito Cheng <kito.cheng@gmail.com>
813 * readelf.c (get_machine_flags): Handle EF_RISCV_RVE.
815 2018-05-18 John Darrington <john@darrington.wattle.id.au>
817 * readelf.c: Add support for s12z architecture.
818 * testsuite/lib/binutils-common.exp (is_elf_format): Excluse s12z
821 2018-05-15 Tamar Christina <tamar.christina@arm.com>
824 * doc/binutils.texi (-M): Document AArch64 options.
826 2018-05-15 Tamar Christina <tamar.christina@arm.com>
829 * doc/binutils.texi (-M): Document AArch64 options.
830 * NEWS: Document notes and warnings.
832 2018-05-15 Alan Modra <amodra@gmail.com>
834 * testsuite/lib/binutils-common.exp (is_elf_format): Add chorus,
835 cloudabi, fuchsia, kaos and nto. Merge netbsdelf* into *elf*,
836 and *uclinux* into *linux*.
837 * testsuite/binutils-all/objcopy.exp: Accept armeb for rel
838 strip-13 test, exclude arm-vxworks and arm-windiss.
840 2018-05-10 John Darrington <john@darrington.wattle.id.au>
842 * readelf.c (get_machine_name): EM_S12Z - handle new case.
844 2018-05-09 Alan Modra <amodra@gmail.com>
846 * od-macho.c (dump_unwind_encoding_x86): Fix typo in last patch.
848 2018-05-09 Sebastian Rasmussen <sebras@gmail.com>
850 * od-macho.c (dump_unwind_encoding_x86): Adjust for macro renaming.
852 2018-05-08 Alan Modra <amodra@gmail.com>
855 * objcopy.c (is_strip_section): Strip groups without a valid
858 2018-05-07 Alan Modra <amodra@gmail.com>
861 * objcopy.c (group_signature): Don't accept groups that use a
862 symbol table other than the one we've read.
864 2018-04-30 Francois H. Theron <francois.theron@netronome.com>
866 * readelf.c: Very basic support for EM_NFP and its section types.
867 * testsuite/binutils-all/nfp: New directory.
868 * testsuite/binutils-all/nfp/objdump.exp: New file. Run new
870 * testsuite/binutils-all/nfp/test2_ctx8.d: New file.
871 * testsuite/binutils-all/nfp/test2_no-pc_ctx4.d: New file.
872 * testsuite/binutils-all/nfp/test1.d: New file.
873 * testsuite/binutils-all/nfp/nfp6000.nffw: New file.
874 * testsuite/binutils-all/nfp/test2_nfp6000.nffw: New file.
875 * NEWS: Mention the new support.
877 2018-04-27 Maciej W. Rozycki <macro@mips.com>
879 * testsuite/lib/binutils-common.exp (match_target): New procedure.
880 * testsuite/lib/utils-lib.exp (run_dump_test): Use it in place
881 of `istarget' for matching with `target', `not-target', `skip'
882 and `not-skip' options.
884 2018-04-26 Nick Clifton <nickc@redhat.com>
886 * readelf.c (is_32bit_abs_reloc): Support R_PARISC_DIR32 as a
887 32-bit absolute reloc for the HPPA target.
888 * testsuite/binutils-all/note-5.d: New test.
889 * testsuite/binutils-all/note-5.s: Source file for new test.
890 * testsuite/binutils-all/objcopy.exp: Run new test.
892 2018-04-25 Christophe Lyon <christophe.lyon@st.com>
894 * testsuite/binutils-all/elfedit-2.d: Accept arm*-*-uclinuxfdpiceabi.
895 * testsuite/binutils-all/elfedit-3.d: Likewise.
896 * testsuite/binutils-all/objcopy.exp: Likewise.
897 * testsuite/binutils-all/strip-3.d: Likewise.
898 * testsuite/lib/binutils-common.exp: Likewise.
900 2018-04-25 Christophe Lyon <christophe.lyon@st.com>
901 Mickaël Guêné <mickael.guene@st.com>
903 * readelf.c (decode_ARM_machine_flags): Support EF_ARM_PIC.
904 (get_osabi_name): Support ELFOSABI_ARM_FDPIC.
906 2018-04-25 Alan Modra <amodra@gmail.com>
908 * testsuite/binutils-all/arm/objdump.exp: Remove arm-aout and
910 * testsuite/binutils-all/objcopy.exp: Likewise.
911 * testsuite/lib/binutils-common.exp: Likewise.
913 2018-04-18 Nick Clifton <nickc@redhat.com>
916 * dwarf.c (read_and_display_attr_value): Replace assertions with
917 test and warning message.
919 2018-04-18 Alan Modra <amodra@gmail.com>
921 * testsuite/lib/binutils-common.exp: Remove support for assorted
924 2018-04-17 Nick Clifton <nickc@redhat.com>
927 * readelf.c (print_symbol): If the width is zero, return straight
931 * dwarf.c (process_cu_tu_index): Test for a potential buffer
932 overrun before copying signature pointer.
934 2018-04-17 Alan Modra <amodra@gmail.com>
936 * readelf.c: Revert 2018-04-16 and 2018-04-11 changes.
938 2018-04-16 Alan Modra <amodra@gmail.com>
940 * readelf.c (get_machine_name): Correct typo.
942 2018-04-16 Alan Modra <amodra@gmail.com>
944 * configure.ac: Remove arm-epoc-pe support.
945 * dlltool.c: Likewise.
946 * configure: Regenerate.
948 2018-04-16 Alan Modra <amodra@gmail.com>
950 * testsuite/lib/binutils-common.exp: Remove sparc-aout and
953 2018-04-16 Alan Modra <amodra@gmail.com>
955 * testsuite/binutils-all/copy-2.d: Remove m68k-aout and m68k-coff
957 * testsuite/binutils-all/copy-3.d: Likewise.
958 * testsuite/binutils-all/objcopy.exp: Likewise.
959 * testsuite/lib/binutils-common.exp: Likewise.
961 2018-04-16 Alan Modra <amodra@gmail.com>
963 * testsuite/binutils-all/objcopy.exp: Remove sh5 and sh64 support.
965 2018-04-16 Alan Modra <amodra@gmail.com>
967 * testsuite/binutils-all/objcopy.exp: Remove w65 support.
969 2018-04-16 Alan Modra <amodra@gmail.com>
971 * testsuite/binutils-all/objdump.exp: Remove we32k support.
973 2018-04-16 Alan Modra <amodra@gmail.com>
975 * MAINTAINERS (Mark Kettenis): Move to past maintainers.
976 * testsuite/binutils-all/objdump.exp: Remove m88k support.
978 2018-04-16 Alan Modra <amodra@gmail.com>
980 * readelf.c: Remove i370 support.
981 * testsuite/binutils-all/objdump.exp: Likewise.
983 2018-04-16 Alan Modra <amodra@gmail.com>
985 * testsuite/binutils-all/objcopy.exp: Remove h8500 support.
986 * testsuite/lib/binutils-common.exp: Likewise.
988 2018-04-16 Alan Modra <amodra@gmail.com>
990 * testsuite/binutils-all/objcopy.exp: Remove h8300-coff support.
992 2018-04-16 Alan Modra <amodra@gmail.com>
994 * Makefile.am: Remove IEEE 695 support.
996 * doc/binutils.texi: Likewise.
997 * makefile.vms: Likewise.
998 * objcopy.c: Likewise.
999 * objdump.c: Likewise.
1000 * rddbg.c: Likewise.
1002 * Makefile.in: Regenerate.
1003 * po/POTFILES.in: Regenerate.
1005 2018-04-16 Alan Modra <amodra@gmail.com>
1007 * testsuite/binutils-all/copy-2.d: Remove newsos3 support.
1008 * testsuite/binutils-all/nm.exp: Likewise.
1010 2018-04-16 Alan Modra <amodra@gmail.com>
1012 * .gitignore: Remove netware support.
1013 * Makefile.am: Likewise.
1014 * configure.ac: Likewise.
1015 * doc/Makefile.am: Likewise.
1016 * doc/binutils.texi: Likewise.
1017 * testsuite/binutils-all/nm.exp: Likewise.
1018 * nlmconv.c: Delete.
1019 * nlmconv.h: Delete.
1020 * nlmheader.y: Delete.
1021 * Makefile.in: Regenerate.
1022 * configure: Regenerate.
1023 * doc/Makefile.in: Regenerate.
1024 * po/POTFILES.in: Regenerate.
1026 2018-04-16 Alan Modra <amodra@gmail.com>
1028 * testsuite/binutils-all/objdump.exp: Remove tahoe support.
1030 2018-04-14 Alan Modra <amodra@gmail.com>
1032 * readelf.c (get_machine_name): Revert 2018-04-11 change.
1034 2018-04-12 Nick Clifton <nickc@redhat.com>
1037 * readelf.c (process_dynamic_section): Correct dynamic string
1038 table size calculation.
1040 2018-04-11 Alan Modra <amodra@gmail.com>
1042 * ieee.c: Remove i960 support.
1043 * od-macho.c: Remove i860 support.
1044 * readelf.c: Remove i860 and i960 support.
1045 * testsuite/binutils-all/objcopy.exp: Likewise.
1046 * testsuite/binutils-all/objdump.exp: Likewise.
1047 * testsuite/lib/binutils-common.exp: Likewise.
1049 2018-04-11 Maciej W. Rozycki <macro@mips.com>
1051 * testsuite/lib/binutils-common.exp (is_elf_format): Also return
1052 1 for `*-*-lynxos*' and `*-*-symbianelf*' targets.
1054 2018-04-10 Alan Modra <amodra@gmail.com>
1056 * testsuite/binutils-all/objcopy.exp (strip-14, strip-15): Choose
1057 reloc=11 for pru and reloc=50 for nds32.
1058 * testsuite/binutils-all/strip-15.d: Accept 0xb reloc number.
1060 2018-04-09 Maciej W. Rozycki <macro@mips.com>
1062 * testsuite/binutils-all/strip-15.d: New test.
1063 * testsuite/binutils-all/strip-15rel.s: New test source.
1064 * testsuite/binutils-all/strip-15rela.s: New test source.
1065 * testsuite/binutils-all/strip-15mips64.s: New test source.
1066 * testsuite/binutils-all/objcopy.exp: Run the new test.
1068 2018-04-09 Maciej W. Rozycki <macro@mips.com>
1070 * testsuite/binutils-all/strip-14.d: New test.
1071 * testsuite/binutils-all/strip-14rel.s: New test source.
1072 * testsuite/binutils-all/strip-14rela.s: New test source.
1073 * testsuite/binutils-all/strip-14mips64.s: New test source.
1074 * testsuite/binutils-all/objcopy.exp: Run the new test.
1076 2018-04-06 Tom Tromey <tom@tromey.com>
1078 * dwarf.c (read_and_display_attr_value): Add missing DW_LANG
1079 constants from DWARF 5.
1081 2018-04-05 H.J. Lu <hongjiu.lu@intel.com>
1084 * configure: Regenerated.
1086 2018-04-05 Maciej W. Rozycki <macro@mips.com>
1088 * testsuite/binutils-all/strip-13mips64.s: Use `.dc.l' rather
1089 than `.dc.w' in second relocation.
1091 2018-04-05 Maciej W. Rozycki <macro@mips.com>
1093 * testsuite/binutils-all/strip-13.d: Also expect `unsupported
1094 relocation type 0x8f' error message.
1096 2018-04-05 Maciej W. Rozycki <macro@mips.com>
1098 * testsuite/binutils-all/strip-13.s: Rename to...
1099 * testsuite/binutils-all/strip-13rela.s: ... this.
1100 * testsuite/binutils-all/strip-13rel.s: New test source.
1101 * testsuite/binutils-all/strip-13mips64.s: New test source.
1102 * testsuite/binutils-all/strip-13.d: Remove `arm-*', `d10v-*',
1103 `dlx-*' and `xgate-*' from `not-target' list. Add `m6811-*' and
1104 `m68hc11-*' to `not-target' list.
1105 * testsuite/binutils-all/objcopy.exp: Switch between sources for
1108 2018-04-05 Maciej W. Rozycki <macro@mips.com>
1110 * testsuite/binutils-all/strip-13.s: Use 143 (0x8f) rather than
1111 241 (0xf1) for the relocation number and RELA addend.
1112 * testsuite/binutils-all/strip-13.d: Remove `hppa*-*' from the
1115 2018-04-04 John David Anglin <danglin@gcc.gnu.org>
1117 * MAINTAINERS: Update my e-mail address.
1119 2018-04-04 Nick Clifton <nickc@redhat.com>
1121 * MAINTAINERS: Move Jason Eckhardt to past maintainers section.
1123 2018-03-23 Nick Clifton <nickc@redhat.com>
1125 * readelf.c (get_symbol_for_build_attribute): Skip ARM mapping
1127 (print_gnu_build_attribute_description): If no file start symbol
1128 could be found, look for one two bytes into the file.
1129 * testsuite/binutils-all/note-4-64.s: Set the address of the file
1130 start symbol to two bytes into the file.
1131 * testsuite/binutils-all/note-4-32.s: Likewise.
1133 2018-03-21 H.J. Lu <hongjiu.lu@intel.com>
1135 * readelf.c (process_dynamic_section): Also dump DF_1_KMOD,
1136 DF_1_WEAKFILTER and DF_1_NOCOMMON.
1138 2018-03-20 Nick Clifton <nickc@redhat.com>
1140 * po/es.po: Updated Spanish translation.
1141 * po/ru.po: Updated Russian translation.
1143 2018-03-13 Nick Clifton <nickc@redhat.com>
1146 * stabs.c (pop_binincl): Fail if the file index is off the end of
1149 2018-03-13 Nick Clifton <nickc@redhat.com>
1152 * stabs.c (parse_number): Add p_end parameter and use it to check
1153 the validity of the pp parameter. Add checks to prevent walking
1154 off the end of the string buffer.
1155 (parse_stab_string): Likewise.
1156 (parse_stab_type): Likewise.
1157 (parse_stab_type_number): Likewise.
1158 (parse_stab_range_type): Likewise.
1159 (parse_stab_sun_builtin_type): Likewise.
1160 (parse_stab_sun_floating_type): Likewise.
1161 (parse_stab_enum_type): Likewise.
1162 (parse_stab_struct_type): Likewise.
1163 (parse_stab_baseclasses): Likewise.
1164 (parse_stab_struct_fields): Likewise.
1165 (parse_stab_cpp_abbrev): Likewise.
1166 (parse_stab_one_struct_field): Likewise.
1167 (parse_stab_members): Likewise.
1168 (parse_stab_tilde_field): Likewise.
1169 (parse_stab_array_type): Likewise.
1171 * parse_stab: Compute the end of the string and then pass it on to
1172 individual parser functions.
1174 2018-03-07 Paul Pluzhnikov <ppluzhnikov@google.com>
1177 * binutils/readelf.c (get_ver_flags): Expand buffer to avoid
1180 2018-03-07 Alan Modra <amodra@gmail.com>
1182 * configure.ac: Add objdump_private_desc_xcoff for rs6000.
1183 * configure: Regenerate.
1185 2018-03-05 H.J. Lu <hongjiu.lu@intel.com>
1188 * objdump.c (is_significant_symbol_name): Return TRUE for all
1190 (find_symbol_for_address): Replace linear search with binary
1191 search on dynamic relocations.
1193 2018-03-01 Nick Clifton <nickc@redhat.com>
1196 * dwarf.c (display_debug_ranges): Check that the offset loaded
1197 from the range_entry structure is valid.
1199 2018-03-01 Alan Modra <amodra@gmail.com>
1201 * configure.ac (ALL_LINGUAS): Add sr. Sort.
1202 * configure: Regenerate.
1204 2018-02-27 Nick Clifton <nickc@redhat.com>
1206 * po/pt.po: New Portuguese translation.
1207 * configure.ac (ALL_LINGUAS): Add pt.
1208 * configure: Regenerate.
1210 2018-02-27 Nick Clifton <nickc@redhat.com>
1213 * objcopy.c (copy_object): Check the error status after marking
1214 symbols used in relocations.
1215 * testsuite/binutils-all/strip-13.s: New test source file.
1216 * testsuite/binutils-all/strip-13.s: New test driver file.
1217 * testsuite/binutils-all/objcopy.exp: Run the new test.
1219 2018-02-26 Alan Modra <amodra@gmail.com>
1221 * testsuite/binutils-all/mips/mips-reginfo-n32.d,
1222 * testsuite/binutils-all/mips/mips-reginfo.d: Update.
1224 2018-02-23 Alan Modra <amodra@gmail.com>
1226 * testsuite/binutils-all/mips/mips-reginfo-n32.d,
1227 * testsuite/binutils-all/mips/mips-reginfo.d: Update.
1229 2018-02-20 Ronald Hoogenboom <hoogenboom30@zonnet.nl>
1231 * doc/binutils.texi (objcopy): Add missing closing square
1232 parenthesis to listing of objcopy's command line options.
1234 2018-02-19 Matthias Klose <doko@debian.org>
1236 * strings.c (long_options): Include-all-whitespace does not take
1239 2018-02-13 Alan Modra <amodra@gmail.com>
1242 * testsuite/binutils-all/group-7.s,
1243 * testsuite/binutils-all/group-7a.d,
1244 * testsuite/binutils-all/group-7b.d,
1245 * testsuite/binutils-all/group-7c.d: New tests.
1246 * testsuite/binutils-all/objcopy.exp: Run them.
1248 2018-02-08 Nick Clifton <nickc@redhat.com>
1251 * dwarf.c (load_separate_debug_file): Return early if the user is
1252 not interested in debug links.
1254 2018-02-06 Nick Clifton <nickc@redhat.com>
1257 * readelf.c (find_section): Replace assertion with test and return
1259 (find_section_by_address): Add test of section header table
1261 (find_section_by_type): Likewise.
1262 (find_section_in_set): Likewise.
1264 2018-02-05 Maciej W. Rozycki <macro@mips.com>
1266 * testsuite/binutils-all/mips/mips-reginfo.d: New test.
1267 * testsuite/binutils-all/mips/mips-reginfo-n32.d: New test.
1268 * testsuite/binutils-all/mips/mips-reginfo.s: New test source.
1269 * testsuite/binutils-all/mips/mips.exp: Run the new tests.
1271 2018-02-05 Maciej W. Rozycki <macro@mips.com>
1273 * testsuite/config/default.exp (binutils_run): Document
1274 `binutils_run_status'.
1275 * testsuite/lib/utils-lib.exp (default_binutils_run): Likewise,
1277 (run_dump_test): Add `error', `error_output', `warning' and
1278 `warning_output' options. Update documentation accordingly.
1280 2018-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
1282 * dwarf.c (dwarf_regnames_riscv): New register name table.
1283 (init_dwarf_regnames_riscv): New function.
1284 (init_dwarf_regnames): Add call to initialise RiscV register
1286 * dwarf.h (init_dwarf_regnames_riscv): Declare.
1287 * objdump.c (dump_dwarf): Add call to initialise RiscV register
1290 2018-02-01 Alan Modra <amodra@gmail.com>
1293 * objdump.c (load_specific_debug_section): Check for overflow
1294 when adding one to section size for a string section terminator.
1296 2018-01-30 Nick Clifton <nickc@redhat.com>
1299 * doc/binutils.texi (nm): Update description to point out that
1300 zero-initialized values can also be shown as type B, b, S or s
1301 since they can be stored in the BSS section.
1303 2018-01-30 Alan Modra <amodra@gmail.com>
1305 * objcopy.c (merge_gnu_build_notes): Use (bfd_vma) -1 as
1306 "artificially large" end address.
1308 2018-01-28 Nick Clifton <nickc@redhat.com>
1310 * README-how-to-make-a-release: Add note about checking gpg key
1311 and the results of gnupload.
1313 2018-01-27 Nick Clifton <nickc@redhat.com>
1315 * README-how-to-make-a-release: Add details on how to actually
1318 2018-01-26 Nick Clifton <nickc@redhat.com>
1320 * README-how-to-make-a-release: Add more details on updating
1323 2018-01-22 Maciej W. Rozycki <macro@mips.com>
1325 * doc/binutils.texi (objcopy): Fix a typo in `--rename-section'
1328 2018-01-22 Maciej W. Rozycki <macro@mips.com>
1330 * MAINTAINERS: Update my company e-mail address.
1332 2018-01-22 Nick Clifton <nickc@redhat.com>
1334 * po/sv.po: Updated Swedish translation.
1336 2018-01-18 Nick Clifton <nickc@redhat.com>
1338 * po/bg.po: Updated Bulgarian translation.
1340 2018-01-16 Joel Brobecker <brobecker@adacore.com>
1342 * README-how-to-make-a-release: Add reminder to update the
1343 branch name in gdbadmin's crontab on sourceware.
1345 2018-01-16 Joel Brobecker <brobecker@adacore.com>
1347 * README-how-to-make-a-release: Remove trailing spaces.
1349 2018-01-16 Nick Clifton <nickc@redhat.com>
1351 * po/fr.po: Updated French translation.
1353 2018-01-15 Nick Clifton <nickc@redhat.com>
1355 * po/uk.po: Updated Ukranian translation.
1357 2018-01-13 Nick Clifton <nickc@redhat.com>
1359 * README-how-to-make-a-release: Update notes.
1360 * po/binutils.pot: Regenerated.
1362 2018-01-13 Nick Clifton <nickc@redhat.com>
1364 * configure: Regenerate.
1366 2018-01-13 Nick Clifton <nickc@redhat.com>
1368 2.30 branch created.
1369 * NEWS: Add marker for 2.30.
1371 2018-01-12 Nick Clifton <nickc@redhat.com>
1373 * README-how-to-make-a-release: Add notes on how to make the
1374 branch and prelease snapshot.
1375 * BRANCHES: Add binutils-2_29-branch.
1377 2018-01-10 Nick Clifton <nickc@redhat.com>
1379 * MAINTAINERS: Note that it is now the configure.ac file and not
1380 the configure.in file that needs to be kept in sync with gcc.
1381 Add a note about sending patches for libiberty to gcc.
1383 2018-01-03 Nick Clifton <nickc@redhat.com>
1385 * objcopy.c (merge_gnu_build_notes): Add cast to maximum address
1388 2018-01-03 Nick Clifton <nickc@redhat.com>
1390 * objcopy.c (objcopy_internal_note): New structure.
1391 (gap_exists): New function.
1392 (is_open_note): New function.
1393 (is_func_note): New function.
1394 (is_64bit): New function.
1395 (merge_gnu_build_notes): Handle v3 notes. Do not merge
1396 if there are relocations against the notes.
1397 * readelf.c (get_note_type): Use short names for build attribute
1399 (print_symbol_for_build_attribute): Rename to
1400 get_symbol_for_build_attribute. Returns the found symbol rather
1402 (print_gnu_build_attribute_description): Maintain address ranges
1403 for function notes as well as global notes. Handle v3 notes.
1404 (print_gnu_build_attribute_name): Use more space for printing the
1406 * testsuite/binutils-all/note-2-32.s: Use .dc.l instead of .word.
1407 Eliminate symbol references in order to remove the need for
1409 * testsuite/binutils-all/note-2-64.s: Likewise.
1410 * testsuite/binutils-all/note-3-32.s: Add a size to the note_1
1412 * testsuite/binutils-all/note-3-64.s: Likewise.
1413 * testsuite/binutils-all/mips/mips-note-2r-n32.d: Update expected
1415 * testsuite/binutils-all/mips/mips-note-2r-n64.d: Likewise.
1416 * testsuite/binutils-all/mips/mips-note-2r.d: Likewise.
1417 * testsuite/binutils-all/note-2-32.d: Likewise.
1418 * testsuite/binutils-all/note-2-64.d: Likewise.
1419 * testsuite/binutils-all/note-3-32.d: Likewise.
1420 * testsuite/binutils-all/note-3-64.d: Likewise.
1421 * testsuite/binutils-all/note-4-64.s: New test. Checks v3 notes.
1422 * testsuite/binutils-all/note-4-32.s: New test.
1423 * testsuite/binutils-all/note-4-64.d: New test result file.
1424 * testsuite/binutils-all/note-4-32.d: New test result file.
1426 2018-01-03 Alan Modra <amodra@gmail.com>
1428 Update year range in copyright notice of all files.
1430 For older changes see ChangeLog-2017
1432 Copyright (C) 2018 Free Software Foundation, Inc.
1434 Copying and distribution of this file, with or without modification,
1435 are permitted in any medium without royalty provided the copyright
1436 notice and this notice are preserved.
1442 version-control: never