1 2018-11-07 Masatake Yamato <yamato@redhat.com>
3 * objdump.c (long_options): Have the --disassemble option take an
5 (usage): Add description for the `symbol' argument to the
7 (disasm_sym): New file private variable.
8 (struct objdump_disasm_info): New field `symbol'.
9 (disassemble_section): Introduce `do_print' local variable
10 to control whether objdump displays the result of disassembling
12 (main): Set `symbol' file private variable if the option argument
13 for the --disassemble option is given.
14 * doc/binutils.texi (objdump): Add description for the option
16 * NEWS: Mention the new feature.
17 * testsuite/binutils-all/objdump.exp: Add tests of the -d and
18 --disassemble=<symbol> options.
19 * testsuite/binutils-all/bintest.s: Add more symbols and code.
20 * testsuite/binutils-all/readelf.s: Update expected output.
21 * testsuite/binutils-all/readelf.ss-64: Likewise.
22 * testsuite/binutils-all/readelf.ss-mips: Likewise.
23 * testsuite/binutils-all/readelf.ss-tmips: Likewise.
25 2018-11-07 Nick Clifton <nickc@redhat.com>
27 * po/pt.po: Updated Portuguese translation.
29 2018-11-06 Roman Bolshakov <r.bolshakov@yadro.com>
30 Saagar Jha <saagar@saagarjha.com>
33 * od-macho.c (printf_version): New.
34 (dump_load_command): Use it to print version. Print sdk version. Print
35 version info for watchOS and tvOS. Print LC_NOTE, LC_BUILD_VERSION.
36 (dump_buld_version): New.
37 (bfd_mach_o_platform_name): New
38 (bfd_mach_o_tool_name): New
40 2018-11-07 Yoshinori Sato <ysato@users.sourceforge.jp>
42 * testsuite/lib/binutils-common.exp: Special section name
45 2018-11-06 H.J. Lu <hongjiu.lu@intel.com>
47 * doc/binutils.texi: Document --enable-x86-feature and
48 --disable-x86-feature options for elfedit.
49 * elfedit.c: Include "config.h" and <sys/mman.h>.
50 (enable_x86_features): New.
51 (disable_x86_features): Likewise.
52 (update_gnu_property): Likewise.
53 (elf_x86_feature): Likewise.
54 (process_file): Call update_gnu_property on ET_EXEC or ET_DYN
56 (command_line_switch): Add OPTION_ENABLE_X86_FEATURE and
57 OPTION_DISABLE_X86_FEATURE.
58 (options): Add--enable-x86-feature and --disable-x86-feature.
60 (main): Handle OPTION_ENABLE_X86_FEATURE and
61 OPTION_DISABLE_X86_FEATURE.
63 2018-11-03 H.J. Lu <hongjiu.lu@intel.com>
65 * elfedit.c (update_elf_header): Move EI_MAG? check to ...
66 (get_file_header): Here.
68 2018-11-02 H.J. Lu <hongjiu.lu@intel.com>
70 * configure.ac (AC_FUNC_MMAP): New.
71 * config.in: Regenerated.
72 * configure: Likewise.
74 2018-11-02 Alan Modra <amodra@gmail.com>
76 * readelf.c (process_section_headers): Don't warn on a zero
77 sh_info or sh_link for any reloc section in an executable or
78 shared library. Do warn for .rel.dyn/.rela.dyn in ET_REL.
80 2018-11-01 Thomas Preud'homme <thomas.preudhomme@linaro.org>
82 * testsuite/config/default.exp: Define LD, LDFLAGS and
84 * testsuite/lib/binutils-common.exp (check_shared_lib_support): Moved
86 (run_dump_test): Set ld to $LD.
88 2018-10-18 Nick Clifton <nickc@redhat.com>
90 * doc/binutils.texi (readelf): Document alternatives to the
91 --unwind option if it is not supported for the target
94 2018-10-16 Alan Modra <amodra@gmail.com>
97 * readelf.c (display_raw_attribute): Correct assertion.
99 2018-10-15 Alan Modra <amodra@gmail.com>
102 * addr2line.c (main): Exit with fatal error if bfd_init
103 returns an unexpected value.
104 * ar.c (main): Likewise.
105 * dlltool.c (identify_dll_for_implib): Likewise.
106 * nm.c (main): Likewise.
107 * objcopy.c (main): Likewise.
108 * objdump.c (main): Likewise.
109 * size.c (main): Likewise.
110 * strings.c (main): Likewise.
111 * windmc.c (main): Likewise.
112 * windres.c (main): Likewise.
114 2018-10-11 Jordan Rupprecht <rupprecht@google.com>
115 Nick Clifton <nickc@redhat.com>
117 * objcopy.c (copy_main): Issue a fata error if the
118 --keep-global-symbol(s) and the --globalize-symbol(s) options are
120 * doc/binutils.texi: Document that the two options are
122 * testsuite/binutils-all/copy-5.d: New test.
123 * testsuite/binutils-all/objcopy.exp: Run the new test.
125 2018-10-10 Helge Deller <deller@gmx.de>
126 Alan Modra <amodra@gmail.com>
128 * readelf.c (hppa_process_unwind): Don't use eh_addr_size to
129 calculate number of entries.
130 (slurp_hppa_unwind_table): Don't use eh_addr_size here either.
132 2018-10-10 Alan Modra <amodra@gmail.com>
134 * objdump.c (dump_dwarf): Set s12z eh_addr_size to 4.
136 2018-10-08 Andreas Schwab <schwab@suse.de>
138 * readelf.c (is_32bit_pcrel_reloc): Handle R_RISCV_32_PCREL.
140 2018-10-03 Nick Clifton <nickc@redhat.com>
142 * po/pt.po: Updated Portuguese translation.
143 * po/fr.po: Updated French translation.
145 2018-09-22 Alan Modra <amodra@gmail.com>
147 * readelf.c (apply_relocations): Don't return FALSE for warnings.
149 2018-09-20 Nelson Chu <nelson.chu1990@gmail.com>
151 * testsuite/binutils-all/objcopy.exp: Set the unsupported reloc number
152 from 215 to 255 for NDS32.
154 2018-09-17 H.J. Lu <hongjiu.lu@intel.com>
156 * objcopy.c (strip_specific_buffer): New.
157 (strip_unneeded_buffer): Likewise.
158 (keep_specific_buffer): Likewise.
159 (localize_specific_buffer): Likewise.
160 (globalize_specific_buffer): Likewise.
161 (keepglobal_specific_buffer): Likewise.
162 (weaken_specific_buffer): Likewise.
163 (add_specific_symbols): Add an argument to return pointer to
165 (copy_main): Update add_specific_symbols to update pointers to
166 allocated buffer. Free pointers to allocated buffer before
169 2018-09-17 Alan Modra <amodra@gmail.com>
171 * objcopy.c (handle_remove_section_option): Don't require a dot
172 after .rela and .rel to handle a possible relocation section.
173 * testsuite/binutils-all/remove-relocs-07.s,
174 * testsuite/binutils-all/remove-relocs-07.d,
175 * testsuite/binutils-all/remove-relocs-08.d: New tests.
176 * testsuite/binutils-all/remove-relocs-01.d,
177 * testsuite/binutils-all/remove-relocs-04.d,
178 * testsuite/binutils-all/remove-relocs-05.d,
179 * testsuite/binutils-all/remove-relocs-06.d: Exclude mips64-openbsd.
181 2018-09-17 Alan Modra <amodra@gmail.com>
183 * testsuite/lib/binutils-common.exp (is_som_format): New proc.
184 (run_dump_test): Correct target test for alternate .comm syntax.
185 (get_standard_section_names): Handle som format.
186 * testsuite/lib/utils-lib.exp (default_binutils_assemble_flags):
187 Correct target test for alternate .comm syntax.
189 2018-09-17 Alan Modra <amodra@gmail.com>
191 * testsuite/binutils-all/strip-13mips64.s: Add section flags
193 * testsuite/binutils-all/strip-13rel.s: Likewise.
194 * testsuite/binutils-all/strip-13rela.s: Likewise.
195 * testsuite/binutils-all/strip-14mips64.s: Likewise.
196 * testsuite/binutils-all/strip-14rel.s: Likewise.
197 * testsuite/binutils-all/strip-14rela.s: Likewise.
198 * testsuite/binutils-all/strip-15mips64.s: Likewise.
199 * testsuite/binutils-all/strip-15rel.s: Likewise.
200 * testsuite/binutils-all/strip-15rela.s: Likewise.
202 2018-09-17 Nick Clifton <nickc@redhat.com>
204 * testsuite/binutils-all/compress.exp: Rename second "objcopy
205 zlib-gnu compress debug sections 3" test to "objcopy zlib-gabi
206 compress debug sections 3" and use gabi object files instead
208 * testsuite/binutils-all/objcopy.exp: Add suffix to the names
209 of the "ELF group" tests.
210 * testsuite/binutils-all/readelf.exp (proc readelf_find_size):
211 Add an iteration parameter and include it in the name of the
212 test. Update callers to include an iteration count.
214 2018-09-15 Alan Modra <amodra@gmail.com>
216 * testsuite/binutils-all/add-symbol.d: Add "section_subst: no".
217 * testsuite/binutils-all/elfedit.exp: Don't set tempfile or copyfile.
218 * testsuite/binutils-all/symbols-1.d,
219 * testsuite/binutils-all/symbols-2.d,
220 * testsuite/binutils-all/symbols-3.d,
221 * testsuite/binutils-all/symbols-4.d: Quote '*' and '!'.
222 * testsuite/binutils-all/add-empty-section.d,
223 * testsuite/binutils-all/add-section.d,
224 * testsuite/binutils-all/elfedit.exp,
225 * testsuite/binutils-all/note-1.d,
226 * testsuite/binutils-all/pr23633.d: Add $subdir after $srcdir.
227 * testsuite/config/default.exp (AS, ASFLAGS): Define.
228 * testsuite/config/hppa.sed: Handle all common symbols.
229 * testsuite/lib/binutils-common.exp (run_dump_test): New proc,
230 merged from three other versions.
231 (slurp_options, file_contents, set_file_contents): Likewise.
232 (big_or_little_endian, get_standard_section_names): Likewise.
233 * testsuite/lib/utils-lib.exp (run_dump_test): Delete.
234 (slurp_options, proc file_contents): Delete.
235 (get_standard_section_names): Delete.
237 2018-09-15 Alan Modra <amodra@gmail.com>
239 * testsuite/binutils-all/copy-2.d,
240 * testsuite/binutils-all/copy-3.d,
241 * testsuite/binutils-all/copy-4.d,
242 * testsuite/binutils-all/elfedit-1.d,
243 * testsuite/binutils-all/note-1.d,
244 * testsuite/binutils-all/note-2-64.d,
245 * testsuite/binutils-all/strip-11.d,
246 * testsuite/binutils-all/strip-13.d,
247 * testsuite/binutils-all/strip-14.d,
248 * testsuite/binutils-all/testranges.d,
249 * testsuite/binutils-all/x86-64/pr23494a-x32.d,
250 * testsuite/binutils-all/x86-64/pr23494a.d,
251 * testsuite/binutils-all/x86-64/pr23494b-x32.d,
252 * testsuite/binutils-all/x86-64/pr23494b.d,
253 * testsuite/binutils-all/x86-64/pr23494c-x32.d,
254 * testsuite/binutils-all/x86-64/pr23494c.d,
255 * testsuite/binutils-all/x86-64/pr23494d-x32.d,
256 * testsuite/binutils-all/x86-64/pr23494d.d,
257 * testsuite/binutils-all/x86-64/pr23494e-x32.d,
258 * testsuite/binutils-all/x86-64/pr23494e.d,
259 * testsuite/lib/utils-lib.exp (run_dump_test): Replace not-target
260 and not-skip with notarget and noskip.
262 2018-09-15 Alan Modra <amodra@gmail.com>
264 * testsuite/binutils-all/group-7a.d,
265 * testsuite/binutils-all/group-7b.d,
266 * testsuite/binutils-all/group-7c.d,
267 * testsuite/binutils-all/symbols-1.d,
268 * testsuite/binutils-all/symbols-2.d,
269 * testsuite/binutils-all/symbols-3.d,
270 * testsuite/binutils-all/symbols-4.d: Remove DUMPPROG.
272 2018-09-14 Alan Modra <amodra@gmail.com>
275 * testsuite/binutils-all/pr23633.d: Don't fail when assembler
276 generates sections other than .text.
278 2018-09-13 H.J. Lu <hongjiu.lu@intel.com>
281 * testsuite/binutils-all/objcopy.exp: Run pr23633.
282 * testsuite/binutils-all/pr23633.d: New file.
283 * testsuite/binutils-all/pr23633.list: Likewise.
284 * testsuite/binutils-all/pr23633.s: Likewise.
286 2018-09-13 Nick Clifton <nickc@redhat.com>
289 * objcopy.c (add_specific_symbols): Do not free the buffer at the
292 2018-09-10 Alan Modra <amodra@gmail.com>
295 * objcopy.c (handle_remove_section_option): Consider .rela and
296 .rel sections for stripping directly as well as attached to the
297 associated section they relocate.
298 * doc/binutils.texi (remove-relocations): Specify that this
299 option removes non-dynamic relocation sections.
300 * testsuite/binutils-all/objcopy.exp
301 (objcopy_remove_relocations_from_executable): New test.
303 2018-09-03 Nick Clifton <nickc@redhat.com>
305 * po/ja.po: Updated Japanese translation.
307 2018-08-31 H.J. Lu <hongjiu.lu@intel.com>
309 * testsuite/binutils-all/readelf.s-64: Adjusted for
310 .note.gnu.property section.
311 * testsuite/binutils-all/strip-3.d: Also strip
312 .note.gnu.property section.
314 2018-08-31 H.J. Lu <hongjiu.lu@intel.com>
316 * testsuite/binutils-all/i386/compressed-1b.d: Pass
317 -mx86-used-note=no to assembler.
318 * testsuite/binutils-all/i386/compressed-1c.d: Likewise.
319 * testsuite/binutils-all/x86-64/compressed-1b.d: Likewise.
320 * testsuite/binutils-all/x86-64/compressed-1c.d: Likewise.
321 * testsuite/binutils-all/i386/empty.d: Pass -mx86-used-note=yes
322 to assembler and update expected output from "readelf -n".
323 * testsuite/binutils-all/i386/ibt.d: Likewise.
324 * testsuite/binutils-all/i386/pr21231a.d: Likewise.
325 * testsuite/binutils-all/i386/pr21231b.d: Likewise.
326 * testsuite/binutils-all/i386/shstk.d: Likewise.
327 * testsuite/binutils-all/x86-64/empty-x32.d: Likewise.
328 * testsuite/binutils-all/x86-64/empty.d: Likewise.
329 * testsuite/binutils-all/x86-64/ibt-x32.d: Likewise.
330 * testsuite/binutils-all/x86-64/ibt.d: Likewise.
331 * testsuite/binutils-all/x86-64/pr21231a.d: Likewise.
332 * testsuite/binutils-all/x86-64/pr21231b.d: Likewise.
333 * testsuite/binutils-all/x86-64/pr23494a-x32.d: Likewise.
334 * testsuite/binutils-all/x86-64/pr23494a.d: Likewise.
335 * testsuite/binutils-all/x86-64/pr23494b-x32.d: Likewise.
336 * testsuite/binutils-all/x86-64/pr23494b.d: Likewise.
337 * testsuite/binutils-all/x86-64/pr23494c-x32.d: Likewise.
338 * testsuite/binutils-all/x86-64/pr23494c.d: Likewise.
339 * testsuite/binutils-all/x86-64/pr23494d-x32.d: Likewise.
340 * testsuite/binutils-all/x86-64/pr23494d.d: Likewise.
341 * testsuite/binutils-all/x86-64/pr23494e-x32.d: Likewise.
342 * testsuite/binutils-all/x86-64/pr23494e.d: Likewise.
343 * testsuite/binutils-all/x86-64/shstk-x32.d: Likewise.
344 * testsuite/binutils-all/x86-64/shstk.d: Likewise.
346 2018-08-30 H.J. Lu <hongjiu.lu@intel.com>
348 * readelf.c (process_section_headers): Treat SHT_FINI_ARRAY and
349 SHT_PREINIT_ARRAY as relocatable sections.
351 2018-08-30 Chenghua Xu <paul.hua.gm@gmail.com>
353 * MAINTAINERS: Add myself as a MIPS port maintainer.
355 2018-08-29 Chenghua Xu <paul.hua.gm@gmail.com>
357 * NEWS: Mention Loongson 2K1000 proccessor support.
358 * readelf.c (get_machine_flags): Handle gs264e.
360 2018-08-29 Chenghua Xu <paul.hua.gm@gmail.com>
362 * NEWS: Mention Loongson 3A2000/3A3000 proccessor support.
363 * readelf.c (get_machine_flags): Handle gs464e.
365 2018-08-29 Chenghua Xu <paul.hua.gm@gmail.com>
367 * NEWS: Mention Loongson 3A1000 proccessor support.
368 * readelf.c (get_machine_flags): Rename loongson-3a to gs464.
369 (print_mips_isa_ext): Delete AFL_EXT_LOONGSON_3A.
371 2018-08-29 Chenghua Xu <paul.hua.gm@gmail.com>
373 * readelf.c (print_mips_ases): Add Loongson EXT2 extension.
375 2018-08-29 Chenghua Xu <paul.hua.gm@gmail.com>
377 * readelf.c (print_mips_ases): Add Loongson EXT extension.
379 2018-08-29 Chenghua Xu <paul.hua.gm@gmail.com>
381 * readelf.c (print_mips_ases): Add CAM extension.
383 2018-08-27 H.J. Lu <hongjiu.lu@intel.com>
385 * readelf.c (decode_x86_isa): Print <None> if bitmask only
386 contains the GNU_PROPERTY_X86_UINT32_VALID bit.
387 (decode_x86_feature_1): Likewise.
388 (decode_x86_feature_2): Likewise.
389 (print_gnu_property_note): Don't mask out the
390 GNU_PROPERTY_X86_UINT32_VALID bit.
391 * testsuite/binutils-all/i386/pr21231b.d: Updated.
392 * testsuite/binutils-all/x86-64/pr21231b.d: Likewise.
394 2018-08-27 H.J. Lu <hongjiu.lu@intel.com>
396 * readelf.c (decode_x86_compat_isa): Break multi-statement line.
397 (decode_x86_isa): Likewise.
398 (decode_x86_feature_2): Likewise.
400 2018-08-25 H.J. Lu <hongjiu.lu@intel.com>
403 * readelf.c (get_symbol_version_string): Return _("<corrupt>")
404 for corrupt symbol version info.
406 2018-08-24 H.J. Lu <hongjiu.lu@intel.com>
408 * readelf.c (decode_x86_compat_isa): New function.
409 (decode_x86_feature_2): Likewise.
410 (decode_x86_isa): Updated for new X86_ISA_1_XXX bits.
411 (decode_x86_feature): Renamed to ...
412 (decode_x86_feature_1): This. Remove the type argument.
413 (print_gnu_property_note): Handle X86_COMPAT_ISA_1_USED,
414 X86_COMPAT_ISA_1_NEEDED, X86_UINT32_AND_LO, X86_UINT32_AND_HI,
415 X86_UINT32_OR_LO, X86_UINT32_OR_HI, X86_UINT32_OR_AND_LO and
416 X86_UINT32_OR_AND_HI instead of X86_ISA_1_USED, X86_ISA_1_NEEDED
417 and X86_FEATURE_1_AND.
418 * testsuite/binutils-all/i386/pr21231b.s: Updated to the current
419 GNU_PROPERTY_X86_ISA_1_USED and GNU_PROPERTY_X86_ISA_1_NEEDED
421 * testsuite/binutils-all/x86-64/pr21231b.s: Likewise.
422 * testsuite/binutils-all/x86-64/pr23494a.s: Likewise.
423 * testsuite/binutils-all/x86-64/pr23494b.s: Likewise.
424 * testsuite/binutils-all/x86-64/pr23494c.s: Likewise.
425 * testsuite/binutils-all/i386/pr21231b.d: Updated.
426 * testsuite/binutils-all/x86-64/pr21231b.d: Likewise.
427 * testsuite/binutils-all/x86-64/pr23494a-x32.d: Likewise.
428 * testsuite/binutils-all/x86-64/pr23494a.d: Likewise.
429 * testsuite/binutils-all/x86-64/pr23494c-x32.d: Likewise.
430 * testsuite/binutils-all/x86-64/pr23494c.d: Likewise.
431 * testsuite/binutils-all/x86-64/pr23494d-x32.d: Likewise.
432 * testsuite/binutils-all/x86-64/pr23494d.d: Likewise.
433 * testsuite/binutils-all/x86-64/pr23494e-x32.d: Likewise.
434 * testsuite/binutils-all/x86-64/pr23494e.d: Likewise.
436 2018-08-24 H.J. Lu <hongjiu.lu@intel.com>
438 * readelf.c (print_gnu_property_note): Check the
439 GNU_PROPERTY_X86_UINT32_VALID bit for invalid GNU property note.
441 2018-08-23 Alan Modra <amodra@gmail.com>
443 * readelf.c (get_ppc64_symbol_other): Return NULL if st_other
444 field contains unrecognised or reserved values. Handle
447 2018-08-23 H.J. Lu <hongjiu.lu@intel.com>
450 * Makefile.am (development.exp): New target.
451 (EXTRA_DEJAGNU_SITE_CONFIG): New.
452 (DISTCLEANFILES): Add development.exp.
453 * Makefile.in: Regenerated.
454 * testsuite/binutils-all/objcopy.exp (strip_test): Call
455 prune_warnings to prune BFD output.
456 (strip_test_with_saving_a_symbol): Likewise.
457 (objcopy_test_without_global_symbol): Likewise.
458 * testsuite/lib/binutils-common.exp (prune_warnings_extra):
460 (prune_warnings): Likewise.
462 2018-08-23 H.J. Lu <hongjiu.lu@intel.com>
464 * README-how-to-make-a-release: Document setting "experimental"
467 2018-08-22 Alan Modra <amodra@gmail.com>
469 * readelf.c (process_file_header): Assign updated values from
470 section_header[0] fields to e_phnum, e_shnum and e_shstrndx
471 during printing of header. Correct e_shstrndx range check.
472 Remove unnecessary casts and use %u rather than %ld for
473 unsigned int header fields. Don't print a random %lx when
474 reporting an unknown EI_VERSION.
476 2018-08-21 Nick Clifton <nickc@redhat.com>
478 * MAINTAINERS: Note that Arnold Metselaar has retired as the z80
481 2018-08-21 L. Simon <l.simon@samsung.com>
484 * readelf.c (hppa_process_unwind): Only dump the unwind table if
485 the data was successfully read in.
487 2018-08-18 Alan Modra <amodra@gmail.com>
489 * testsuite/lib/binutils-common.exp (is_elf64): Use directory of
490 input file for readelf.out.
492 * testsuite/binutils-all/objcopy.exp (elf64): Set new variable
493 from first result of is_elf64 test.
494 (reloc_format): Set using is_rela.
495 (strip-13): Pass RELOC and ELF64 to assembler.
496 (strip-14, strip-15): Use elf64 rather than calling is_elf64 again.
497 * testsuite/binutils-all/strip-13.d: Run for more targets.
498 * testsuite/binutils-all/strip-13mips64.s: Use RELOC and set
500 * testsuite/binutils-all/strip-13rel.s: Use RELOC and ELF64.
501 Don't add _NONE reloc.
502 * testsuite/binutils-all/strip-13rela.s: Likewise.
504 2018-08-10 H.J. Lu <hongjiu.lu@intel.com>
507 * testsuite/binutils-all/x86-64/pr23494c.s: New file.
508 * testsuite/binutils-all/x86-64/pr23494e-x32.d: Likewise.
509 * testsuite/binutils-all/x86-64/pr23494e.d: Likewise.
511 2018-08-10 H.J. Lu <hongjiu.lu@intel.com>
513 * testsuite/binutils-all/x86-64/pr23494a-x32.d: Skip nacl
515 * testsuite/binutils-all/x86-64/pr23494a.d: Likewise.
516 * testsuite/binutils-all/x86-64/pr23494b-x32.d: Likewise.
517 * testsuite/binutils-all/x86-64/pr23494b.d: Likewise.
518 * testsuite/binutils-all/x86-64/pr23494c-x32.d: Likewise.
519 * testsuite/binutils-all/x86-64/pr23494c.d: Likewise.
520 * testsuite/binutils-all/x86-64/pr23494d-x32.d: Likewise.
521 * testsuite/binutils-all/x86-64/pr23494d.d: Likewise.
523 2018-08-08 H.J. Lu <hongjiu.lu@intel.com>
526 * testsuite/binutils-all/x86-64/pr23494a-x32.d: New file.
527 * testsuite/binutils-all/x86-64/pr23494a.d: Likewise.
528 * testsuite/binutils-all/x86-64/pr23494a.s: 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/pr23494b.s: Likewise.
532 * testsuite/binutils-all/x86-64/pr23494c-x32.d: Likewise.
533 * testsuite/binutils-all/x86-64/pr23494c.d: Likewise.
534 * testsuite/binutils-all/x86-64/pr23494d-x32.d: Likewise.
535 * testsuite/binutils-all/x86-64/pr23494d.d: Likewise.
537 2018-08-08 Kevin Buettner <kevinb@redhat.com>
539 * dwarf.c (decode_location_expresion): Add case for
540 DW_OP_GNU_variable_value.
542 2018-08-06 Claudiu Zissulescu <claziss@synopsys.com>
544 * readelf.c (display_arc_attribute): Print Tag_ARC_ATR_version.
546 2018-08-03 Nick Clifton <nickc@redhat.com>
548 * objcopy.c (merge_gnu_build_notes): Delete empty notes. Merge
549 identical function notes.
551 2018-08-01 Nick Clifton <nickc@redhat.com>
553 * README-how-to-make-a-release: Add note about regenerating the
554 info files prior to the release.
556 2018-07-30 Andrew Jenner <andrew@codesourcery.com>
558 * MAINTAINERS (C-SKY): Add Yunhai Shang as co-maintainer.
560 2018-07-30 Andrew Jenner <andrew@codesourcery.com>
562 * MAINTAINERS (C-SKY): Add Lifang Xia as maintainer.
564 2018-07-30 Andrew Jenner <andrew@codesourcery.com>
566 * readelf.c: Include elf/csky.h.
567 (guess_is_rela): Handle EM_CSKY.
568 (dump_relocations): Likewise.
569 (get_machine_name): Likewise.
570 (is_32bit_abs_reloc): Likewise.
572 2018-07-25 Nick Clifton <nickc@redhat.com>
574 * rdcoff.c (parse_coff_struct_type): Free fields array upon early
576 (parse_coff_enum_type): Free names and vals arrays upon early
578 * rddbg.c (read_section_stabs_debugging_info): Free shandle and
579 strings and stabs arrays upon early exit.
580 * readelf.c (get_32bit_section_headers): Free shdrs structure upon
582 (get_64bit_section_headers): Likewise.
583 (get_32bit_elf_symbols): Generate an error if multiple symbol
584 table index sections are associated with the same symbol section.
585 (get_64bit_elf_symbols): Likewise.
586 (process_dynamic_section): Generate an error if there are multiple
587 dynamic symbol table sections, multiple dynamic string tables or
588 multiple dynamic symbol information sections.
590 2018-07-24 Nick Clifton <nickc@redhat.com>
592 * po/sv.po: Updated Swedish translation.
594 2018-07-24 Alan Modra <amodra@gmail.com>
597 * dwarf.c (display_formatted_table): Replace "what" parameter
598 with "is_dir". Expand messages. Fix capitalisation.
599 * testsuite/binutils-all/dw5.W: Update expected output.
601 2018-07-24 Alan Modra <amodra@gmail.com>
604 * elfcomm.h (struct archive_info): Rename uses_64bit_indicies
605 to uses_64bit_indices.
606 * elfcomm.c (setup_archive): Update uses of above.
607 * readelf.c (process_archive): Likewise.
608 (get_section_type_name): Rename indicies to indices.
609 (get_32bit_elf_symbols, get_64bit_elf_symbols): Likewise.
610 (process_section_groups): Likewise.
612 2018-07-20 Maciej W. Rozycki <macro@mips.com>
614 * MAINTAINERS: Update my e-mail address, downgrade to MIPS I-IV
617 2018-07-20 Nick Clifton <nickc@redhat.com>
619 * objcopy.c (add_specific_symbols): Free buffer on exit.
620 (add_redefine_syms_file): Close file handle on exit.
621 (copy_object): Close file handle on early exit.
622 Free buffer on early exit.
623 Free gaps buffers once they are no longer needed.
624 * dwarf.c (display_debug_frames): Free allocated memory on exit.
625 (load_separate_debug_info): Free allocate memory on early exit.
627 2018-07-20 Chenghua Xu <paul.hua.gm@gmail.com>
628 Maciej W. Rozycki <macro@mips.com>
630 * readelf.c (print_mips_ases): Add MMI extension.
632 2018-07-19 DJ Delorie <dj@redhat.com>
634 * MAINTAINERS (RL78, RX): Remove myself as maintainer.
636 2018-07-19 Nick Clifton <nickc@redhat.com>
638 * dwarf.c (read_cie): Free allocated memory before returning with
641 2018-07-16 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
643 * readelf.c (get_note_type): Fix typo in NT_PPC_TM_CVSX note
646 2018-07-16 Nick Clifton <nickc@redhat.com>
648 * README-how-to-make-a-release: Add note to check for new top
649 level files and add them to the src-release.sh script.
651 2018-07-14 Nick Clifton <nickc@redhat.com>
653 * README-how-to-make-a-release: Updated with corrections based on
654 the 2.31 release experience.
656 2018-07-12 Francois H. Theron <francois.theron@netronome.com>
658 * readelf.c (process_section_headers): Don't print section type
659 twice for --section-details.
661 2018-07-10 Alan Modra <amodra@gmail.com>
663 * testsuite/lib/binutils-common.exp (supports_gnu_unique): Return
666 2018-07-06 Nick Clifton <nickc@redhat.com>
668 * readelf.c (same_section): New function.
669 (print_gnu_build_attribute_description): Do not complain about
670 gaps that cross a section boundary.
672 2018-07-05 Nick Clifton <nickc@redhat.com>
674 * po/bg.po: Updated Bulgarian translation.
676 2018-07-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
678 * NEWS: Use command-line consistently when used in a compount word.
679 * doc/binutils.texi: Likewise and fix trailing whitespace on same
682 2018-06-26 Nick Clifton <nickc@redhat.com>
684 * po/sv.po: Updated Swedish translation.
685 * po/uk.po: Updated Ukranian translation.
687 2018-06-26 Nick Clifton <nickc@redhat.com>
689 * doc/binutils.texi: Fix spelling mistakes.
690 * README--how-to-make-a-release: Likewise.
692 2018-06-25 Tom Tromey <tom@tromey.com>
694 * dwarf-mode.el (dwarf-mode-syntax-table): New variable.
697 2018-06-24 Nick Clifton <nickc@redhat.com>
699 * README-how-to-make-a-release: Update with experiences from
701 * po/binutils.pot: Regenerate.
702 * configure: Regenerate.
704 2018-06-24 Nick Clifton <nickc@redhat.com>
707 * NEWS: Add marker for 2.31.
709 2018-06-21 Alan Modra <amodra@gmail.com>
711 * doc/Makefile.am (AUTOMAKE_OPTIONS): Add "foreign".
712 * doc/Makefile.in: Regenerate.
714 2018-06-19 Simon Marchi <simon.marchi@ericsson.com>
716 * configure.ac: Remove AC_PREREQ.
717 * doc/Makefile.am (AUTOMAKE_OPTIONS): Remove cygnus, add
718 info-in-builddir no-texinfo.tex.
719 * Makefile.in: Re-generate.
720 * aclocal.m4: Re-generate.
721 * config.in: Re-generate.
722 * configure: Re-generate.
723 * doc/Makefile.in: Re-generate.
725 2018-06-19 Andreas Schwab <schwab@suse.de>
727 * readelf.c (is_16bit_abs_reloc): Handle R_RISCV_SET16.
728 (is_8bit_abs_reloc): New function.
729 (is_6bit_abs_reloc): New function.
730 (is_6bit_inplace_sub_reloc): New function.
731 (apply_relocations): Use them. Handle 6-bit relocations.
733 2018-06-14 Faraz Shahbazker <Faraz.Shahbazker@mips.com>
735 * readelf.c (print_mips_ases): Add GINV extension.
737 2018-06-14 H.J. Lu <hongjiu.lu@intel.com>
740 * readelf.c (get_symbol_version_string): Check if the first
741 symbol version is base version.
743 2018-06-13 Scott Egerton <scott.egerton@imgtec.com>
744 Faraz Shahbazker <Faraz.Shahbazker@mips.com>
746 * readelf.c (print_mips_ases): Add CRC.
748 2018-06-13 Nick Clifton <nickc@redhat.com>
750 * doc/binutils.texi (objdump): Add missing closing square
751 parenthesis to listing of objcopy's command line options.
753 2018-06-11 Nick Clifton <nickc@redhat.com>
755 * po/es.po: Updated Spanish translation.
757 2018-06-01 H.J. Lu <hongjiu.lu@intel.com>
759 * configure: Regenerated.
761 2018-05-31 Alan Modra <amodra@gmail.com>
763 * testsuite/binutils-all/compress.exp (test_gnu_debuglink): Don't
764 set CC_FOR_TARGET. Run test non-native.
765 * testsuite/binutils-all/objdump.exp (test_build_id_debuglink):
767 (test_follow_debuglink): Run test non-native.
769 2018-05-30 Ant Bikeneev <ant.bikineev@gmail.com>
772 * ar.c (display_offsets): New variable.
773 (usage): Add description of 'O' operator.
774 (decode_option): Handle 'O' operator.
775 (print_descr): Pass display_offsets to print_arelt_descr.
776 * arsup.c: Update call to printy_arelt_descr.
777 * objdump.c: Likewise.
778 * bucomm.c (print_arelt_descr): If offsets parameter is true then
779 display offset of archive element within the archive.
780 * bucomm.h: Update prototype for print_arelt_descr.
781 * doc/binutils.texi: Update description of ar command.
782 * NEWS: Mention the new feature.
783 * testsuite/binutils-all/ar.exp: Add text of new feature.
785 2018-05-28 Alan Modra <amodra@gmail.com>
788 * testsuite/binutils-all/compress.exp (test_gnu_debuglink): Return
789 unsupported rather than fail on compile errors.
790 * testsuite/binutils-all/objdump.exp (test_build_id_debuglink):
791 Likewise. Save and restore CFLAGS_FOR_TARGET.
793 2018-05-18 Kito Cheng <kito.cheng@gmail.com>
795 * readelf.c (get_machine_flags): Handle EF_RISCV_RVE.
797 2018-05-18 John Darrington <john@darrington.wattle.id.au>
799 * readelf.c: Add support for s12z architecture.
800 * testsuite/lib/binutils-common.exp (is_elf_format): Excluse s12z
803 2018-05-15 Tamar Christina <tamar.christina@arm.com>
806 * doc/binutils.texi (-M): Document AArch64 options.
808 2018-05-15 Tamar Christina <tamar.christina@arm.com>
811 * doc/binutils.texi (-M): Document AArch64 options.
812 * NEWS: Document notes and warnings.
814 2018-05-15 Alan Modra <amodra@gmail.com>
816 * testsuite/lib/binutils-common.exp (is_elf_format): Add chorus,
817 cloudabi, fuchsia, kaos and nto. Merge netbsdelf* into *elf*,
818 and *uclinux* into *linux*.
819 * testsuite/binutils-all/objcopy.exp: Accept armeb for rel
820 strip-13 test, exclude arm-vxworks and arm-windiss.
822 2018-05-10 John Darrington <john@darrington.wattle.id.au>
824 * readelf.c (get_machine_name): EM_S12Z - handle new case.
826 2018-05-09 Alan Modra <amodra@gmail.com>
828 * od-macho.c (dump_unwind_encoding_x86): Fix typo in last patch.
830 2018-05-09 Sebastian Rasmussen <sebras@gmail.com>
832 * od-macho.c (dump_unwind_encoding_x86): Adjust for macro renaming.
834 2018-05-08 Alan Modra <amodra@gmail.com>
837 * objcopy.c (is_strip_section): Strip groups without a valid
840 2018-05-07 Alan Modra <amodra@gmail.com>
843 * objcopy.c (group_signature): Don't accept groups that use a
844 symbol table other than the one we've read.
846 2018-04-30 Francois H. Theron <francois.theron@netronome.com>
848 * readelf.c: Very basic support for EM_NFP and its section types.
849 * testsuite/binutils-all/nfp: New directory.
850 * testsuite/binutils-all/nfp/objdump.exp: New file. Run new
852 * testsuite/binutils-all/nfp/test2_ctx8.d: New file.
853 * testsuite/binutils-all/nfp/test2_no-pc_ctx4.d: New file.
854 * testsuite/binutils-all/nfp/test1.d: New file.
855 * testsuite/binutils-all/nfp/nfp6000.nffw: New file.
856 * testsuite/binutils-all/nfp/test2_nfp6000.nffw: New file.
857 * NEWS: Mention the new support.
859 2018-04-27 Maciej W. Rozycki <macro@mips.com>
861 * testsuite/lib/binutils-common.exp (match_target): New procedure.
862 * testsuite/lib/utils-lib.exp (run_dump_test): Use it in place
863 of `istarget' for matching with `target', `not-target', `skip'
864 and `not-skip' options.
866 2018-04-26 Nick Clifton <nickc@redhat.com>
868 * readelf.c (is_32bit_abs_reloc): Support R_PARISC_DIR32 as a
869 32-bit absolute reloc for the HPPA target.
870 * testsuite/binutils-all/note-5.d: New test.
871 * testsuite/binutils-all/note-5.s: Source file for new test.
872 * testsuite/binutils-all/objcopy.exp: Run new test.
874 2018-04-25 Christophe Lyon <christophe.lyon@st.com>
876 * testsuite/binutils-all/elfedit-2.d: Accept arm*-*-uclinuxfdpiceabi.
877 * testsuite/binutils-all/elfedit-3.d: Likewise.
878 * testsuite/binutils-all/objcopy.exp: Likewise.
879 * testsuite/binutils-all/strip-3.d: Likewise.
880 * testsuite/lib/binutils-common.exp: Likewise.
882 2018-04-25 Christophe Lyon <christophe.lyon@st.com>
883 Mickaël Guêné <mickael.guene@st.com>
885 * readelf.c (decode_ARM_machine_flags): Support EF_ARM_PIC.
886 (get_osabi_name): Support ELFOSABI_ARM_FDPIC.
888 2018-04-25 Alan Modra <amodra@gmail.com>
890 * testsuite/binutils-all/arm/objdump.exp: Remove arm-aout and
892 * testsuite/binutils-all/objcopy.exp: Likewise.
893 * testsuite/lib/binutils-common.exp: Likewise.
895 2018-04-18 Nick Clifton <nickc@redhat.com>
898 * dwarf.c (read_and_display_attr_value): Replace assertions with
899 test and warning message.
901 2018-04-18 Alan Modra <amodra@gmail.com>
903 * testsuite/lib/binutils-common.exp: Remove support for assorted
906 2018-04-17 Nick Clifton <nickc@redhat.com>
909 * readelf.c (print_symbol): If the width is zero, return straight
913 * dwarf.c (process_cu_tu_index): Test for a potential buffer
914 overrun before copying signature pointer.
916 2018-04-17 Alan Modra <amodra@gmail.com>
918 * readelf.c: Revert 2018-04-16 and 2018-04-11 changes.
920 2018-04-16 Alan Modra <amodra@gmail.com>
922 * readelf.c (get_machine_name): Correct typo.
924 2018-04-16 Alan Modra <amodra@gmail.com>
926 * configure.ac: Remove arm-epoc-pe support.
927 * dlltool.c: Likewise.
928 * configure: Regenerate.
930 2018-04-16 Alan Modra <amodra@gmail.com>
932 * testsuite/lib/binutils-common.exp: Remove sparc-aout and
935 2018-04-16 Alan Modra <amodra@gmail.com>
937 * testsuite/binutils-all/copy-2.d: Remove m68k-aout and m68k-coff
939 * testsuite/binutils-all/copy-3.d: Likewise.
940 * testsuite/binutils-all/objcopy.exp: Likewise.
941 * testsuite/lib/binutils-common.exp: Likewise.
943 2018-04-16 Alan Modra <amodra@gmail.com>
945 * testsuite/binutils-all/objcopy.exp: Remove sh5 and sh64 support.
947 2018-04-16 Alan Modra <amodra@gmail.com>
949 * testsuite/binutils-all/objcopy.exp: Remove w65 support.
951 2018-04-16 Alan Modra <amodra@gmail.com>
953 * testsuite/binutils-all/objdump.exp: Remove we32k support.
955 2018-04-16 Alan Modra <amodra@gmail.com>
957 * MAINTAINERS (Mark Kettenis): Move to past maintainers.
958 * testsuite/binutils-all/objdump.exp: Remove m88k support.
960 2018-04-16 Alan Modra <amodra@gmail.com>
962 * readelf.c: Remove i370 support.
963 * testsuite/binutils-all/objdump.exp: Likewise.
965 2018-04-16 Alan Modra <amodra@gmail.com>
967 * testsuite/binutils-all/objcopy.exp: Remove h8500 support.
968 * testsuite/lib/binutils-common.exp: Likewise.
970 2018-04-16 Alan Modra <amodra@gmail.com>
972 * testsuite/binutils-all/objcopy.exp: Remove h8300-coff support.
974 2018-04-16 Alan Modra <amodra@gmail.com>
976 * Makefile.am: Remove IEEE 695 support.
978 * doc/binutils.texi: Likewise.
979 * makefile.vms: Likewise.
980 * objcopy.c: Likewise.
981 * objdump.c: Likewise.
984 * Makefile.in: Regenerate.
985 * po/POTFILES.in: Regenerate.
987 2018-04-16 Alan Modra <amodra@gmail.com>
989 * testsuite/binutils-all/copy-2.d: Remove newsos3 support.
990 * testsuite/binutils-all/nm.exp: Likewise.
992 2018-04-16 Alan Modra <amodra@gmail.com>
994 * .gitignore: Remove netware support.
995 * Makefile.am: Likewise.
996 * configure.ac: Likewise.
997 * doc/Makefile.am: Likewise.
998 * doc/binutils.texi: Likewise.
999 * testsuite/binutils-all/nm.exp: Likewise.
1000 * nlmconv.c: Delete.
1001 * nlmconv.h: Delete.
1002 * nlmheader.y: Delete.
1003 * Makefile.in: Regenerate.
1004 * configure: Regenerate.
1005 * doc/Makefile.in: Regenerate.
1006 * po/POTFILES.in: Regenerate.
1008 2018-04-16 Alan Modra <amodra@gmail.com>
1010 * testsuite/binutils-all/objdump.exp: Remove tahoe support.
1012 2018-04-14 Alan Modra <amodra@gmail.com>
1014 * readelf.c (get_machine_name): Revert 2018-04-11 change.
1016 2018-04-12 Nick Clifton <nickc@redhat.com>
1019 * readelf.c (process_dynamic_section): Correct dynamic string
1020 table size calculation.
1022 2018-04-11 Alan Modra <amodra@gmail.com>
1024 * ieee.c: Remove i960 support.
1025 * od-macho.c: Remove i860 support.
1026 * readelf.c: Remove i860 and i960 support.
1027 * testsuite/binutils-all/objcopy.exp: Likewise.
1028 * testsuite/binutils-all/objdump.exp: Likewise.
1029 * testsuite/lib/binutils-common.exp: Likewise.
1031 2018-04-11 Maciej W. Rozycki <macro@mips.com>
1033 * testsuite/lib/binutils-common.exp (is_elf_format): Also return
1034 1 for `*-*-lynxos*' and `*-*-symbianelf*' targets.
1036 2018-04-10 Alan Modra <amodra@gmail.com>
1038 * testsuite/binutils-all/objcopy.exp (strip-14, strip-15): Choose
1039 reloc=11 for pru and reloc=50 for nds32.
1040 * testsuite/binutils-all/strip-15.d: Accept 0xb reloc number.
1042 2018-04-09 Maciej W. Rozycki <macro@mips.com>
1044 * testsuite/binutils-all/strip-15.d: New test.
1045 * testsuite/binutils-all/strip-15rel.s: New test source.
1046 * testsuite/binutils-all/strip-15rela.s: New test source.
1047 * testsuite/binutils-all/strip-15mips64.s: New test source.
1048 * testsuite/binutils-all/objcopy.exp: Run the new test.
1050 2018-04-09 Maciej W. Rozycki <macro@mips.com>
1052 * testsuite/binutils-all/strip-14.d: New test.
1053 * testsuite/binutils-all/strip-14rel.s: New test source.
1054 * testsuite/binutils-all/strip-14rela.s: New test source.
1055 * testsuite/binutils-all/strip-14mips64.s: New test source.
1056 * testsuite/binutils-all/objcopy.exp: Run the new test.
1058 2018-04-06 Tom Tromey <tom@tromey.com>
1060 * dwarf.c (read_and_display_attr_value): Add missing DW_LANG
1061 constants from DWARF 5.
1063 2018-04-05 H.J. Lu <hongjiu.lu@intel.com>
1066 * configure: Regenerated.
1068 2018-04-05 Maciej W. Rozycki <macro@mips.com>
1070 * testsuite/binutils-all/strip-13mips64.s: Use `.dc.l' rather
1071 than `.dc.w' in second relocation.
1073 2018-04-05 Maciej W. Rozycki <macro@mips.com>
1075 * testsuite/binutils-all/strip-13.d: Also expect `unsupported
1076 relocation type 0x8f' error message.
1078 2018-04-05 Maciej W. Rozycki <macro@mips.com>
1080 * testsuite/binutils-all/strip-13.s: Rename to...
1081 * testsuite/binutils-all/strip-13rela.s: ... this.
1082 * testsuite/binutils-all/strip-13rel.s: New test source.
1083 * testsuite/binutils-all/strip-13mips64.s: New test source.
1084 * testsuite/binutils-all/strip-13.d: Remove `arm-*', `d10v-*',
1085 `dlx-*' and `xgate-*' from `not-target' list. Add `m6811-*' and
1086 `m68hc11-*' to `not-target' list.
1087 * testsuite/binutils-all/objcopy.exp: Switch between sources for
1090 2018-04-05 Maciej W. Rozycki <macro@mips.com>
1092 * testsuite/binutils-all/strip-13.s: Use 143 (0x8f) rather than
1093 241 (0xf1) for the relocation number and RELA addend.
1094 * testsuite/binutils-all/strip-13.d: Remove `hppa*-*' from the
1097 2018-04-04 John David Anglin <danglin@gcc.gnu.org>
1099 * MAINTAINERS: Update my e-mail address.
1101 2018-04-04 Nick Clifton <nickc@redhat.com>
1103 * MAINTAINERS: Move Jason Eckhardt to past maintainers section.
1105 2018-03-23 Nick Clifton <nickc@redhat.com>
1107 * readelf.c (get_symbol_for_build_attribute): Skip ARM mapping
1109 (print_gnu_build_attribute_description): If no file start symbol
1110 could be found, look for one two bytes into the file.
1111 * testsuite/binutils-all/note-4-64.s: Set the address of the file
1112 start symbol to two bytes into the file.
1113 * testsuite/binutils-all/note-4-32.s: Likewise.
1115 2018-03-21 H.J. Lu <hongjiu.lu@intel.com>
1117 * readelf.c (process_dynamic_section): Also dump DF_1_KMOD,
1118 DF_1_WEAKFILTER and DF_1_NOCOMMON.
1120 2018-03-20 Nick Clifton <nickc@redhat.com>
1122 * po/es.po: Updated Spanish translation.
1123 * po/ru.po: Updated Russian translation.
1125 2018-03-13 Nick Clifton <nickc@redhat.com>
1128 * stabs.c (pop_binincl): Fail if the file index is off the end of
1131 2018-03-13 Nick Clifton <nickc@redhat.com>
1134 * stabs.c (parse_number): Add p_end parameter and use it to check
1135 the validity of the pp parameter. Add checks to prevent walking
1136 off the end of the string buffer.
1137 (parse_stab_string): Likewise.
1138 (parse_stab_type): Likewise.
1139 (parse_stab_type_number): Likewise.
1140 (parse_stab_range_type): Likewise.
1141 (parse_stab_sun_builtin_type): Likewise.
1142 (parse_stab_sun_floating_type): Likewise.
1143 (parse_stab_enum_type): Likewise.
1144 (parse_stab_struct_type): Likewise.
1145 (parse_stab_baseclasses): Likewise.
1146 (parse_stab_struct_fields): Likewise.
1147 (parse_stab_cpp_abbrev): Likewise.
1148 (parse_stab_one_struct_field): Likewise.
1149 (parse_stab_members): Likewise.
1150 (parse_stab_tilde_field): Likewise.
1151 (parse_stab_array_type): Likewise.
1153 * parse_stab: Compute the end of the string and then pass it on to
1154 individual parser functions.
1156 2018-03-07 Paul Pluzhnikov <ppluzhnikov@google.com>
1159 * binutils/readelf.c (get_ver_flags): Expand buffer to avoid
1162 2018-03-07 Alan Modra <amodra@gmail.com>
1164 * configure.ac: Add objdump_private_desc_xcoff for rs6000.
1165 * configure: Regenerate.
1167 2018-03-05 H.J. Lu <hongjiu.lu@intel.com>
1170 * objdump.c (is_significant_symbol_name): Return TRUE for all
1172 (find_symbol_for_address): Replace linear search with binary
1173 search on dynamic relocations.
1175 2018-03-01 Nick Clifton <nickc@redhat.com>
1178 * dwarf.c (display_debug_ranges): Check that the offset loaded
1179 from the range_entry structure is valid.
1181 2018-03-01 Alan Modra <amodra@gmail.com>
1183 * configure.ac (ALL_LINGUAS): Add sr. Sort.
1184 * configure: Regenerate.
1186 2018-02-27 Nick Clifton <nickc@redhat.com>
1188 * po/pt.po: New Portuguese translation.
1189 * configure.ac (ALL_LINGUAS): Add pt.
1190 * configure: Regenerate.
1192 2018-02-27 Nick Clifton <nickc@redhat.com>
1195 * objcopy.c (copy_object): Check the error status after marking
1196 symbols used in relocations.
1197 * testsuite/binutils-all/strip-13.s: New test source file.
1198 * testsuite/binutils-all/strip-13.s: New test driver file.
1199 * testsuite/binutils-all/objcopy.exp: Run the new test.
1201 2018-02-26 Alan Modra <amodra@gmail.com>
1203 * testsuite/binutils-all/mips/mips-reginfo-n32.d,
1204 * testsuite/binutils-all/mips/mips-reginfo.d: Update.
1206 2018-02-23 Alan Modra <amodra@gmail.com>
1208 * testsuite/binutils-all/mips/mips-reginfo-n32.d,
1209 * testsuite/binutils-all/mips/mips-reginfo.d: Update.
1211 2018-02-20 Ronald Hoogenboom <hoogenboom30@zonnet.nl>
1213 * doc/binutils.texi (objcopy): Add missing closing square
1214 parenthesis to listing of objcopy's command line options.
1216 2018-02-19 Matthias Klose <doko@debian.org>
1218 * strings.c (long_options): Include-all-whitespace does not take
1221 2018-02-13 Alan Modra <amodra@gmail.com>
1224 * testsuite/binutils-all/group-7.s,
1225 * testsuite/binutils-all/group-7a.d,
1226 * testsuite/binutils-all/group-7b.d,
1227 * testsuite/binutils-all/group-7c.d: New tests.
1228 * testsuite/binutils-all/objcopy.exp: Run them.
1230 2018-02-08 Nick Clifton <nickc@redhat.com>
1233 * dwarf.c (load_separate_debug_file): Return early if the user is
1234 not interested in debug links.
1236 2018-02-06 Nick Clifton <nickc@redhat.com>
1239 * readelf.c (find_section): Replace assertion with test and return
1241 (find_section_by_address): Add test of section header table
1243 (find_section_by_type): Likewise.
1244 (find_section_in_set): Likewise.
1246 2018-02-05 Maciej W. Rozycki <macro@mips.com>
1248 * testsuite/binutils-all/mips/mips-reginfo.d: New test.
1249 * testsuite/binutils-all/mips/mips-reginfo-n32.d: New test.
1250 * testsuite/binutils-all/mips/mips-reginfo.s: New test source.
1251 * testsuite/binutils-all/mips/mips.exp: Run the new tests.
1253 2018-02-05 Maciej W. Rozycki <macro@mips.com>
1255 * testsuite/config/default.exp (binutils_run): Document
1256 `binutils_run_status'.
1257 * testsuite/lib/utils-lib.exp (default_binutils_run): Likewise,
1259 (run_dump_test): Add `error', `error_output', `warning' and
1260 `warning_output' options. Update documentation accordingly.
1262 2018-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
1264 * dwarf.c (dwarf_regnames_riscv): New register name table.
1265 (init_dwarf_regnames_riscv): New function.
1266 (init_dwarf_regnames): Add call to initialise RiscV register
1268 * dwarf.h (init_dwarf_regnames_riscv): Declare.
1269 * objdump.c (dump_dwarf): Add call to initialise RiscV register
1272 2018-02-01 Alan Modra <amodra@gmail.com>
1275 * objdump.c (load_specific_debug_section): Check for overflow
1276 when adding one to section size for a string section terminator.
1278 2018-01-30 Nick Clifton <nickc@redhat.com>
1281 * doc/binutils.texi (nm): Update description to point out that
1282 zero-initialized values can also be shown as type B, b, S or s
1283 since they can be stored in the BSS section.
1285 2018-01-30 Alan Modra <amodra@gmail.com>
1287 * objcopy.c (merge_gnu_build_notes): Use (bfd_vma) -1 as
1288 "artificially large" end address.
1290 2018-01-28 Nick Clifton <nickc@redhat.com>
1292 * README-how-to-make-a-release: Add note about checking gpg key
1293 and the results of gnupload.
1295 2018-01-27 Nick Clifton <nickc@redhat.com>
1297 * README-how-to-make-a-release: Add details on how to actually
1300 2018-01-26 Nick Clifton <nickc@redhat.com>
1302 * README-how-to-make-a-release: Add more details on updating
1305 2018-01-22 Maciej W. Rozycki <macro@mips.com>
1307 * doc/binutils.texi (objcopy): Fix a typo in `--rename-section'
1310 2018-01-22 Maciej W. Rozycki <macro@mips.com>
1312 * MAINTAINERS: Update my company e-mail address.
1314 2018-01-22 Nick Clifton <nickc@redhat.com>
1316 * po/sv.po: Updated Swedish translation.
1318 2018-01-18 Nick Clifton <nickc@redhat.com>
1320 * po/bg.po: Updated Bulgarian translation.
1322 2018-01-16 Joel Brobecker <brobecker@adacore.com>
1324 * README-how-to-make-a-release: Add reminder to update the
1325 branch name in gdbadmin's crontab on sourceware.
1327 2018-01-16 Joel Brobecker <brobecker@adacore.com>
1329 * README-how-to-make-a-release: Remove trailing spaces.
1331 2018-01-16 Nick Clifton <nickc@redhat.com>
1333 * po/fr.po: Updated French translation.
1335 2018-01-15 Nick Clifton <nickc@redhat.com>
1337 * po/uk.po: Updated Ukranian translation.
1339 2018-01-13 Nick Clifton <nickc@redhat.com>
1341 * README-how-to-make-a-release: Update notes.
1342 * po/binutils.pot: Regenerated.
1344 2018-01-13 Nick Clifton <nickc@redhat.com>
1346 * configure: Regenerate.
1348 2018-01-13 Nick Clifton <nickc@redhat.com>
1350 2.30 branch created.
1351 * NEWS: Add marker for 2.30.
1353 2018-01-12 Nick Clifton <nickc@redhat.com>
1355 * README-how-to-make-a-release: Add notes on how to make the
1356 branch and prelease snapshot.
1357 * BRANCHES: Add binutils-2_29-branch.
1359 2018-01-10 Nick Clifton <nickc@redhat.com>
1361 * MAINTAINERS: Note that it is now the configure.ac file and not
1362 the configure.in file that needs to be kept in sync with gcc.
1363 Add a note about sending patches for libiberty to gcc.
1365 2018-01-03 Nick Clifton <nickc@redhat.com>
1367 * objcopy.c (merge_gnu_build_notes): Add cast to maximum address
1370 2018-01-03 Nick Clifton <nickc@redhat.com>
1372 * objcopy.c (objcopy_internal_note): New structure.
1373 (gap_exists): New function.
1374 (is_open_note): New function.
1375 (is_func_note): New function.
1376 (is_64bit): New function.
1377 (merge_gnu_build_notes): Handle v3 notes. Do not merge
1378 if there are relocations against the notes.
1379 * readelf.c (get_note_type): Use short names for build attribute
1381 (print_symbol_for_build_attribute): Rename to
1382 get_symbol_for_build_attribute. Returns the found symbol rather
1384 (print_gnu_build_attribute_description): Maintain address ranges
1385 for function notes as well as global notes. Handle v3 notes.
1386 (print_gnu_build_attribute_name): Use more space for printing the
1388 * testsuite/binutils-all/note-2-32.s: Use .dc.l instead of .word.
1389 Eliminate symbol references in order to remove the need for
1391 * testsuite/binutils-all/note-2-64.s: Likewise.
1392 * testsuite/binutils-all/note-3-32.s: Add a size to the note_1
1394 * testsuite/binutils-all/note-3-64.s: Likewise.
1395 * testsuite/binutils-all/mips/mips-note-2r-n32.d: Update expected
1397 * testsuite/binutils-all/mips/mips-note-2r-n64.d: Likewise.
1398 * testsuite/binutils-all/mips/mips-note-2r.d: Likewise.
1399 * testsuite/binutils-all/note-2-32.d: Likewise.
1400 * testsuite/binutils-all/note-2-64.d: Likewise.
1401 * testsuite/binutils-all/note-3-32.d: Likewise.
1402 * testsuite/binutils-all/note-3-64.d: Likewise.
1403 * testsuite/binutils-all/note-4-64.s: New test. Checks v3 notes.
1404 * testsuite/binutils-all/note-4-32.s: New test.
1405 * testsuite/binutils-all/note-4-64.d: New test result file.
1406 * testsuite/binutils-all/note-4-32.d: New test result file.
1408 2018-01-03 Alan Modra <amodra@gmail.com>
1410 Update year range in copyright notice of all files.
1412 For older changes see ChangeLog-2017
1414 Copyright (C) 2018 Free Software Foundation, Inc.
1416 Copying and distribution of this file, with or without modification,
1417 are permitted in any medium without royalty provided the copyright
1418 notice and this notice are preserved.
1424 version-control: never