1 2018-11-09 Hafiz Abid Qadeer <abidh@codesourcery.com>
3 * configure: Regenerate.
5 2018-11-09 Mathias <m4tze@exitno.de>
7 * strings.c (print_strings): Check for multibyte encodings.
8 * binutils-all/strings-1.bin: New file. Test binary for string decoding.
9 * testsuite/binutils-all/strings.exp: New file. Test the strings program.
10 * testsuite/config/default.exp (STRINGS): Define if not provided
12 (STRINGSFLAGS): Likewise.
14 2018-11-07 Masatake Yamato <yamato@redhat.com>
16 * objdump.c (long_options): Have the --disassemble option take an
18 (usage): Add description for the `symbol' argument to the
20 (disasm_sym): New file private variable.
21 (struct objdump_disasm_info): New field `symbol'.
22 (disassemble_section): Introduce `do_print' local variable
23 to control whether objdump displays the result of disassembling
25 (main): Set `symbol' file private variable if the option argument
26 for the --disassemble option is given.
27 * doc/binutils.texi (objdump): Add description for the option
29 * NEWS: Mention the new feature.
30 * testsuite/binutils-all/objdump.exp: Add tests of the -d and
31 --disassemble=<symbol> options.
32 * testsuite/binutils-all/bintest.s: Add more symbols and code.
33 * testsuite/binutils-all/readelf.s: Update expected output.
34 * testsuite/binutils-all/readelf.ss-64: Likewise.
35 * testsuite/binutils-all/readelf.ss-mips: Likewise.
36 * testsuite/binutils-all/readelf.ss-tmips: Likewise.
38 2018-11-07 Nick Clifton <nickc@redhat.com>
40 * po/pt.po: Updated Portuguese translation.
42 2018-11-06 Roman Bolshakov <r.bolshakov@yadro.com>
43 Saagar Jha <saagar@saagarjha.com>
46 * od-macho.c (printf_version): New.
47 (dump_load_command): Use it to print version. Print sdk version. Print
48 version info for watchOS and tvOS. Print LC_NOTE, LC_BUILD_VERSION.
49 (dump_buld_version): New.
50 (bfd_mach_o_platform_name): New
51 (bfd_mach_o_tool_name): New
53 2018-11-07 Yoshinori Sato <ysato@users.sourceforge.jp>
55 * testsuite/lib/binutils-common.exp: Special section name
58 2018-11-06 H.J. Lu <hongjiu.lu@intel.com>
60 * doc/binutils.texi: Document --enable-x86-feature and
61 --disable-x86-feature options for elfedit.
62 * elfedit.c: Include "config.h" and <sys/mman.h>.
63 (enable_x86_features): New.
64 (disable_x86_features): Likewise.
65 (update_gnu_property): Likewise.
66 (elf_x86_feature): Likewise.
67 (process_file): Call update_gnu_property on ET_EXEC or ET_DYN
69 (command_line_switch): Add OPTION_ENABLE_X86_FEATURE and
70 OPTION_DISABLE_X86_FEATURE.
71 (options): Add--enable-x86-feature and --disable-x86-feature.
73 (main): Handle OPTION_ENABLE_X86_FEATURE and
74 OPTION_DISABLE_X86_FEATURE.
76 2018-11-03 H.J. Lu <hongjiu.lu@intel.com>
78 * elfedit.c (update_elf_header): Move EI_MAG? check to ...
79 (get_file_header): Here.
81 2018-11-02 H.J. Lu <hongjiu.lu@intel.com>
83 * configure.ac (AC_FUNC_MMAP): New.
84 * config.in: Regenerated.
85 * configure: Likewise.
87 2018-11-02 Alan Modra <amodra@gmail.com>
89 * readelf.c (process_section_headers): Don't warn on a zero
90 sh_info or sh_link for any reloc section in an executable or
91 shared library. Do warn for .rel.dyn/.rela.dyn in ET_REL.
93 2018-11-01 Thomas Preud'homme <thomas.preudhomme@linaro.org>
95 * testsuite/config/default.exp: Define LD, LDFLAGS and
97 * testsuite/lib/binutils-common.exp (check_shared_lib_support): Moved
99 (run_dump_test): Set ld to $LD.
101 2018-10-18 Nick Clifton <nickc@redhat.com>
103 * doc/binutils.texi (readelf): Document alternatives to the
104 --unwind option if it is not supported for the target
107 2018-10-16 Alan Modra <amodra@gmail.com>
110 * readelf.c (display_raw_attribute): Correct assertion.
112 2018-10-15 Alan Modra <amodra@gmail.com>
115 * addr2line.c (main): Exit with fatal error if bfd_init
116 returns an unexpected value.
117 * ar.c (main): Likewise.
118 * dlltool.c (identify_dll_for_implib): Likewise.
119 * nm.c (main): Likewise.
120 * objcopy.c (main): Likewise.
121 * objdump.c (main): Likewise.
122 * size.c (main): Likewise.
123 * strings.c (main): Likewise.
124 * windmc.c (main): Likewise.
125 * windres.c (main): Likewise.
127 2018-10-11 Jordan Rupprecht <rupprecht@google.com>
128 Nick Clifton <nickc@redhat.com>
130 * objcopy.c (copy_main): Issue a fata error if the
131 --keep-global-symbol(s) and the --globalize-symbol(s) options are
133 * doc/binutils.texi: Document that the two options are
135 * testsuite/binutils-all/copy-5.d: New test.
136 * testsuite/binutils-all/objcopy.exp: Run the new test.
138 2018-10-10 Helge Deller <deller@gmx.de>
139 Alan Modra <amodra@gmail.com>
141 * readelf.c (hppa_process_unwind): Don't use eh_addr_size to
142 calculate number of entries.
143 (slurp_hppa_unwind_table): Don't use eh_addr_size here either.
145 2018-10-10 Alan Modra <amodra@gmail.com>
147 * objdump.c (dump_dwarf): Set s12z eh_addr_size to 4.
149 2018-10-08 Andreas Schwab <schwab@suse.de>
151 * readelf.c (is_32bit_pcrel_reloc): Handle R_RISCV_32_PCREL.
153 2018-10-03 Nick Clifton <nickc@redhat.com>
155 * po/pt.po: Updated Portuguese translation.
156 * po/fr.po: Updated French translation.
158 2018-09-22 Alan Modra <amodra@gmail.com>
160 * readelf.c (apply_relocations): Don't return FALSE for warnings.
162 2018-09-20 Nelson Chu <nelson.chu1990@gmail.com>
164 * testsuite/binutils-all/objcopy.exp: Set the unsupported reloc number
165 from 215 to 255 for NDS32.
167 2018-09-17 H.J. Lu <hongjiu.lu@intel.com>
169 * objcopy.c (strip_specific_buffer): New.
170 (strip_unneeded_buffer): Likewise.
171 (keep_specific_buffer): Likewise.
172 (localize_specific_buffer): Likewise.
173 (globalize_specific_buffer): Likewise.
174 (keepglobal_specific_buffer): Likewise.
175 (weaken_specific_buffer): Likewise.
176 (add_specific_symbols): Add an argument to return pointer to
178 (copy_main): Update add_specific_symbols to update pointers to
179 allocated buffer. Free pointers to allocated buffer before
182 2018-09-17 Alan Modra <amodra@gmail.com>
184 * objcopy.c (handle_remove_section_option): Don't require a dot
185 after .rela and .rel to handle a possible relocation section.
186 * testsuite/binutils-all/remove-relocs-07.s,
187 * testsuite/binutils-all/remove-relocs-07.d,
188 * testsuite/binutils-all/remove-relocs-08.d: New tests.
189 * testsuite/binutils-all/remove-relocs-01.d,
190 * testsuite/binutils-all/remove-relocs-04.d,
191 * testsuite/binutils-all/remove-relocs-05.d,
192 * testsuite/binutils-all/remove-relocs-06.d: Exclude mips64-openbsd.
194 2018-09-17 Alan Modra <amodra@gmail.com>
196 * testsuite/lib/binutils-common.exp (is_som_format): New proc.
197 (run_dump_test): Correct target test for alternate .comm syntax.
198 (get_standard_section_names): Handle som format.
199 * testsuite/lib/utils-lib.exp (default_binutils_assemble_flags):
200 Correct target test for alternate .comm syntax.
202 2018-09-17 Alan Modra <amodra@gmail.com>
204 * testsuite/binutils-all/strip-13mips64.s: Add section flags
206 * testsuite/binutils-all/strip-13rel.s: Likewise.
207 * testsuite/binutils-all/strip-13rela.s: Likewise.
208 * testsuite/binutils-all/strip-14mips64.s: Likewise.
209 * testsuite/binutils-all/strip-14rel.s: Likewise.
210 * testsuite/binutils-all/strip-14rela.s: Likewise.
211 * testsuite/binutils-all/strip-15mips64.s: Likewise.
212 * testsuite/binutils-all/strip-15rel.s: Likewise.
213 * testsuite/binutils-all/strip-15rela.s: Likewise.
215 2018-09-17 Nick Clifton <nickc@redhat.com>
217 * testsuite/binutils-all/compress.exp: Rename second "objcopy
218 zlib-gnu compress debug sections 3" test to "objcopy zlib-gabi
219 compress debug sections 3" and use gabi object files instead
221 * testsuite/binutils-all/objcopy.exp: Add suffix to the names
222 of the "ELF group" tests.
223 * testsuite/binutils-all/readelf.exp (proc readelf_find_size):
224 Add an iteration parameter and include it in the name of the
225 test. Update callers to include an iteration count.
227 2018-09-15 Alan Modra <amodra@gmail.com>
229 * testsuite/binutils-all/add-symbol.d: Add "section_subst: no".
230 * testsuite/binutils-all/elfedit.exp: Don't set tempfile or copyfile.
231 * testsuite/binutils-all/symbols-1.d,
232 * testsuite/binutils-all/symbols-2.d,
233 * testsuite/binutils-all/symbols-3.d,
234 * testsuite/binutils-all/symbols-4.d: Quote '*' and '!'.
235 * testsuite/binutils-all/add-empty-section.d,
236 * testsuite/binutils-all/add-section.d,
237 * testsuite/binutils-all/elfedit.exp,
238 * testsuite/binutils-all/note-1.d,
239 * testsuite/binutils-all/pr23633.d: Add $subdir after $srcdir.
240 * testsuite/config/default.exp (AS, ASFLAGS): Define.
241 * testsuite/config/hppa.sed: Handle all common symbols.
242 * testsuite/lib/binutils-common.exp (run_dump_test): New proc,
243 merged from three other versions.
244 (slurp_options, file_contents, set_file_contents): Likewise.
245 (big_or_little_endian, get_standard_section_names): Likewise.
246 * testsuite/lib/utils-lib.exp (run_dump_test): Delete.
247 (slurp_options, proc file_contents): Delete.
248 (get_standard_section_names): Delete.
250 2018-09-15 Alan Modra <amodra@gmail.com>
252 * testsuite/binutils-all/copy-2.d,
253 * testsuite/binutils-all/copy-3.d,
254 * testsuite/binutils-all/copy-4.d,
255 * testsuite/binutils-all/elfedit-1.d,
256 * testsuite/binutils-all/note-1.d,
257 * testsuite/binutils-all/note-2-64.d,
258 * testsuite/binutils-all/strip-11.d,
259 * testsuite/binutils-all/strip-13.d,
260 * testsuite/binutils-all/strip-14.d,
261 * testsuite/binutils-all/testranges.d,
262 * testsuite/binutils-all/x86-64/pr23494a-x32.d,
263 * testsuite/binutils-all/x86-64/pr23494a.d,
264 * testsuite/binutils-all/x86-64/pr23494b-x32.d,
265 * testsuite/binutils-all/x86-64/pr23494b.d,
266 * testsuite/binutils-all/x86-64/pr23494c-x32.d,
267 * testsuite/binutils-all/x86-64/pr23494c.d,
268 * testsuite/binutils-all/x86-64/pr23494d-x32.d,
269 * testsuite/binutils-all/x86-64/pr23494d.d,
270 * testsuite/binutils-all/x86-64/pr23494e-x32.d,
271 * testsuite/binutils-all/x86-64/pr23494e.d,
272 * testsuite/lib/utils-lib.exp (run_dump_test): Replace not-target
273 and not-skip with notarget and noskip.
275 2018-09-15 Alan Modra <amodra@gmail.com>
277 * testsuite/binutils-all/group-7a.d,
278 * testsuite/binutils-all/group-7b.d,
279 * testsuite/binutils-all/group-7c.d,
280 * testsuite/binutils-all/symbols-1.d,
281 * testsuite/binutils-all/symbols-2.d,
282 * testsuite/binutils-all/symbols-3.d,
283 * testsuite/binutils-all/symbols-4.d: Remove DUMPPROG.
285 2018-09-14 Alan Modra <amodra@gmail.com>
288 * testsuite/binutils-all/pr23633.d: Don't fail when assembler
289 generates sections other than .text.
291 2018-09-13 H.J. Lu <hongjiu.lu@intel.com>
294 * testsuite/binutils-all/objcopy.exp: Run pr23633.
295 * testsuite/binutils-all/pr23633.d: New file.
296 * testsuite/binutils-all/pr23633.list: Likewise.
297 * testsuite/binutils-all/pr23633.s: Likewise.
299 2018-09-13 Nick Clifton <nickc@redhat.com>
302 * objcopy.c (add_specific_symbols): Do not free the buffer at the
305 2018-09-10 Alan Modra <amodra@gmail.com>
308 * objcopy.c (handle_remove_section_option): Consider .rela and
309 .rel sections for stripping directly as well as attached to the
310 associated section they relocate.
311 * doc/binutils.texi (remove-relocations): Specify that this
312 option removes non-dynamic relocation sections.
313 * testsuite/binutils-all/objcopy.exp
314 (objcopy_remove_relocations_from_executable): New test.
316 2018-09-03 Nick Clifton <nickc@redhat.com>
318 * po/ja.po: Updated Japanese translation.
320 2018-08-31 H.J. Lu <hongjiu.lu@intel.com>
322 * testsuite/binutils-all/readelf.s-64: Adjusted for
323 .note.gnu.property section.
324 * testsuite/binutils-all/strip-3.d: Also strip
325 .note.gnu.property section.
327 2018-08-31 H.J. Lu <hongjiu.lu@intel.com>
329 * testsuite/binutils-all/i386/compressed-1b.d: Pass
330 -mx86-used-note=no to assembler.
331 * testsuite/binutils-all/i386/compressed-1c.d: Likewise.
332 * testsuite/binutils-all/x86-64/compressed-1b.d: Likewise.
333 * testsuite/binutils-all/x86-64/compressed-1c.d: Likewise.
334 * testsuite/binutils-all/i386/empty.d: Pass -mx86-used-note=yes
335 to assembler and update expected output from "readelf -n".
336 * testsuite/binutils-all/i386/ibt.d: Likewise.
337 * testsuite/binutils-all/i386/pr21231a.d: Likewise.
338 * testsuite/binutils-all/i386/pr21231b.d: Likewise.
339 * testsuite/binutils-all/i386/shstk.d: Likewise.
340 * testsuite/binutils-all/x86-64/empty-x32.d: Likewise.
341 * testsuite/binutils-all/x86-64/empty.d: Likewise.
342 * testsuite/binutils-all/x86-64/ibt-x32.d: Likewise.
343 * testsuite/binutils-all/x86-64/ibt.d: Likewise.
344 * testsuite/binutils-all/x86-64/pr21231a.d: Likewise.
345 * testsuite/binutils-all/x86-64/pr21231b.d: Likewise.
346 * testsuite/binutils-all/x86-64/pr23494a-x32.d: Likewise.
347 * testsuite/binutils-all/x86-64/pr23494a.d: Likewise.
348 * testsuite/binutils-all/x86-64/pr23494b-x32.d: Likewise.
349 * testsuite/binutils-all/x86-64/pr23494b.d: Likewise.
350 * testsuite/binutils-all/x86-64/pr23494c-x32.d: Likewise.
351 * testsuite/binutils-all/x86-64/pr23494c.d: Likewise.
352 * testsuite/binutils-all/x86-64/pr23494d-x32.d: Likewise.
353 * testsuite/binutils-all/x86-64/pr23494d.d: Likewise.
354 * testsuite/binutils-all/x86-64/pr23494e-x32.d: Likewise.
355 * testsuite/binutils-all/x86-64/pr23494e.d: Likewise.
356 * testsuite/binutils-all/x86-64/shstk-x32.d: Likewise.
357 * testsuite/binutils-all/x86-64/shstk.d: Likewise.
359 2018-08-30 H.J. Lu <hongjiu.lu@intel.com>
361 * readelf.c (process_section_headers): Treat SHT_FINI_ARRAY and
362 SHT_PREINIT_ARRAY as relocatable sections.
364 2018-08-30 Chenghua Xu <paul.hua.gm@gmail.com>
366 * MAINTAINERS: Add myself as a MIPS port maintainer.
368 2018-08-29 Chenghua Xu <paul.hua.gm@gmail.com>
370 * NEWS: Mention Loongson 2K1000 proccessor support.
371 * readelf.c (get_machine_flags): Handle gs264e.
373 2018-08-29 Chenghua Xu <paul.hua.gm@gmail.com>
375 * NEWS: Mention Loongson 3A2000/3A3000 proccessor support.
376 * readelf.c (get_machine_flags): Handle gs464e.
378 2018-08-29 Chenghua Xu <paul.hua.gm@gmail.com>
380 * NEWS: Mention Loongson 3A1000 proccessor support.
381 * readelf.c (get_machine_flags): Rename loongson-3a to gs464.
382 (print_mips_isa_ext): Delete AFL_EXT_LOONGSON_3A.
384 2018-08-29 Chenghua Xu <paul.hua.gm@gmail.com>
386 * readelf.c (print_mips_ases): Add Loongson EXT2 extension.
388 2018-08-29 Chenghua Xu <paul.hua.gm@gmail.com>
390 * readelf.c (print_mips_ases): Add Loongson EXT extension.
392 2018-08-29 Chenghua Xu <paul.hua.gm@gmail.com>
394 * readelf.c (print_mips_ases): Add CAM extension.
396 2018-08-27 H.J. Lu <hongjiu.lu@intel.com>
398 * readelf.c (decode_x86_isa): Print <None> if bitmask only
399 contains the GNU_PROPERTY_X86_UINT32_VALID bit.
400 (decode_x86_feature_1): Likewise.
401 (decode_x86_feature_2): Likewise.
402 (print_gnu_property_note): Don't mask out the
403 GNU_PROPERTY_X86_UINT32_VALID bit.
404 * testsuite/binutils-all/i386/pr21231b.d: Updated.
405 * testsuite/binutils-all/x86-64/pr21231b.d: Likewise.
407 2018-08-27 H.J. Lu <hongjiu.lu@intel.com>
409 * readelf.c (decode_x86_compat_isa): Break multi-statement line.
410 (decode_x86_isa): Likewise.
411 (decode_x86_feature_2): Likewise.
413 2018-08-25 H.J. Lu <hongjiu.lu@intel.com>
416 * readelf.c (get_symbol_version_string): Return _("<corrupt>")
417 for corrupt symbol version info.
419 2018-08-24 H.J. Lu <hongjiu.lu@intel.com>
421 * readelf.c (decode_x86_compat_isa): New function.
422 (decode_x86_feature_2): Likewise.
423 (decode_x86_isa): Updated for new X86_ISA_1_XXX bits.
424 (decode_x86_feature): Renamed to ...
425 (decode_x86_feature_1): This. Remove the type argument.
426 (print_gnu_property_note): Handle X86_COMPAT_ISA_1_USED,
427 X86_COMPAT_ISA_1_NEEDED, X86_UINT32_AND_LO, X86_UINT32_AND_HI,
428 X86_UINT32_OR_LO, X86_UINT32_OR_HI, X86_UINT32_OR_AND_LO and
429 X86_UINT32_OR_AND_HI instead of X86_ISA_1_USED, X86_ISA_1_NEEDED
430 and X86_FEATURE_1_AND.
431 * testsuite/binutils-all/i386/pr21231b.s: Updated to the current
432 GNU_PROPERTY_X86_ISA_1_USED and GNU_PROPERTY_X86_ISA_1_NEEDED
434 * testsuite/binutils-all/x86-64/pr21231b.s: Likewise.
435 * testsuite/binutils-all/x86-64/pr23494a.s: Likewise.
436 * testsuite/binutils-all/x86-64/pr23494b.s: Likewise.
437 * testsuite/binutils-all/x86-64/pr23494c.s: Likewise.
438 * testsuite/binutils-all/i386/pr21231b.d: Updated.
439 * testsuite/binutils-all/x86-64/pr21231b.d: Likewise.
440 * testsuite/binutils-all/x86-64/pr23494a-x32.d: Likewise.
441 * testsuite/binutils-all/x86-64/pr23494a.d: Likewise.
442 * testsuite/binutils-all/x86-64/pr23494c-x32.d: Likewise.
443 * testsuite/binutils-all/x86-64/pr23494c.d: Likewise.
444 * testsuite/binutils-all/x86-64/pr23494d-x32.d: Likewise.
445 * testsuite/binutils-all/x86-64/pr23494d.d: Likewise.
446 * testsuite/binutils-all/x86-64/pr23494e-x32.d: Likewise.
447 * testsuite/binutils-all/x86-64/pr23494e.d: Likewise.
449 2018-08-24 H.J. Lu <hongjiu.lu@intel.com>
451 * readelf.c (print_gnu_property_note): Check the
452 GNU_PROPERTY_X86_UINT32_VALID bit for invalid GNU property note.
454 2018-08-23 Alan Modra <amodra@gmail.com>
456 * readelf.c (get_ppc64_symbol_other): Return NULL if st_other
457 field contains unrecognised or reserved values. Handle
460 2018-08-23 H.J. Lu <hongjiu.lu@intel.com>
463 * Makefile.am (development.exp): New target.
464 (EXTRA_DEJAGNU_SITE_CONFIG): New.
465 (DISTCLEANFILES): Add development.exp.
466 * Makefile.in: Regenerated.
467 * testsuite/binutils-all/objcopy.exp (strip_test): Call
468 prune_warnings to prune BFD output.
469 (strip_test_with_saving_a_symbol): Likewise.
470 (objcopy_test_without_global_symbol): Likewise.
471 * testsuite/lib/binutils-common.exp (prune_warnings_extra):
473 (prune_warnings): Likewise.
475 2018-08-23 H.J. Lu <hongjiu.lu@intel.com>
477 * README-how-to-make-a-release: Document setting "experimental"
480 2018-08-22 Alan Modra <amodra@gmail.com>
482 * readelf.c (process_file_header): Assign updated values from
483 section_header[0] fields to e_phnum, e_shnum and e_shstrndx
484 during printing of header. Correct e_shstrndx range check.
485 Remove unnecessary casts and use %u rather than %ld for
486 unsigned int header fields. Don't print a random %lx when
487 reporting an unknown EI_VERSION.
489 2018-08-21 Nick Clifton <nickc@redhat.com>
491 * MAINTAINERS: Note that Arnold Metselaar has retired as the z80
494 2018-08-21 L. Simon <l.simon@samsung.com>
497 * readelf.c (hppa_process_unwind): Only dump the unwind table if
498 the data was successfully read in.
500 2018-08-18 Alan Modra <amodra@gmail.com>
502 * testsuite/lib/binutils-common.exp (is_elf64): Use directory of
503 input file for readelf.out.
505 * testsuite/binutils-all/objcopy.exp (elf64): Set new variable
506 from first result of is_elf64 test.
507 (reloc_format): Set using is_rela.
508 (strip-13): Pass RELOC and ELF64 to assembler.
509 (strip-14, strip-15): Use elf64 rather than calling is_elf64 again.
510 * testsuite/binutils-all/strip-13.d: Run for more targets.
511 * testsuite/binutils-all/strip-13mips64.s: Use RELOC and set
513 * testsuite/binutils-all/strip-13rel.s: Use RELOC and ELF64.
514 Don't add _NONE reloc.
515 * testsuite/binutils-all/strip-13rela.s: Likewise.
517 2018-08-10 H.J. Lu <hongjiu.lu@intel.com>
520 * testsuite/binutils-all/x86-64/pr23494c.s: New file.
521 * testsuite/binutils-all/x86-64/pr23494e-x32.d: Likewise.
522 * testsuite/binutils-all/x86-64/pr23494e.d: Likewise.
524 2018-08-10 H.J. Lu <hongjiu.lu@intel.com>
526 * testsuite/binutils-all/x86-64/pr23494a-x32.d: Skip nacl
528 * testsuite/binutils-all/x86-64/pr23494a.d: Likewise.
529 * testsuite/binutils-all/x86-64/pr23494b-x32.d: Likewise.
530 * testsuite/binutils-all/x86-64/pr23494b.d: Likewise.
531 * testsuite/binutils-all/x86-64/pr23494c-x32.d: Likewise.
532 * testsuite/binutils-all/x86-64/pr23494c.d: Likewise.
533 * testsuite/binutils-all/x86-64/pr23494d-x32.d: Likewise.
534 * testsuite/binutils-all/x86-64/pr23494d.d: Likewise.
536 2018-08-08 H.J. Lu <hongjiu.lu@intel.com>
539 * testsuite/binutils-all/x86-64/pr23494a-x32.d: New file.
540 * testsuite/binutils-all/x86-64/pr23494a.d: Likewise.
541 * testsuite/binutils-all/x86-64/pr23494a.s: Likewise.
542 * testsuite/binutils-all/x86-64/pr23494b-x32.d: Likewise.
543 * testsuite/binutils-all/x86-64/pr23494b.d: Likewise.
544 * testsuite/binutils-all/x86-64/pr23494b.s: Likewise.
545 * testsuite/binutils-all/x86-64/pr23494c-x32.d: Likewise.
546 * testsuite/binutils-all/x86-64/pr23494c.d: Likewise.
547 * testsuite/binutils-all/x86-64/pr23494d-x32.d: Likewise.
548 * testsuite/binutils-all/x86-64/pr23494d.d: Likewise.
550 2018-08-08 Kevin Buettner <kevinb@redhat.com>
552 * dwarf.c (decode_location_expresion): Add case for
553 DW_OP_GNU_variable_value.
555 2018-08-06 Claudiu Zissulescu <claziss@synopsys.com>
557 * readelf.c (display_arc_attribute): Print Tag_ARC_ATR_version.
559 2018-08-03 Nick Clifton <nickc@redhat.com>
561 * objcopy.c (merge_gnu_build_notes): Delete empty notes. Merge
562 identical function notes.
564 2018-08-01 Nick Clifton <nickc@redhat.com>
566 * README-how-to-make-a-release: Add note about regenerating the
567 info files prior to the release.
569 2018-07-30 Andrew Jenner <andrew@codesourcery.com>
571 * MAINTAINERS (C-SKY): Add Yunhai Shang as co-maintainer.
573 2018-07-30 Andrew Jenner <andrew@codesourcery.com>
575 * MAINTAINERS (C-SKY): Add Lifang Xia as maintainer.
577 2018-07-30 Andrew Jenner <andrew@codesourcery.com>
579 * readelf.c: Include elf/csky.h.
580 (guess_is_rela): Handle EM_CSKY.
581 (dump_relocations): Likewise.
582 (get_machine_name): Likewise.
583 (is_32bit_abs_reloc): Likewise.
585 2018-07-25 Nick Clifton <nickc@redhat.com>
587 * rdcoff.c (parse_coff_struct_type): Free fields array upon early
589 (parse_coff_enum_type): Free names and vals arrays upon early
591 * rddbg.c (read_section_stabs_debugging_info): Free shandle and
592 strings and stabs arrays upon early exit.
593 * readelf.c (get_32bit_section_headers): Free shdrs structure upon
595 (get_64bit_section_headers): Likewise.
596 (get_32bit_elf_symbols): Generate an error if multiple symbol
597 table index sections are associated with the same symbol section.
598 (get_64bit_elf_symbols): Likewise.
599 (process_dynamic_section): Generate an error if there are multiple
600 dynamic symbol table sections, multiple dynamic string tables or
601 multiple dynamic symbol information sections.
603 2018-07-24 Nick Clifton <nickc@redhat.com>
605 * po/sv.po: Updated Swedish translation.
607 2018-07-24 Alan Modra <amodra@gmail.com>
610 * dwarf.c (display_formatted_table): Replace "what" parameter
611 with "is_dir". Expand messages. Fix capitalisation.
612 * testsuite/binutils-all/dw5.W: Update expected output.
614 2018-07-24 Alan Modra <amodra@gmail.com>
617 * elfcomm.h (struct archive_info): Rename uses_64bit_indicies
618 to uses_64bit_indices.
619 * elfcomm.c (setup_archive): Update uses of above.
620 * readelf.c (process_archive): Likewise.
621 (get_section_type_name): Rename indicies to indices.
622 (get_32bit_elf_symbols, get_64bit_elf_symbols): Likewise.
623 (process_section_groups): Likewise.
625 2018-07-20 Maciej W. Rozycki <macro@mips.com>
627 * MAINTAINERS: Update my e-mail address, downgrade to MIPS I-IV
630 2018-07-20 Nick Clifton <nickc@redhat.com>
632 * objcopy.c (add_specific_symbols): Free buffer on exit.
633 (add_redefine_syms_file): Close file handle on exit.
634 (copy_object): Close file handle on early exit.
635 Free buffer on early exit.
636 Free gaps buffers once they are no longer needed.
637 * dwarf.c (display_debug_frames): Free allocated memory on exit.
638 (load_separate_debug_info): Free allocate memory on early exit.
640 2018-07-20 Chenghua Xu <paul.hua.gm@gmail.com>
641 Maciej W. Rozycki <macro@mips.com>
643 * readelf.c (print_mips_ases): Add MMI extension.
645 2018-07-19 DJ Delorie <dj@redhat.com>
647 * MAINTAINERS (RL78, RX): Remove myself as maintainer.
649 2018-07-19 Nick Clifton <nickc@redhat.com>
651 * dwarf.c (read_cie): Free allocated memory before returning with
654 2018-07-16 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
656 * readelf.c (get_note_type): Fix typo in NT_PPC_TM_CVSX note
659 2018-07-16 Nick Clifton <nickc@redhat.com>
661 * README-how-to-make-a-release: Add note to check for new top
662 level files and add them to the src-release.sh script.
664 2018-07-14 Nick Clifton <nickc@redhat.com>
666 * README-how-to-make-a-release: Updated with corrections based on
667 the 2.31 release experience.
669 2018-07-12 Francois H. Theron <francois.theron@netronome.com>
671 * readelf.c (process_section_headers): Don't print section type
672 twice for --section-details.
674 2018-07-10 Alan Modra <amodra@gmail.com>
676 * testsuite/lib/binutils-common.exp (supports_gnu_unique): Return
679 2018-07-06 Nick Clifton <nickc@redhat.com>
681 * readelf.c (same_section): New function.
682 (print_gnu_build_attribute_description): Do not complain about
683 gaps that cross a section boundary.
685 2018-07-05 Nick Clifton <nickc@redhat.com>
687 * po/bg.po: Updated Bulgarian translation.
689 2018-07-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
691 * NEWS: Use command-line consistently when used in a compount word.
692 * doc/binutils.texi: Likewise and fix trailing whitespace on same
695 2018-06-26 Nick Clifton <nickc@redhat.com>
697 * po/sv.po: Updated Swedish translation.
698 * po/uk.po: Updated Ukranian translation.
700 2018-06-26 Nick Clifton <nickc@redhat.com>
702 * doc/binutils.texi: Fix spelling mistakes.
703 * README--how-to-make-a-release: Likewise.
705 2018-06-25 Tom Tromey <tom@tromey.com>
707 * dwarf-mode.el (dwarf-mode-syntax-table): New variable.
710 2018-06-24 Nick Clifton <nickc@redhat.com>
712 * README-how-to-make-a-release: Update with experiences from
714 * po/binutils.pot: Regenerate.
715 * configure: Regenerate.
717 2018-06-24 Nick Clifton <nickc@redhat.com>
720 * NEWS: Add marker for 2.31.
722 2018-06-21 Alan Modra <amodra@gmail.com>
724 * doc/Makefile.am (AUTOMAKE_OPTIONS): Add "foreign".
725 * doc/Makefile.in: Regenerate.
727 2018-06-19 Simon Marchi <simon.marchi@ericsson.com>
729 * configure.ac: Remove AC_PREREQ.
730 * doc/Makefile.am (AUTOMAKE_OPTIONS): Remove cygnus, add
731 info-in-builddir no-texinfo.tex.
732 * Makefile.in: Re-generate.
733 * aclocal.m4: Re-generate.
734 * config.in: Re-generate.
735 * configure: Re-generate.
736 * doc/Makefile.in: Re-generate.
738 2018-06-19 Andreas Schwab <schwab@suse.de>
740 * readelf.c (is_16bit_abs_reloc): Handle R_RISCV_SET16.
741 (is_8bit_abs_reloc): New function.
742 (is_6bit_abs_reloc): New function.
743 (is_6bit_inplace_sub_reloc): New function.
744 (apply_relocations): Use them. Handle 6-bit relocations.
746 2018-06-14 Faraz Shahbazker <Faraz.Shahbazker@mips.com>
748 * readelf.c (print_mips_ases): Add GINV extension.
750 2018-06-14 H.J. Lu <hongjiu.lu@intel.com>
753 * readelf.c (get_symbol_version_string): Check if the first
754 symbol version is base version.
756 2018-06-13 Scott Egerton <scott.egerton@imgtec.com>
757 Faraz Shahbazker <Faraz.Shahbazker@mips.com>
759 * readelf.c (print_mips_ases): Add CRC.
761 2018-06-13 Nick Clifton <nickc@redhat.com>
763 * doc/binutils.texi (objdump): Add missing closing square
764 parenthesis to listing of objcopy's command line options.
766 2018-06-11 Nick Clifton <nickc@redhat.com>
768 * po/es.po: Updated Spanish translation.
770 2018-06-01 H.J. Lu <hongjiu.lu@intel.com>
772 * configure: Regenerated.
774 2018-05-31 Alan Modra <amodra@gmail.com>
776 * testsuite/binutils-all/compress.exp (test_gnu_debuglink): Don't
777 set CC_FOR_TARGET. Run test non-native.
778 * testsuite/binutils-all/objdump.exp (test_build_id_debuglink):
780 (test_follow_debuglink): Run test non-native.
782 2018-05-30 Ant Bikeneev <ant.bikineev@gmail.com>
785 * ar.c (display_offsets): New variable.
786 (usage): Add description of 'O' operator.
787 (decode_option): Handle 'O' operator.
788 (print_descr): Pass display_offsets to print_arelt_descr.
789 * arsup.c: Update call to printy_arelt_descr.
790 * objdump.c: Likewise.
791 * bucomm.c (print_arelt_descr): If offsets parameter is true then
792 display offset of archive element within the archive.
793 * bucomm.h: Update prototype for print_arelt_descr.
794 * doc/binutils.texi: Update description of ar command.
795 * NEWS: Mention the new feature.
796 * testsuite/binutils-all/ar.exp: Add text of new feature.
798 2018-05-28 Alan Modra <amodra@gmail.com>
801 * testsuite/binutils-all/compress.exp (test_gnu_debuglink): Return
802 unsupported rather than fail on compile errors.
803 * testsuite/binutils-all/objdump.exp (test_build_id_debuglink):
804 Likewise. Save and restore CFLAGS_FOR_TARGET.
806 2018-05-18 Kito Cheng <kito.cheng@gmail.com>
808 * readelf.c (get_machine_flags): Handle EF_RISCV_RVE.
810 2018-05-18 John Darrington <john@darrington.wattle.id.au>
812 * readelf.c: Add support for s12z architecture.
813 * testsuite/lib/binutils-common.exp (is_elf_format): Excluse s12z
816 2018-05-15 Tamar Christina <tamar.christina@arm.com>
819 * doc/binutils.texi (-M): Document AArch64 options.
821 2018-05-15 Tamar Christina <tamar.christina@arm.com>
824 * doc/binutils.texi (-M): Document AArch64 options.
825 * NEWS: Document notes and warnings.
827 2018-05-15 Alan Modra <amodra@gmail.com>
829 * testsuite/lib/binutils-common.exp (is_elf_format): Add chorus,
830 cloudabi, fuchsia, kaos and nto. Merge netbsdelf* into *elf*,
831 and *uclinux* into *linux*.
832 * testsuite/binutils-all/objcopy.exp: Accept armeb for rel
833 strip-13 test, exclude arm-vxworks and arm-windiss.
835 2018-05-10 John Darrington <john@darrington.wattle.id.au>
837 * readelf.c (get_machine_name): EM_S12Z - handle new case.
839 2018-05-09 Alan Modra <amodra@gmail.com>
841 * od-macho.c (dump_unwind_encoding_x86): Fix typo in last patch.
843 2018-05-09 Sebastian Rasmussen <sebras@gmail.com>
845 * od-macho.c (dump_unwind_encoding_x86): Adjust for macro renaming.
847 2018-05-08 Alan Modra <amodra@gmail.com>
850 * objcopy.c (is_strip_section): Strip groups without a valid
853 2018-05-07 Alan Modra <amodra@gmail.com>
856 * objcopy.c (group_signature): Don't accept groups that use a
857 symbol table other than the one we've read.
859 2018-04-30 Francois H. Theron <francois.theron@netronome.com>
861 * readelf.c: Very basic support for EM_NFP and its section types.
862 * testsuite/binutils-all/nfp: New directory.
863 * testsuite/binutils-all/nfp/objdump.exp: New file. Run new
865 * testsuite/binutils-all/nfp/test2_ctx8.d: New file.
866 * testsuite/binutils-all/nfp/test2_no-pc_ctx4.d: New file.
867 * testsuite/binutils-all/nfp/test1.d: New file.
868 * testsuite/binutils-all/nfp/nfp6000.nffw: New file.
869 * testsuite/binutils-all/nfp/test2_nfp6000.nffw: New file.
870 * NEWS: Mention the new support.
872 2018-04-27 Maciej W. Rozycki <macro@mips.com>
874 * testsuite/lib/binutils-common.exp (match_target): New procedure.
875 * testsuite/lib/utils-lib.exp (run_dump_test): Use it in place
876 of `istarget' for matching with `target', `not-target', `skip'
877 and `not-skip' options.
879 2018-04-26 Nick Clifton <nickc@redhat.com>
881 * readelf.c (is_32bit_abs_reloc): Support R_PARISC_DIR32 as a
882 32-bit absolute reloc for the HPPA target.
883 * testsuite/binutils-all/note-5.d: New test.
884 * testsuite/binutils-all/note-5.s: Source file for new test.
885 * testsuite/binutils-all/objcopy.exp: Run new test.
887 2018-04-25 Christophe Lyon <christophe.lyon@st.com>
889 * testsuite/binutils-all/elfedit-2.d: Accept arm*-*-uclinuxfdpiceabi.
890 * testsuite/binutils-all/elfedit-3.d: Likewise.
891 * testsuite/binutils-all/objcopy.exp: Likewise.
892 * testsuite/binutils-all/strip-3.d: Likewise.
893 * testsuite/lib/binutils-common.exp: Likewise.
895 2018-04-25 Christophe Lyon <christophe.lyon@st.com>
896 Mickaël Guêné <mickael.guene@st.com>
898 * readelf.c (decode_ARM_machine_flags): Support EF_ARM_PIC.
899 (get_osabi_name): Support ELFOSABI_ARM_FDPIC.
901 2018-04-25 Alan Modra <amodra@gmail.com>
903 * testsuite/binutils-all/arm/objdump.exp: Remove arm-aout and
905 * testsuite/binutils-all/objcopy.exp: Likewise.
906 * testsuite/lib/binutils-common.exp: Likewise.
908 2018-04-18 Nick Clifton <nickc@redhat.com>
911 * dwarf.c (read_and_display_attr_value): Replace assertions with
912 test and warning message.
914 2018-04-18 Alan Modra <amodra@gmail.com>
916 * testsuite/lib/binutils-common.exp: Remove support for assorted
919 2018-04-17 Nick Clifton <nickc@redhat.com>
922 * readelf.c (print_symbol): If the width is zero, return straight
926 * dwarf.c (process_cu_tu_index): Test for a potential buffer
927 overrun before copying signature pointer.
929 2018-04-17 Alan Modra <amodra@gmail.com>
931 * readelf.c: Revert 2018-04-16 and 2018-04-11 changes.
933 2018-04-16 Alan Modra <amodra@gmail.com>
935 * readelf.c (get_machine_name): Correct typo.
937 2018-04-16 Alan Modra <amodra@gmail.com>
939 * configure.ac: Remove arm-epoc-pe support.
940 * dlltool.c: Likewise.
941 * configure: Regenerate.
943 2018-04-16 Alan Modra <amodra@gmail.com>
945 * testsuite/lib/binutils-common.exp: Remove sparc-aout and
948 2018-04-16 Alan Modra <amodra@gmail.com>
950 * testsuite/binutils-all/copy-2.d: Remove m68k-aout and m68k-coff
952 * testsuite/binutils-all/copy-3.d: Likewise.
953 * testsuite/binutils-all/objcopy.exp: Likewise.
954 * testsuite/lib/binutils-common.exp: Likewise.
956 2018-04-16 Alan Modra <amodra@gmail.com>
958 * testsuite/binutils-all/objcopy.exp: Remove sh5 and sh64 support.
960 2018-04-16 Alan Modra <amodra@gmail.com>
962 * testsuite/binutils-all/objcopy.exp: Remove w65 support.
964 2018-04-16 Alan Modra <amodra@gmail.com>
966 * testsuite/binutils-all/objdump.exp: Remove we32k support.
968 2018-04-16 Alan Modra <amodra@gmail.com>
970 * MAINTAINERS (Mark Kettenis): Move to past maintainers.
971 * testsuite/binutils-all/objdump.exp: Remove m88k support.
973 2018-04-16 Alan Modra <amodra@gmail.com>
975 * readelf.c: Remove i370 support.
976 * testsuite/binutils-all/objdump.exp: Likewise.
978 2018-04-16 Alan Modra <amodra@gmail.com>
980 * testsuite/binutils-all/objcopy.exp: Remove h8500 support.
981 * testsuite/lib/binutils-common.exp: Likewise.
983 2018-04-16 Alan Modra <amodra@gmail.com>
985 * testsuite/binutils-all/objcopy.exp: Remove h8300-coff support.
987 2018-04-16 Alan Modra <amodra@gmail.com>
989 * Makefile.am: Remove IEEE 695 support.
991 * doc/binutils.texi: Likewise.
992 * makefile.vms: Likewise.
993 * objcopy.c: Likewise.
994 * objdump.c: Likewise.
997 * Makefile.in: Regenerate.
998 * po/POTFILES.in: Regenerate.
1000 2018-04-16 Alan Modra <amodra@gmail.com>
1002 * testsuite/binutils-all/copy-2.d: Remove newsos3 support.
1003 * testsuite/binutils-all/nm.exp: Likewise.
1005 2018-04-16 Alan Modra <amodra@gmail.com>
1007 * .gitignore: Remove netware support.
1008 * Makefile.am: Likewise.
1009 * configure.ac: Likewise.
1010 * doc/Makefile.am: Likewise.
1011 * doc/binutils.texi: Likewise.
1012 * testsuite/binutils-all/nm.exp: Likewise.
1013 * nlmconv.c: Delete.
1014 * nlmconv.h: Delete.
1015 * nlmheader.y: Delete.
1016 * Makefile.in: Regenerate.
1017 * configure: Regenerate.
1018 * doc/Makefile.in: Regenerate.
1019 * po/POTFILES.in: Regenerate.
1021 2018-04-16 Alan Modra <amodra@gmail.com>
1023 * testsuite/binutils-all/objdump.exp: Remove tahoe support.
1025 2018-04-14 Alan Modra <amodra@gmail.com>
1027 * readelf.c (get_machine_name): Revert 2018-04-11 change.
1029 2018-04-12 Nick Clifton <nickc@redhat.com>
1032 * readelf.c (process_dynamic_section): Correct dynamic string
1033 table size calculation.
1035 2018-04-11 Alan Modra <amodra@gmail.com>
1037 * ieee.c: Remove i960 support.
1038 * od-macho.c: Remove i860 support.
1039 * readelf.c: Remove i860 and i960 support.
1040 * testsuite/binutils-all/objcopy.exp: Likewise.
1041 * testsuite/binutils-all/objdump.exp: Likewise.
1042 * testsuite/lib/binutils-common.exp: Likewise.
1044 2018-04-11 Maciej W. Rozycki <macro@mips.com>
1046 * testsuite/lib/binutils-common.exp (is_elf_format): Also return
1047 1 for `*-*-lynxos*' and `*-*-symbianelf*' targets.
1049 2018-04-10 Alan Modra <amodra@gmail.com>
1051 * testsuite/binutils-all/objcopy.exp (strip-14, strip-15): Choose
1052 reloc=11 for pru and reloc=50 for nds32.
1053 * testsuite/binutils-all/strip-15.d: Accept 0xb reloc number.
1055 2018-04-09 Maciej W. Rozycki <macro@mips.com>
1057 * testsuite/binutils-all/strip-15.d: New test.
1058 * testsuite/binutils-all/strip-15rel.s: New test source.
1059 * testsuite/binutils-all/strip-15rela.s: New test source.
1060 * testsuite/binutils-all/strip-15mips64.s: New test source.
1061 * testsuite/binutils-all/objcopy.exp: Run the new test.
1063 2018-04-09 Maciej W. Rozycki <macro@mips.com>
1065 * testsuite/binutils-all/strip-14.d: New test.
1066 * testsuite/binutils-all/strip-14rel.s: New test source.
1067 * testsuite/binutils-all/strip-14rela.s: New test source.
1068 * testsuite/binutils-all/strip-14mips64.s: New test source.
1069 * testsuite/binutils-all/objcopy.exp: Run the new test.
1071 2018-04-06 Tom Tromey <tom@tromey.com>
1073 * dwarf.c (read_and_display_attr_value): Add missing DW_LANG
1074 constants from DWARF 5.
1076 2018-04-05 H.J. Lu <hongjiu.lu@intel.com>
1079 * configure: Regenerated.
1081 2018-04-05 Maciej W. Rozycki <macro@mips.com>
1083 * testsuite/binutils-all/strip-13mips64.s: Use `.dc.l' rather
1084 than `.dc.w' in second relocation.
1086 2018-04-05 Maciej W. Rozycki <macro@mips.com>
1088 * testsuite/binutils-all/strip-13.d: Also expect `unsupported
1089 relocation type 0x8f' error message.
1091 2018-04-05 Maciej W. Rozycki <macro@mips.com>
1093 * testsuite/binutils-all/strip-13.s: Rename to...
1094 * testsuite/binutils-all/strip-13rela.s: ... this.
1095 * testsuite/binutils-all/strip-13rel.s: New test source.
1096 * testsuite/binutils-all/strip-13mips64.s: New test source.
1097 * testsuite/binutils-all/strip-13.d: Remove `arm-*', `d10v-*',
1098 `dlx-*' and `xgate-*' from `not-target' list. Add `m6811-*' and
1099 `m68hc11-*' to `not-target' list.
1100 * testsuite/binutils-all/objcopy.exp: Switch between sources for
1103 2018-04-05 Maciej W. Rozycki <macro@mips.com>
1105 * testsuite/binutils-all/strip-13.s: Use 143 (0x8f) rather than
1106 241 (0xf1) for the relocation number and RELA addend.
1107 * testsuite/binutils-all/strip-13.d: Remove `hppa*-*' from the
1110 2018-04-04 John David Anglin <danglin@gcc.gnu.org>
1112 * MAINTAINERS: Update my e-mail address.
1114 2018-04-04 Nick Clifton <nickc@redhat.com>
1116 * MAINTAINERS: Move Jason Eckhardt to past maintainers section.
1118 2018-03-23 Nick Clifton <nickc@redhat.com>
1120 * readelf.c (get_symbol_for_build_attribute): Skip ARM mapping
1122 (print_gnu_build_attribute_description): If no file start symbol
1123 could be found, look for one two bytes into the file.
1124 * testsuite/binutils-all/note-4-64.s: Set the address of the file
1125 start symbol to two bytes into the file.
1126 * testsuite/binutils-all/note-4-32.s: Likewise.
1128 2018-03-21 H.J. Lu <hongjiu.lu@intel.com>
1130 * readelf.c (process_dynamic_section): Also dump DF_1_KMOD,
1131 DF_1_WEAKFILTER and DF_1_NOCOMMON.
1133 2018-03-20 Nick Clifton <nickc@redhat.com>
1135 * po/es.po: Updated Spanish translation.
1136 * po/ru.po: Updated Russian translation.
1138 2018-03-13 Nick Clifton <nickc@redhat.com>
1141 * stabs.c (pop_binincl): Fail if the file index is off the end of
1144 2018-03-13 Nick Clifton <nickc@redhat.com>
1147 * stabs.c (parse_number): Add p_end parameter and use it to check
1148 the validity of the pp parameter. Add checks to prevent walking
1149 off the end of the string buffer.
1150 (parse_stab_string): Likewise.
1151 (parse_stab_type): Likewise.
1152 (parse_stab_type_number): Likewise.
1153 (parse_stab_range_type): Likewise.
1154 (parse_stab_sun_builtin_type): Likewise.
1155 (parse_stab_sun_floating_type): Likewise.
1156 (parse_stab_enum_type): Likewise.
1157 (parse_stab_struct_type): Likewise.
1158 (parse_stab_baseclasses): Likewise.
1159 (parse_stab_struct_fields): Likewise.
1160 (parse_stab_cpp_abbrev): Likewise.
1161 (parse_stab_one_struct_field): Likewise.
1162 (parse_stab_members): Likewise.
1163 (parse_stab_tilde_field): Likewise.
1164 (parse_stab_array_type): Likewise.
1166 * parse_stab: Compute the end of the string and then pass it on to
1167 individual parser functions.
1169 2018-03-07 Paul Pluzhnikov <ppluzhnikov@google.com>
1172 * binutils/readelf.c (get_ver_flags): Expand buffer to avoid
1175 2018-03-07 Alan Modra <amodra@gmail.com>
1177 * configure.ac: Add objdump_private_desc_xcoff for rs6000.
1178 * configure: Regenerate.
1180 2018-03-05 H.J. Lu <hongjiu.lu@intel.com>
1183 * objdump.c (is_significant_symbol_name): Return TRUE for all
1185 (find_symbol_for_address): Replace linear search with binary
1186 search on dynamic relocations.
1188 2018-03-01 Nick Clifton <nickc@redhat.com>
1191 * dwarf.c (display_debug_ranges): Check that the offset loaded
1192 from the range_entry structure is valid.
1194 2018-03-01 Alan Modra <amodra@gmail.com>
1196 * configure.ac (ALL_LINGUAS): Add sr. Sort.
1197 * configure: Regenerate.
1199 2018-02-27 Nick Clifton <nickc@redhat.com>
1201 * po/pt.po: New Portuguese translation.
1202 * configure.ac (ALL_LINGUAS): Add pt.
1203 * configure: Regenerate.
1205 2018-02-27 Nick Clifton <nickc@redhat.com>
1208 * objcopy.c (copy_object): Check the error status after marking
1209 symbols used in relocations.
1210 * testsuite/binutils-all/strip-13.s: New test source file.
1211 * testsuite/binutils-all/strip-13.s: New test driver file.
1212 * testsuite/binutils-all/objcopy.exp: Run the new test.
1214 2018-02-26 Alan Modra <amodra@gmail.com>
1216 * testsuite/binutils-all/mips/mips-reginfo-n32.d,
1217 * testsuite/binutils-all/mips/mips-reginfo.d: Update.
1219 2018-02-23 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-20 Ronald Hoogenboom <hoogenboom30@zonnet.nl>
1226 * doc/binutils.texi (objcopy): Add missing closing square
1227 parenthesis to listing of objcopy's command line options.
1229 2018-02-19 Matthias Klose <doko@debian.org>
1231 * strings.c (long_options): Include-all-whitespace does not take
1234 2018-02-13 Alan Modra <amodra@gmail.com>
1237 * testsuite/binutils-all/group-7.s,
1238 * testsuite/binutils-all/group-7a.d,
1239 * testsuite/binutils-all/group-7b.d,
1240 * testsuite/binutils-all/group-7c.d: New tests.
1241 * testsuite/binutils-all/objcopy.exp: Run them.
1243 2018-02-08 Nick Clifton <nickc@redhat.com>
1246 * dwarf.c (load_separate_debug_file): Return early if the user is
1247 not interested in debug links.
1249 2018-02-06 Nick Clifton <nickc@redhat.com>
1252 * readelf.c (find_section): Replace assertion with test and return
1254 (find_section_by_address): Add test of section header table
1256 (find_section_by_type): Likewise.
1257 (find_section_in_set): Likewise.
1259 2018-02-05 Maciej W. Rozycki <macro@mips.com>
1261 * testsuite/binutils-all/mips/mips-reginfo.d: New test.
1262 * testsuite/binutils-all/mips/mips-reginfo-n32.d: New test.
1263 * testsuite/binutils-all/mips/mips-reginfo.s: New test source.
1264 * testsuite/binutils-all/mips/mips.exp: Run the new tests.
1266 2018-02-05 Maciej W. Rozycki <macro@mips.com>
1268 * testsuite/config/default.exp (binutils_run): Document
1269 `binutils_run_status'.
1270 * testsuite/lib/utils-lib.exp (default_binutils_run): Likewise,
1272 (run_dump_test): Add `error', `error_output', `warning' and
1273 `warning_output' options. Update documentation accordingly.
1275 2018-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
1277 * dwarf.c (dwarf_regnames_riscv): New register name table.
1278 (init_dwarf_regnames_riscv): New function.
1279 (init_dwarf_regnames): Add call to initialise RiscV register
1281 * dwarf.h (init_dwarf_regnames_riscv): Declare.
1282 * objdump.c (dump_dwarf): Add call to initialise RiscV register
1285 2018-02-01 Alan Modra <amodra@gmail.com>
1288 * objdump.c (load_specific_debug_section): Check for overflow
1289 when adding one to section size for a string section terminator.
1291 2018-01-30 Nick Clifton <nickc@redhat.com>
1294 * doc/binutils.texi (nm): Update description to point out that
1295 zero-initialized values can also be shown as type B, b, S or s
1296 since they can be stored in the BSS section.
1298 2018-01-30 Alan Modra <amodra@gmail.com>
1300 * objcopy.c (merge_gnu_build_notes): Use (bfd_vma) -1 as
1301 "artificially large" end address.
1303 2018-01-28 Nick Clifton <nickc@redhat.com>
1305 * README-how-to-make-a-release: Add note about checking gpg key
1306 and the results of gnupload.
1308 2018-01-27 Nick Clifton <nickc@redhat.com>
1310 * README-how-to-make-a-release: Add details on how to actually
1313 2018-01-26 Nick Clifton <nickc@redhat.com>
1315 * README-how-to-make-a-release: Add more details on updating
1318 2018-01-22 Maciej W. Rozycki <macro@mips.com>
1320 * doc/binutils.texi (objcopy): Fix a typo in `--rename-section'
1323 2018-01-22 Maciej W. Rozycki <macro@mips.com>
1325 * MAINTAINERS: Update my company e-mail address.
1327 2018-01-22 Nick Clifton <nickc@redhat.com>
1329 * po/sv.po: Updated Swedish translation.
1331 2018-01-18 Nick Clifton <nickc@redhat.com>
1333 * po/bg.po: Updated Bulgarian translation.
1335 2018-01-16 Joel Brobecker <brobecker@adacore.com>
1337 * README-how-to-make-a-release: Add reminder to update the
1338 branch name in gdbadmin's crontab on sourceware.
1340 2018-01-16 Joel Brobecker <brobecker@adacore.com>
1342 * README-how-to-make-a-release: Remove trailing spaces.
1344 2018-01-16 Nick Clifton <nickc@redhat.com>
1346 * po/fr.po: Updated French translation.
1348 2018-01-15 Nick Clifton <nickc@redhat.com>
1350 * po/uk.po: Updated Ukranian translation.
1352 2018-01-13 Nick Clifton <nickc@redhat.com>
1354 * README-how-to-make-a-release: Update notes.
1355 * po/binutils.pot: Regenerated.
1357 2018-01-13 Nick Clifton <nickc@redhat.com>
1359 * configure: Regenerate.
1361 2018-01-13 Nick Clifton <nickc@redhat.com>
1363 2.30 branch created.
1364 * NEWS: Add marker for 2.30.
1366 2018-01-12 Nick Clifton <nickc@redhat.com>
1368 * README-how-to-make-a-release: Add notes on how to make the
1369 branch and prelease snapshot.
1370 * BRANCHES: Add binutils-2_29-branch.
1372 2018-01-10 Nick Clifton <nickc@redhat.com>
1374 * MAINTAINERS: Note that it is now the configure.ac file and not
1375 the configure.in file that needs to be kept in sync with gcc.
1376 Add a note about sending patches for libiberty to gcc.
1378 2018-01-03 Nick Clifton <nickc@redhat.com>
1380 * objcopy.c (merge_gnu_build_notes): Add cast to maximum address
1383 2018-01-03 Nick Clifton <nickc@redhat.com>
1385 * objcopy.c (objcopy_internal_note): New structure.
1386 (gap_exists): New function.
1387 (is_open_note): New function.
1388 (is_func_note): New function.
1389 (is_64bit): New function.
1390 (merge_gnu_build_notes): Handle v3 notes. Do not merge
1391 if there are relocations against the notes.
1392 * readelf.c (get_note_type): Use short names for build attribute
1394 (print_symbol_for_build_attribute): Rename to
1395 get_symbol_for_build_attribute. Returns the found symbol rather
1397 (print_gnu_build_attribute_description): Maintain address ranges
1398 for function notes as well as global notes. Handle v3 notes.
1399 (print_gnu_build_attribute_name): Use more space for printing the
1401 * testsuite/binutils-all/note-2-32.s: Use .dc.l instead of .word.
1402 Eliminate symbol references in order to remove the need for
1404 * testsuite/binutils-all/note-2-64.s: Likewise.
1405 * testsuite/binutils-all/note-3-32.s: Add a size to the note_1
1407 * testsuite/binutils-all/note-3-64.s: Likewise.
1408 * testsuite/binutils-all/mips/mips-note-2r-n32.d: Update expected
1410 * testsuite/binutils-all/mips/mips-note-2r-n64.d: Likewise.
1411 * testsuite/binutils-all/mips/mips-note-2r.d: Likewise.
1412 * testsuite/binutils-all/note-2-32.d: Likewise.
1413 * testsuite/binutils-all/note-2-64.d: Likewise.
1414 * testsuite/binutils-all/note-3-32.d: Likewise.
1415 * testsuite/binutils-all/note-3-64.d: Likewise.
1416 * testsuite/binutils-all/note-4-64.s: New test. Checks v3 notes.
1417 * testsuite/binutils-all/note-4-32.s: New test.
1418 * testsuite/binutils-all/note-4-64.d: New test result file.
1419 * testsuite/binutils-all/note-4-32.d: New test result file.
1421 2018-01-03 Alan Modra <amodra@gmail.com>
1423 Update year range in copyright notice of all files.
1425 For older changes see ChangeLog-2017
1427 Copyright (C) 2018 Free Software Foundation, Inc.
1429 Copying and distribution of this file, with or without modification,
1430 are permitted in any medium without royalty provided the copyright
1431 notice and this notice are preserved.
1437 version-control: never