1 2018-10-16 Alan Modra <amodra@gmail.com>
4 * readelf.c (display_raw_attribute): Correct assertion.
6 2018-10-15 Alan Modra <amodra@gmail.com>
9 * addr2line.c (main): Exit with fatal error if bfd_init
10 returns an unexpected value.
11 * ar.c (main): Likewise.
12 * dlltool.c (identify_dll_for_implib): Likewise.
13 * nm.c (main): Likewise.
14 * objcopy.c (main): Likewise.
15 * objdump.c (main): Likewise.
16 * size.c (main): Likewise.
17 * strings.c (main): Likewise.
18 * windmc.c (main): Likewise.
19 * windres.c (main): Likewise.
21 2018-10-11 Jordan Rupprecht <rupprecht@google.com>
22 Nick Clifton <nickc@redhat.com>
24 * objcopy.c (copy_main): Issue a fata error if the
25 --keep-global-symbol(s) and the --globalize-symbol(s) options are
27 * doc/binutils.texi: Document that the two options are
29 * testsuite/binutils-all/copy-5.d: New test.
30 * testsuite/binutils-all/objcopy.exp: Run the new test.
32 2018-10-10 Helge Deller <deller@gmx.de>
33 Alan Modra <amodra@gmail.com>
35 * readelf.c (hppa_process_unwind): Don't use eh_addr_size to
36 calculate number of entries.
37 (slurp_hppa_unwind_table): Don't use eh_addr_size here either.
39 2018-10-10 Alan Modra <amodra@gmail.com>
41 * objdump.c (dump_dwarf): Set s12z eh_addr_size to 4.
43 2018-10-08 Andreas Schwab <schwab@suse.de>
45 * readelf.c (is_32bit_pcrel_reloc): Handle R_RISCV_32_PCREL.
47 2018-10-03 Nick Clifton <nickc@redhat.com>
49 * po/pt.po: Updated Portuguese translation.
50 * po/fr.po: Updated French translation.
52 2018-09-22 Alan Modra <amodra@gmail.com>
54 * readelf.c (apply_relocations): Don't return FALSE for warnings.
56 2018-09-20 Nelson Chu <nelson.chu1990@gmail.com>
58 * testsuite/binutils-all/objcopy.exp: Set the unsupported reloc number
59 from 215 to 255 for NDS32.
61 2018-09-17 H.J. Lu <hongjiu.lu@intel.com>
63 * objcopy.c (strip_specific_buffer): New.
64 (strip_unneeded_buffer): Likewise.
65 (keep_specific_buffer): Likewise.
66 (localize_specific_buffer): Likewise.
67 (globalize_specific_buffer): Likewise.
68 (keepglobal_specific_buffer): Likewise.
69 (weaken_specific_buffer): Likewise.
70 (add_specific_symbols): Add an argument to return pointer to
72 (copy_main): Update add_specific_symbols to update pointers to
73 allocated buffer. Free pointers to allocated buffer before
76 2018-09-17 Alan Modra <amodra@gmail.com>
78 * objcopy.c (handle_remove_section_option): Don't require a dot
79 after .rela and .rel to handle a possible relocation section.
80 * testsuite/binutils-all/remove-relocs-07.s,
81 * testsuite/binutils-all/remove-relocs-07.d,
82 * testsuite/binutils-all/remove-relocs-08.d: New tests.
83 * testsuite/binutils-all/remove-relocs-01.d,
84 * testsuite/binutils-all/remove-relocs-04.d,
85 * testsuite/binutils-all/remove-relocs-05.d,
86 * testsuite/binutils-all/remove-relocs-06.d: Exclude mips64-openbsd.
88 2018-09-17 Alan Modra <amodra@gmail.com>
90 * testsuite/lib/binutils-common.exp (is_som_format): New proc.
91 (run_dump_test): Correct target test for alternate .comm syntax.
92 (get_standard_section_names): Handle som format.
93 * testsuite/lib/utils-lib.exp (default_binutils_assemble_flags):
94 Correct target test for alternate .comm syntax.
96 2018-09-17 Alan Modra <amodra@gmail.com>
98 * testsuite/binutils-all/strip-13mips64.s: Add section flags
100 * testsuite/binutils-all/strip-13rel.s: Likewise.
101 * testsuite/binutils-all/strip-13rela.s: Likewise.
102 * testsuite/binutils-all/strip-14mips64.s: Likewise.
103 * testsuite/binutils-all/strip-14rel.s: Likewise.
104 * testsuite/binutils-all/strip-14rela.s: Likewise.
105 * testsuite/binutils-all/strip-15mips64.s: Likewise.
106 * testsuite/binutils-all/strip-15rel.s: Likewise.
107 * testsuite/binutils-all/strip-15rela.s: Likewise.
109 2018-09-17 Nick Clifton <nickc@redhat.com>
111 * testsuite/binutils-all/compress.exp: Rename second "objcopy
112 zlib-gnu compress debug sections 3" test to "objcopy zlib-gabi
113 compress debug sections 3" and use gabi object files instead
115 * testsuite/binutils-all/objcopy.exp: Add suffix to the names
116 of the "ELF group" tests.
117 * testsuite/binutils-all/readelf.exp (proc readelf_find_size):
118 Add an iteration parameter and include it in the name of the
119 test. Update callers to include an iteration count.
121 2018-09-15 Alan Modra <amodra@gmail.com>
123 * testsuite/binutils-all/add-symbol.d: Add "section_subst: no".
124 * testsuite/binutils-all/elfedit.exp: Don't set tempfile or copyfile.
125 * testsuite/binutils-all/symbols-1.d,
126 * testsuite/binutils-all/symbols-2.d,
127 * testsuite/binutils-all/symbols-3.d,
128 * testsuite/binutils-all/symbols-4.d: Quote '*' and '!'.
129 * testsuite/binutils-all/add-empty-section.d,
130 * testsuite/binutils-all/add-section.d,
131 * testsuite/binutils-all/elfedit.exp,
132 * testsuite/binutils-all/note-1.d,
133 * testsuite/binutils-all/pr23633.d: Add $subdir after $srcdir.
134 * testsuite/config/default.exp (AS, ASFLAGS): Define.
135 * testsuite/config/hppa.sed: Handle all common symbols.
136 * testsuite/lib/binutils-common.exp (run_dump_test): New proc,
137 merged from three other versions.
138 (slurp_options, file_contents, set_file_contents): Likewise.
139 (big_or_little_endian, get_standard_section_names): Likewise.
140 * testsuite/lib/utils-lib.exp (run_dump_test): Delete.
141 (slurp_options, proc file_contents): Delete.
142 (get_standard_section_names): Delete.
144 2018-09-15 Alan Modra <amodra@gmail.com>
146 * testsuite/binutils-all/copy-2.d,
147 * testsuite/binutils-all/copy-3.d,
148 * testsuite/binutils-all/copy-4.d,
149 * testsuite/binutils-all/elfedit-1.d,
150 * testsuite/binutils-all/note-1.d,
151 * testsuite/binutils-all/note-2-64.d,
152 * testsuite/binutils-all/strip-11.d,
153 * testsuite/binutils-all/strip-13.d,
154 * testsuite/binutils-all/strip-14.d,
155 * testsuite/binutils-all/testranges.d,
156 * testsuite/binutils-all/x86-64/pr23494a-x32.d,
157 * testsuite/binutils-all/x86-64/pr23494a.d,
158 * testsuite/binutils-all/x86-64/pr23494b-x32.d,
159 * testsuite/binutils-all/x86-64/pr23494b.d,
160 * testsuite/binutils-all/x86-64/pr23494c-x32.d,
161 * testsuite/binutils-all/x86-64/pr23494c.d,
162 * testsuite/binutils-all/x86-64/pr23494d-x32.d,
163 * testsuite/binutils-all/x86-64/pr23494d.d,
164 * testsuite/binutils-all/x86-64/pr23494e-x32.d,
165 * testsuite/binutils-all/x86-64/pr23494e.d,
166 * testsuite/lib/utils-lib.exp (run_dump_test): Replace not-target
167 and not-skip with notarget and noskip.
169 2018-09-15 Alan Modra <amodra@gmail.com>
171 * testsuite/binutils-all/group-7a.d,
172 * testsuite/binutils-all/group-7b.d,
173 * testsuite/binutils-all/group-7c.d,
174 * testsuite/binutils-all/symbols-1.d,
175 * testsuite/binutils-all/symbols-2.d,
176 * testsuite/binutils-all/symbols-3.d,
177 * testsuite/binutils-all/symbols-4.d: Remove DUMPPROG.
179 2018-09-14 Alan Modra <amodra@gmail.com>
182 * testsuite/binutils-all/pr23633.d: Don't fail when assembler
183 generates sections other than .text.
185 2018-09-13 H.J. Lu <hongjiu.lu@intel.com>
188 * testsuite/binutils-all/objcopy.exp: Run pr23633.
189 * testsuite/binutils-all/pr23633.d: New file.
190 * testsuite/binutils-all/pr23633.list: Likewise.
191 * testsuite/binutils-all/pr23633.s: Likewise.
193 2018-09-13 Nick Clifton <nickc@redhat.com>
196 * objcopy.c (add_specific_symbols): Do not free the buffer at the
199 2018-09-10 Alan Modra <amodra@gmail.com>
202 * objcopy.c (handle_remove_section_option): Consider .rela and
203 .rel sections for stripping directly as well as attached to the
204 associated section they relocate.
205 * doc/binutils.texi (remove-relocations): Specify that this
206 option removes non-dynamic relocation sections.
207 * testsuite/binutils-all/objcopy.exp
208 (objcopy_remove_relocations_from_executable): New test.
210 2018-09-03 Nick Clifton <nickc@redhat.com>
212 * po/ja.po: Updated Japanese translation.
214 2018-08-31 H.J. Lu <hongjiu.lu@intel.com>
216 * testsuite/binutils-all/readelf.s-64: Adjusted for
217 .note.gnu.property section.
218 * testsuite/binutils-all/strip-3.d: Also strip
219 .note.gnu.property section.
221 2018-08-31 H.J. Lu <hongjiu.lu@intel.com>
223 * testsuite/binutils-all/i386/compressed-1b.d: Pass
224 -mx86-used-note=no to assembler.
225 * testsuite/binutils-all/i386/compressed-1c.d: Likewise.
226 * testsuite/binutils-all/x86-64/compressed-1b.d: Likewise.
227 * testsuite/binutils-all/x86-64/compressed-1c.d: Likewise.
228 * testsuite/binutils-all/i386/empty.d: Pass -mx86-used-note=yes
229 to assembler and update expected output from "readelf -n".
230 * testsuite/binutils-all/i386/ibt.d: Likewise.
231 * testsuite/binutils-all/i386/pr21231a.d: Likewise.
232 * testsuite/binutils-all/i386/pr21231b.d: Likewise.
233 * testsuite/binutils-all/i386/shstk.d: Likewise.
234 * testsuite/binutils-all/x86-64/empty-x32.d: Likewise.
235 * testsuite/binutils-all/x86-64/empty.d: Likewise.
236 * testsuite/binutils-all/x86-64/ibt-x32.d: Likewise.
237 * testsuite/binutils-all/x86-64/ibt.d: Likewise.
238 * testsuite/binutils-all/x86-64/pr21231a.d: Likewise.
239 * testsuite/binutils-all/x86-64/pr21231b.d: Likewise.
240 * testsuite/binutils-all/x86-64/pr23494a-x32.d: Likewise.
241 * testsuite/binutils-all/x86-64/pr23494a.d: Likewise.
242 * testsuite/binutils-all/x86-64/pr23494b-x32.d: Likewise.
243 * testsuite/binutils-all/x86-64/pr23494b.d: Likewise.
244 * testsuite/binutils-all/x86-64/pr23494c-x32.d: Likewise.
245 * testsuite/binutils-all/x86-64/pr23494c.d: Likewise.
246 * testsuite/binutils-all/x86-64/pr23494d-x32.d: Likewise.
247 * testsuite/binutils-all/x86-64/pr23494d.d: Likewise.
248 * testsuite/binutils-all/x86-64/pr23494e-x32.d: Likewise.
249 * testsuite/binutils-all/x86-64/pr23494e.d: Likewise.
250 * testsuite/binutils-all/x86-64/shstk-x32.d: Likewise.
251 * testsuite/binutils-all/x86-64/shstk.d: Likewise.
253 2018-08-30 H.J. Lu <hongjiu.lu@intel.com>
255 * readelf.c (process_section_headers): Treat SHT_FINI_ARRAY and
256 SHT_PREINIT_ARRAY as relocatable sections.
258 2018-08-30 Chenghua Xu <paul.hua.gm@gmail.com>
260 * MAINTAINERS: Add myself as a MIPS port maintainer.
262 2018-08-29 Chenghua Xu <paul.hua.gm@gmail.com>
264 * NEWS: Mention Loongson 2K1000 proccessor support.
265 * readelf.c (get_machine_flags): Handle gs264e.
267 2018-08-29 Chenghua Xu <paul.hua.gm@gmail.com>
269 * NEWS: Mention Loongson 3A2000/3A3000 proccessor support.
270 * readelf.c (get_machine_flags): Handle gs464e.
272 2018-08-29 Chenghua Xu <paul.hua.gm@gmail.com>
274 * NEWS: Mention Loongson 3A1000 proccessor support.
275 * readelf.c (get_machine_flags): Rename loongson-3a to gs464.
276 (print_mips_isa_ext): Delete AFL_EXT_LOONGSON_3A.
278 2018-08-29 Chenghua Xu <paul.hua.gm@gmail.com>
280 * readelf.c (print_mips_ases): Add Loongson EXT2 extension.
282 2018-08-29 Chenghua Xu <paul.hua.gm@gmail.com>
284 * readelf.c (print_mips_ases): Add Loongson EXT extension.
286 2018-08-29 Chenghua Xu <paul.hua.gm@gmail.com>
288 * readelf.c (print_mips_ases): Add CAM extension.
290 2018-08-27 H.J. Lu <hongjiu.lu@intel.com>
292 * readelf.c (decode_x86_isa): Print <None> if bitmask only
293 contains the GNU_PROPERTY_X86_UINT32_VALID bit.
294 (decode_x86_feature_1): Likewise.
295 (decode_x86_feature_2): Likewise.
296 (print_gnu_property_note): Don't mask out the
297 GNU_PROPERTY_X86_UINT32_VALID bit.
298 * testsuite/binutils-all/i386/pr21231b.d: Updated.
299 * testsuite/binutils-all/x86-64/pr21231b.d: Likewise.
301 2018-08-27 H.J. Lu <hongjiu.lu@intel.com>
303 * readelf.c (decode_x86_compat_isa): Break multi-statement line.
304 (decode_x86_isa): Likewise.
305 (decode_x86_feature_2): Likewise.
307 2018-08-25 H.J. Lu <hongjiu.lu@intel.com>
310 * readelf.c (get_symbol_version_string): Return _("<corrupt>")
311 for corrupt symbol version info.
313 2018-08-24 H.J. Lu <hongjiu.lu@intel.com>
315 * readelf.c (decode_x86_compat_isa): New function.
316 (decode_x86_feature_2): Likewise.
317 (decode_x86_isa): Updated for new X86_ISA_1_XXX bits.
318 (decode_x86_feature): Renamed to ...
319 (decode_x86_feature_1): This. Remove the type argument.
320 (print_gnu_property_note): Handle X86_COMPAT_ISA_1_USED,
321 X86_COMPAT_ISA_1_NEEDED, X86_UINT32_AND_LO, X86_UINT32_AND_HI,
322 X86_UINT32_OR_LO, X86_UINT32_OR_HI, X86_UINT32_OR_AND_LO and
323 X86_UINT32_OR_AND_HI instead of X86_ISA_1_USED, X86_ISA_1_NEEDED
324 and X86_FEATURE_1_AND.
325 * testsuite/binutils-all/i386/pr21231b.s: Updated to the current
326 GNU_PROPERTY_X86_ISA_1_USED and GNU_PROPERTY_X86_ISA_1_NEEDED
328 * testsuite/binutils-all/x86-64/pr21231b.s: Likewise.
329 * testsuite/binutils-all/x86-64/pr23494a.s: Likewise.
330 * testsuite/binutils-all/x86-64/pr23494b.s: Likewise.
331 * testsuite/binutils-all/x86-64/pr23494c.s: Likewise.
332 * testsuite/binutils-all/i386/pr21231b.d: Updated.
333 * testsuite/binutils-all/x86-64/pr21231b.d: Likewise.
334 * testsuite/binutils-all/x86-64/pr23494a-x32.d: Likewise.
335 * testsuite/binutils-all/x86-64/pr23494a.d: Likewise.
336 * testsuite/binutils-all/x86-64/pr23494c-x32.d: Likewise.
337 * testsuite/binutils-all/x86-64/pr23494c.d: Likewise.
338 * testsuite/binutils-all/x86-64/pr23494d-x32.d: Likewise.
339 * testsuite/binutils-all/x86-64/pr23494d.d: Likewise.
340 * testsuite/binutils-all/x86-64/pr23494e-x32.d: Likewise.
341 * testsuite/binutils-all/x86-64/pr23494e.d: Likewise.
343 2018-08-24 H.J. Lu <hongjiu.lu@intel.com>
345 * readelf.c (print_gnu_property_note): Check the
346 GNU_PROPERTY_X86_UINT32_VALID bit for invalid GNU property note.
348 2018-08-23 Alan Modra <amodra@gmail.com>
350 * readelf.c (get_ppc64_symbol_other): Return NULL if st_other
351 field contains unrecognised or reserved values. Handle
354 2018-08-23 H.J. Lu <hongjiu.lu@intel.com>
357 * Makefile.am (development.exp): New target.
358 (EXTRA_DEJAGNU_SITE_CONFIG): New.
359 (DISTCLEANFILES): Add development.exp.
360 * Makefile.in: Regenerated.
361 * testsuite/binutils-all/objcopy.exp (strip_test): Call
362 prune_warnings to prune BFD output.
363 (strip_test_with_saving_a_symbol): Likewise.
364 (objcopy_test_without_global_symbol): Likewise.
365 * testsuite/lib/binutils-common.exp (prune_warnings_extra):
367 (prune_warnings): Likewise.
369 2018-08-23 H.J. Lu <hongjiu.lu@intel.com>
371 * README-how-to-make-a-release: Document setting "experimental"
374 2018-08-22 Alan Modra <amodra@gmail.com>
376 * readelf.c (process_file_header): Assign updated values from
377 section_header[0] fields to e_phnum, e_shnum and e_shstrndx
378 during printing of header. Correct e_shstrndx range check.
379 Remove unnecessary casts and use %u rather than %ld for
380 unsigned int header fields. Don't print a random %lx when
381 reporting an unknown EI_VERSION.
383 2018-08-21 Nick Clifton <nickc@redhat.com>
385 * MAINTAINERS: Note that Arnold Metselaar has retired as the z80
388 2018-08-21 L. Simon <l.simon@samsung.com>
391 * readelf.c (hppa_process_unwind): Only dump the unwind table if
392 the data was successfully read in.
394 2018-08-18 Alan Modra <amodra@gmail.com>
396 * testsuite/lib/binutils-common.exp (is_elf64): Use directory of
397 input file for readelf.out.
399 * testsuite/binutils-all/objcopy.exp (elf64): Set new variable
400 from first result of is_elf64 test.
401 (reloc_format): Set using is_rela.
402 (strip-13): Pass RELOC and ELF64 to assembler.
403 (strip-14, strip-15): Use elf64 rather than calling is_elf64 again.
404 * testsuite/binutils-all/strip-13.d: Run for more targets.
405 * testsuite/binutils-all/strip-13mips64.s: Use RELOC and set
407 * testsuite/binutils-all/strip-13rel.s: Use RELOC and ELF64.
408 Don't add _NONE reloc.
409 * testsuite/binutils-all/strip-13rela.s: Likewise.
411 2018-08-10 H.J. Lu <hongjiu.lu@intel.com>
414 * testsuite/binutils-all/x86-64/pr23494c.s: New file.
415 * testsuite/binutils-all/x86-64/pr23494e-x32.d: Likewise.
416 * testsuite/binutils-all/x86-64/pr23494e.d: Likewise.
418 2018-08-10 H.J. Lu <hongjiu.lu@intel.com>
420 * testsuite/binutils-all/x86-64/pr23494a-x32.d: Skip nacl
422 * testsuite/binutils-all/x86-64/pr23494a.d: Likewise.
423 * testsuite/binutils-all/x86-64/pr23494b-x32.d: Likewise.
424 * testsuite/binutils-all/x86-64/pr23494b.d: Likewise.
425 * testsuite/binutils-all/x86-64/pr23494c-x32.d: Likewise.
426 * testsuite/binutils-all/x86-64/pr23494c.d: Likewise.
427 * testsuite/binutils-all/x86-64/pr23494d-x32.d: Likewise.
428 * testsuite/binutils-all/x86-64/pr23494d.d: Likewise.
430 2018-08-08 H.J. Lu <hongjiu.lu@intel.com>
433 * testsuite/binutils-all/x86-64/pr23494a-x32.d: New file.
434 * testsuite/binutils-all/x86-64/pr23494a.d: Likewise.
435 * testsuite/binutils-all/x86-64/pr23494a.s: Likewise.
436 * testsuite/binutils-all/x86-64/pr23494b-x32.d: Likewise.
437 * testsuite/binutils-all/x86-64/pr23494b.d: Likewise.
438 * testsuite/binutils-all/x86-64/pr23494b.s: Likewise.
439 * testsuite/binutils-all/x86-64/pr23494c-x32.d: Likewise.
440 * testsuite/binutils-all/x86-64/pr23494c.d: Likewise.
441 * testsuite/binutils-all/x86-64/pr23494d-x32.d: Likewise.
442 * testsuite/binutils-all/x86-64/pr23494d.d: Likewise.
444 2018-08-08 Kevin Buettner <kevinb@redhat.com>
446 * dwarf.c (decode_location_expresion): Add case for
447 DW_OP_GNU_variable_value.
449 2018-08-06 Claudiu Zissulescu <claziss@synopsys.com>
451 * readelf.c (display_arc_attribute): Print Tag_ARC_ATR_version.
453 2018-08-03 Nick Clifton <nickc@redhat.com>
455 * objcopy.c (merge_gnu_build_notes): Delete empty notes. Merge
456 identical function notes.
458 2018-08-01 Nick Clifton <nickc@redhat.com>
460 * README-how-to-make-a-release: Add note about regenerating the
461 info files prior to the release.
463 2018-07-30 Andrew Jenner <andrew@codesourcery.com>
465 * MAINTAINERS (C-SKY): Add Yunhai Shang as co-maintainer.
467 2018-07-30 Andrew Jenner <andrew@codesourcery.com>
469 * MAINTAINERS (C-SKY): Add Lifang Xia as maintainer.
471 2018-07-30 Andrew Jenner <andrew@codesourcery.com>
473 * readelf.c: Include elf/csky.h.
474 (guess_is_rela): Handle EM_CSKY.
475 (dump_relocations): Likewise.
476 (get_machine_name): Likewise.
477 (is_32bit_abs_reloc): Likewise.
479 2018-07-25 Nick Clifton <nickc@redhat.com>
481 * rdcoff.c (parse_coff_struct_type): Free fields array upon early
483 (parse_coff_enum_type): Free names and vals arrays upon early
485 * rddbg.c (read_section_stabs_debugging_info): Free shandle and
486 strings and stabs arrays upon early exit.
487 * readelf.c (get_32bit_section_headers): Free shdrs structure upon
489 (get_64bit_section_headers): Likewise.
490 (get_32bit_elf_symbols): Generate an error if multiple symbol
491 table index sections are associated with the same symbol section.
492 (get_64bit_elf_symbols): Likewise.
493 (process_dynamic_section): Generate an error if there are multiple
494 dynamic symbol table sections, multiple dynamic string tables or
495 multiple dynamic symbol information sections.
497 2018-07-24 Nick Clifton <nickc@redhat.com>
499 * po/sv.po: Updated Swedish translation.
501 2018-07-24 Alan Modra <amodra@gmail.com>
504 * dwarf.c (display_formatted_table): Replace "what" parameter
505 with "is_dir". Expand messages. Fix capitalisation.
506 * testsuite/binutils-all/dw5.W: Update expected output.
508 2018-07-24 Alan Modra <amodra@gmail.com>
511 * elfcomm.h (struct archive_info): Rename uses_64bit_indicies
512 to uses_64bit_indices.
513 * elfcomm.c (setup_archive): Update uses of above.
514 * readelf.c (process_archive): Likewise.
515 (get_section_type_name): Rename indicies to indices.
516 (get_32bit_elf_symbols, get_64bit_elf_symbols): Likewise.
517 (process_section_groups): Likewise.
519 2018-07-20 Maciej W. Rozycki <macro@mips.com>
521 * MAINTAINERS: Update my e-mail address, downgrade to MIPS I-IV
524 2018-07-20 Nick Clifton <nickc@redhat.com>
526 * objcopy.c (add_specific_symbols): Free buffer on exit.
527 (add_redefine_syms_file): Close file handle on exit.
528 (copy_object): Close file handle on early exit.
529 Free buffer on early exit.
530 Free gaps buffers once they are no longer needed.
531 * dwarf.c (display_debug_frames): Free allocated memory on exit.
532 (load_separate_debug_info): Free allocate memory on early exit.
534 2018-07-20 Chenghua Xu <paul.hua.gm@gmail.com>
535 Maciej W. Rozycki <macro@mips.com>
537 * readelf.c (print_mips_ases): Add MMI extension.
539 2018-07-19 DJ Delorie <dj@redhat.com>
541 * MAINTAINERS (RL78, RX): Remove myself as maintainer.
543 2018-07-19 Nick Clifton <nickc@redhat.com>
545 * dwarf.c (read_cie): Free allocated memory before returning with
548 2018-07-16 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
550 * readelf.c (get_note_type): Fix typo in NT_PPC_TM_CVSX note
553 2018-07-16 Nick Clifton <nickc@redhat.com>
555 * README-how-to-make-a-release: Add note to check for new top
556 level files and add them to the src-release.sh script.
558 2018-07-14 Nick Clifton <nickc@redhat.com>
560 * README-how-to-make-a-release: Updated with corrections based on
561 the 2.31 release experience.
563 2018-07-12 Francois H. Theron <francois.theron@netronome.com>
565 * readelf.c (process_section_headers): Don't print section type
566 twice for --section-details.
568 2018-07-10 Alan Modra <amodra@gmail.com>
570 * testsuite/lib/binutils-common.exp (supports_gnu_unique): Return
573 2018-07-06 Nick Clifton <nickc@redhat.com>
575 * readelf.c (same_section): New function.
576 (print_gnu_build_attribute_description): Do not complain about
577 gaps that cross a section boundary.
579 2018-07-05 Nick Clifton <nickc@redhat.com>
581 * po/bg.po: Updated Bulgarian translation.
583 2018-07-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
585 * NEWS: Use command-line consistently when used in a compount word.
586 * doc/binutils.texi: Likewise and fix trailing whitespace on same
589 2018-06-26 Nick Clifton <nickc@redhat.com>
591 * po/sv.po: Updated Swedish translation.
592 * po/uk.po: Updated Ukranian translation.
594 2018-06-26 Nick Clifton <nickc@redhat.com>
596 * doc/binutils.texi: Fix spelling mistakes.
597 * README--how-to-make-a-release: Likewise.
599 2018-06-25 Tom Tromey <tom@tromey.com>
601 * dwarf-mode.el (dwarf-mode-syntax-table): New variable.
604 2018-06-24 Nick Clifton <nickc@redhat.com>
606 * README-how-to-make-a-release: Update with experiences from
608 * po/binutils.pot: Regenerate.
609 * configure: Regenerate.
611 2018-06-24 Nick Clifton <nickc@redhat.com>
614 * NEWS: Add marker for 2.31.
616 2018-06-21 Alan Modra <amodra@gmail.com>
618 * doc/Makefile.am (AUTOMAKE_OPTIONS): Add "foreign".
619 * doc/Makefile.in: Regenerate.
621 2018-06-19 Simon Marchi <simon.marchi@ericsson.com>
623 * configure.ac: Remove AC_PREREQ.
624 * doc/Makefile.am (AUTOMAKE_OPTIONS): Remove cygnus, add
625 info-in-builddir no-texinfo.tex.
626 * Makefile.in: Re-generate.
627 * aclocal.m4: Re-generate.
628 * config.in: Re-generate.
629 * configure: Re-generate.
630 * doc/Makefile.in: Re-generate.
632 2018-06-19 Andreas Schwab <schwab@suse.de>
634 * readelf.c (is_16bit_abs_reloc): Handle R_RISCV_SET16.
635 (is_8bit_abs_reloc): New function.
636 (is_6bit_abs_reloc): New function.
637 (is_6bit_inplace_sub_reloc): New function.
638 (apply_relocations): Use them. Handle 6-bit relocations.
640 2018-06-14 Faraz Shahbazker <Faraz.Shahbazker@mips.com>
642 * readelf.c (print_mips_ases): Add GINV extension.
644 2018-06-14 H.J. Lu <hongjiu.lu@intel.com>
647 * readelf.c (get_symbol_version_string): Check if the first
648 symbol version is base version.
650 2018-06-13 Scott Egerton <scott.egerton@imgtec.com>
651 Faraz Shahbazker <Faraz.Shahbazker@mips.com>
653 * readelf.c (print_mips_ases): Add CRC.
655 2018-06-13 Nick Clifton <nickc@redhat.com>
657 * doc/binutils.texi (objdump): Add missing closing square
658 parenthesis to listing of objcopy's command line options.
660 2018-06-11 Nick Clifton <nickc@redhat.com>
662 * po/es.po: Updated Spanish translation.
664 2018-06-01 H.J. Lu <hongjiu.lu@intel.com>
666 * configure: Regenerated.
668 2018-05-31 Alan Modra <amodra@gmail.com>
670 * testsuite/binutils-all/compress.exp (test_gnu_debuglink): Don't
671 set CC_FOR_TARGET. Run test non-native.
672 * testsuite/binutils-all/objdump.exp (test_build_id_debuglink):
674 (test_follow_debuglink): Run test non-native.
676 2018-05-30 Ant Bikeneev <ant.bikineev@gmail.com>
679 * ar.c (display_offsets): New variable.
680 (usage): Add description of 'O' operator.
681 (decode_option): Handle 'O' operator.
682 (print_descr): Pass display_offsets to print_arelt_descr.
683 * arsup.c: Update call to printy_arelt_descr.
684 * objdump.c: Likewise.
685 * bucomm.c (print_arelt_descr): If offsets parameter is true then
686 display offset of archive element within the archive.
687 * bucomm.h: Update prototype for print_arelt_descr.
688 * doc/binutils.texi: Update description of ar command.
689 * NEWS: Mention the new feature.
690 * testsuite/binutils-all/ar.exp: Add text of new feature.
692 2018-05-28 Alan Modra <amodra@gmail.com>
695 * testsuite/binutils-all/compress.exp (test_gnu_debuglink): Return
696 unsupported rather than fail on compile errors.
697 * testsuite/binutils-all/objdump.exp (test_build_id_debuglink):
698 Likewise. Save and restore CFLAGS_FOR_TARGET.
700 2018-05-18 Kito Cheng <kito.cheng@gmail.com>
702 * readelf.c (get_machine_flags): Handle EF_RISCV_RVE.
704 2018-05-18 John Darrington <john@darrington.wattle.id.au>
706 * readelf.c: Add support for s12z architecture.
707 * testsuite/lib/binutils-common.exp (is_elf_format): Excluse s12z
710 2018-05-15 Tamar Christina <tamar.christina@arm.com>
713 * doc/binutils.texi (-M): Document AArch64 options.
715 2018-05-15 Tamar Christina <tamar.christina@arm.com>
718 * doc/binutils.texi (-M): Document AArch64 options.
719 * NEWS: Document notes and warnings.
721 2018-05-15 Alan Modra <amodra@gmail.com>
723 * testsuite/lib/binutils-common.exp (is_elf_format): Add chorus,
724 cloudabi, fuchsia, kaos and nto. Merge netbsdelf* into *elf*,
725 and *uclinux* into *linux*.
726 * testsuite/binutils-all/objcopy.exp: Accept armeb for rel
727 strip-13 test, exclude arm-vxworks and arm-windiss.
729 2018-05-10 John Darrington <john@darrington.wattle.id.au>
731 * readelf.c (get_machine_name): EM_S12Z - handle new case.
733 2018-05-09 Alan Modra <amodra@gmail.com>
735 * od-macho.c (dump_unwind_encoding_x86): Fix typo in last patch.
737 2018-05-09 Sebastian Rasmussen <sebras@gmail.com>
739 * od-macho.c (dump_unwind_encoding_x86): Adjust for macro renaming.
741 2018-05-08 Alan Modra <amodra@gmail.com>
744 * objcopy.c (is_strip_section): Strip groups without a valid
747 2018-05-07 Alan Modra <amodra@gmail.com>
750 * objcopy.c (group_signature): Don't accept groups that use a
751 symbol table other than the one we've read.
753 2018-04-30 Francois H. Theron <francois.theron@netronome.com>
755 * readelf.c: Very basic support for EM_NFP and its section types.
756 * testsuite/binutils-all/nfp: New directory.
757 * testsuite/binutils-all/nfp/objdump.exp: New file. Run new
759 * testsuite/binutils-all/nfp/test2_ctx8.d: New file.
760 * testsuite/binutils-all/nfp/test2_no-pc_ctx4.d: New file.
761 * testsuite/binutils-all/nfp/test1.d: New file.
762 * testsuite/binutils-all/nfp/nfp6000.nffw: New file.
763 * testsuite/binutils-all/nfp/test2_nfp6000.nffw: New file.
764 * NEWS: Mention the new support.
766 2018-04-27 Maciej W. Rozycki <macro@mips.com>
768 * testsuite/lib/binutils-common.exp (match_target): New procedure.
769 * testsuite/lib/utils-lib.exp (run_dump_test): Use it in place
770 of `istarget' for matching with `target', `not-target', `skip'
771 and `not-skip' options.
773 2018-04-26 Nick Clifton <nickc@redhat.com>
775 * readelf.c (is_32bit_abs_reloc): Support R_PARISC_DIR32 as a
776 32-bit absolute reloc for the HPPA target.
777 * testsuite/binutils-all/note-5.d: New test.
778 * testsuite/binutils-all/note-5.s: Source file for new test.
779 * testsuite/binutils-all/objcopy.exp: Run new test.
781 2018-04-25 Christophe Lyon <christophe.lyon@st.com>
783 * testsuite/binutils-all/elfedit-2.d: Accept arm*-*-uclinuxfdpiceabi.
784 * testsuite/binutils-all/elfedit-3.d: Likewise.
785 * testsuite/binutils-all/objcopy.exp: Likewise.
786 * testsuite/binutils-all/strip-3.d: Likewise.
787 * testsuite/lib/binutils-common.exp: Likewise.
789 2018-04-25 Christophe Lyon <christophe.lyon@st.com>
790 Mickaël Guêné <mickael.guene@st.com>
792 * readelf.c (decode_ARM_machine_flags): Support EF_ARM_PIC.
793 (get_osabi_name): Support ELFOSABI_ARM_FDPIC.
795 2018-04-25 Alan Modra <amodra@gmail.com>
797 * testsuite/binutils-all/arm/objdump.exp: Remove arm-aout and
799 * testsuite/binutils-all/objcopy.exp: Likewise.
800 * testsuite/lib/binutils-common.exp: Likewise.
802 2018-04-18 Nick Clifton <nickc@redhat.com>
805 * dwarf.c (read_and_display_attr_value): Replace assertions with
806 test and warning message.
808 2018-04-18 Alan Modra <amodra@gmail.com>
810 * testsuite/lib/binutils-common.exp: Remove support for assorted
813 2018-04-17 Nick Clifton <nickc@redhat.com>
816 * readelf.c (print_symbol): If the width is zero, return straight
820 * dwarf.c (process_cu_tu_index): Test for a potential buffer
821 overrun before copying signature pointer.
823 2018-04-17 Alan Modra <amodra@gmail.com>
825 * readelf.c: Revert 2018-04-16 and 2018-04-11 changes.
827 2018-04-16 Alan Modra <amodra@gmail.com>
829 * readelf.c (get_machine_name): Correct typo.
831 2018-04-16 Alan Modra <amodra@gmail.com>
833 * configure.ac: Remove arm-epoc-pe support.
834 * dlltool.c: Likewise.
835 * configure: Regenerate.
837 2018-04-16 Alan Modra <amodra@gmail.com>
839 * testsuite/lib/binutils-common.exp: Remove sparc-aout and
842 2018-04-16 Alan Modra <amodra@gmail.com>
844 * testsuite/binutils-all/copy-2.d: Remove m68k-aout and m68k-coff
846 * testsuite/binutils-all/copy-3.d: Likewise.
847 * testsuite/binutils-all/objcopy.exp: Likewise.
848 * testsuite/lib/binutils-common.exp: Likewise.
850 2018-04-16 Alan Modra <amodra@gmail.com>
852 * testsuite/binutils-all/objcopy.exp: Remove sh5 and sh64 support.
854 2018-04-16 Alan Modra <amodra@gmail.com>
856 * testsuite/binutils-all/objcopy.exp: Remove w65 support.
858 2018-04-16 Alan Modra <amodra@gmail.com>
860 * testsuite/binutils-all/objdump.exp: Remove we32k support.
862 2018-04-16 Alan Modra <amodra@gmail.com>
864 * MAINTAINERS (Mark Kettenis): Move to past maintainers.
865 * testsuite/binutils-all/objdump.exp: Remove m88k support.
867 2018-04-16 Alan Modra <amodra@gmail.com>
869 * readelf.c: Remove i370 support.
870 * testsuite/binutils-all/objdump.exp: Likewise.
872 2018-04-16 Alan Modra <amodra@gmail.com>
874 * testsuite/binutils-all/objcopy.exp: Remove h8500 support.
875 * testsuite/lib/binutils-common.exp: Likewise.
877 2018-04-16 Alan Modra <amodra@gmail.com>
879 * testsuite/binutils-all/objcopy.exp: Remove h8300-coff support.
881 2018-04-16 Alan Modra <amodra@gmail.com>
883 * Makefile.am: Remove IEEE 695 support.
885 * doc/binutils.texi: Likewise.
886 * makefile.vms: Likewise.
887 * objcopy.c: Likewise.
888 * objdump.c: Likewise.
891 * Makefile.in: Regenerate.
892 * po/POTFILES.in: Regenerate.
894 2018-04-16 Alan Modra <amodra@gmail.com>
896 * testsuite/binutils-all/copy-2.d: Remove newsos3 support.
897 * testsuite/binutils-all/nm.exp: Likewise.
899 2018-04-16 Alan Modra <amodra@gmail.com>
901 * .gitignore: Remove netware support.
902 * Makefile.am: Likewise.
903 * configure.ac: Likewise.
904 * doc/Makefile.am: Likewise.
905 * doc/binutils.texi: Likewise.
906 * testsuite/binutils-all/nm.exp: Likewise.
909 * nlmheader.y: Delete.
910 * Makefile.in: Regenerate.
911 * configure: Regenerate.
912 * doc/Makefile.in: Regenerate.
913 * po/POTFILES.in: Regenerate.
915 2018-04-16 Alan Modra <amodra@gmail.com>
917 * testsuite/binutils-all/objdump.exp: Remove tahoe support.
919 2018-04-14 Alan Modra <amodra@gmail.com>
921 * readelf.c (get_machine_name): Revert 2018-04-11 change.
923 2018-04-12 Nick Clifton <nickc@redhat.com>
926 * readelf.c (process_dynamic_section): Correct dynamic string
927 table size calculation.
929 2018-04-11 Alan Modra <amodra@gmail.com>
931 * ieee.c: Remove i960 support.
932 * od-macho.c: Remove i860 support.
933 * readelf.c: Remove i860 and i960 support.
934 * testsuite/binutils-all/objcopy.exp: Likewise.
935 * testsuite/binutils-all/objdump.exp: Likewise.
936 * testsuite/lib/binutils-common.exp: Likewise.
938 2018-04-11 Maciej W. Rozycki <macro@mips.com>
940 * testsuite/lib/binutils-common.exp (is_elf_format): Also return
941 1 for `*-*-lynxos*' and `*-*-symbianelf*' targets.
943 2018-04-10 Alan Modra <amodra@gmail.com>
945 * testsuite/binutils-all/objcopy.exp (strip-14, strip-15): Choose
946 reloc=11 for pru and reloc=50 for nds32.
947 * testsuite/binutils-all/strip-15.d: Accept 0xb reloc number.
949 2018-04-09 Maciej W. Rozycki <macro@mips.com>
951 * testsuite/binutils-all/strip-15.d: New test.
952 * testsuite/binutils-all/strip-15rel.s: New test source.
953 * testsuite/binutils-all/strip-15rela.s: New test source.
954 * testsuite/binutils-all/strip-15mips64.s: New test source.
955 * testsuite/binutils-all/objcopy.exp: Run the new test.
957 2018-04-09 Maciej W. Rozycki <macro@mips.com>
959 * testsuite/binutils-all/strip-14.d: New test.
960 * testsuite/binutils-all/strip-14rel.s: New test source.
961 * testsuite/binutils-all/strip-14rela.s: New test source.
962 * testsuite/binutils-all/strip-14mips64.s: New test source.
963 * testsuite/binutils-all/objcopy.exp: Run the new test.
965 2018-04-06 Tom Tromey <tom@tromey.com>
967 * dwarf.c (read_and_display_attr_value): Add missing DW_LANG
968 constants from DWARF 5.
970 2018-04-05 H.J. Lu <hongjiu.lu@intel.com>
973 * configure: Regenerated.
975 2018-04-05 Maciej W. Rozycki <macro@mips.com>
977 * testsuite/binutils-all/strip-13mips64.s: Use `.dc.l' rather
978 than `.dc.w' in second relocation.
980 2018-04-05 Maciej W. Rozycki <macro@mips.com>
982 * testsuite/binutils-all/strip-13.d: Also expect `unsupported
983 relocation type 0x8f' error message.
985 2018-04-05 Maciej W. Rozycki <macro@mips.com>
987 * testsuite/binutils-all/strip-13.s: Rename to...
988 * testsuite/binutils-all/strip-13rela.s: ... this.
989 * testsuite/binutils-all/strip-13rel.s: New test source.
990 * testsuite/binutils-all/strip-13mips64.s: New test source.
991 * testsuite/binutils-all/strip-13.d: Remove `arm-*', `d10v-*',
992 `dlx-*' and `xgate-*' from `not-target' list. Add `m6811-*' and
993 `m68hc11-*' to `not-target' list.
994 * testsuite/binutils-all/objcopy.exp: Switch between sources for
997 2018-04-05 Maciej W. Rozycki <macro@mips.com>
999 * testsuite/binutils-all/strip-13.s: Use 143 (0x8f) rather than
1000 241 (0xf1) for the relocation number and RELA addend.
1001 * testsuite/binutils-all/strip-13.d: Remove `hppa*-*' from the
1004 2018-04-04 John David Anglin <danglin@gcc.gnu.org>
1006 * MAINTAINERS: Update my e-mail address.
1008 2018-04-04 Nick Clifton <nickc@redhat.com>
1010 * MAINTAINERS: Move Jason Eckhardt to past maintainers section.
1012 2018-03-23 Nick Clifton <nickc@redhat.com>
1014 * readelf.c (get_symbol_for_build_attribute): Skip ARM mapping
1016 (print_gnu_build_attribute_description): If no file start symbol
1017 could be found, look for one two bytes into the file.
1018 * testsuite/binutils-all/note-4-64.s: Set the address of the file
1019 start symbol to two bytes into the file.
1020 * testsuite/binutils-all/note-4-32.s: Likewise.
1022 2018-03-21 H.J. Lu <hongjiu.lu@intel.com>
1024 * readelf.c (process_dynamic_section): Also dump DF_1_KMOD,
1025 DF_1_WEAKFILTER and DF_1_NOCOMMON.
1027 2018-03-20 Nick Clifton <nickc@redhat.com>
1029 * po/es.po: Updated Spanish translation.
1030 * po/ru.po: Updated Russian translation.
1032 2018-03-13 Nick Clifton <nickc@redhat.com>
1035 * stabs.c (pop_binincl): Fail if the file index is off the end of
1038 2018-03-13 Nick Clifton <nickc@redhat.com>
1041 * stabs.c (parse_number): Add p_end parameter and use it to check
1042 the validity of the pp parameter. Add checks to prevent walking
1043 off the end of the string buffer.
1044 (parse_stab_string): Likewise.
1045 (parse_stab_type): Likewise.
1046 (parse_stab_type_number): Likewise.
1047 (parse_stab_range_type): Likewise.
1048 (parse_stab_sun_builtin_type): Likewise.
1049 (parse_stab_sun_floating_type): Likewise.
1050 (parse_stab_enum_type): Likewise.
1051 (parse_stab_struct_type): Likewise.
1052 (parse_stab_baseclasses): Likewise.
1053 (parse_stab_struct_fields): Likewise.
1054 (parse_stab_cpp_abbrev): Likewise.
1055 (parse_stab_one_struct_field): Likewise.
1056 (parse_stab_members): Likewise.
1057 (parse_stab_tilde_field): Likewise.
1058 (parse_stab_array_type): Likewise.
1060 * parse_stab: Compute the end of the string and then pass it on to
1061 individual parser functions.
1063 2018-03-07 Paul Pluzhnikov <ppluzhnikov@google.com>
1066 * binutils/readelf.c (get_ver_flags): Expand buffer to avoid
1069 2018-03-07 Alan Modra <amodra@gmail.com>
1071 * configure.ac: Add objdump_private_desc_xcoff for rs6000.
1072 * configure: Regenerate.
1074 2018-03-05 H.J. Lu <hongjiu.lu@intel.com>
1077 * objdump.c (is_significant_symbol_name): Return TRUE for all
1079 (find_symbol_for_address): Replace linear search with binary
1080 search on dynamic relocations.
1082 2018-03-01 Nick Clifton <nickc@redhat.com>
1085 * dwarf.c (display_debug_ranges): Check that the offset loaded
1086 from the range_entry structure is valid.
1088 2018-03-01 Alan Modra <amodra@gmail.com>
1090 * configure.ac (ALL_LINGUAS): Add sr. Sort.
1091 * configure: Regenerate.
1093 2018-02-27 Nick Clifton <nickc@redhat.com>
1095 * po/pt.po: New Portuguese translation.
1096 * configure.ac (ALL_LINGUAS): Add pt.
1097 * configure: Regenerate.
1099 2018-02-27 Nick Clifton <nickc@redhat.com>
1102 * objcopy.c (copy_object): Check the error status after marking
1103 symbols used in relocations.
1104 * testsuite/binutils-all/strip-13.s: New test source file.
1105 * testsuite/binutils-all/strip-13.s: New test driver file.
1106 * testsuite/binutils-all/objcopy.exp: Run the new test.
1108 2018-02-26 Alan Modra <amodra@gmail.com>
1110 * testsuite/binutils-all/mips/mips-reginfo-n32.d,
1111 * testsuite/binutils-all/mips/mips-reginfo.d: Update.
1113 2018-02-23 Alan Modra <amodra@gmail.com>
1115 * testsuite/binutils-all/mips/mips-reginfo-n32.d,
1116 * testsuite/binutils-all/mips/mips-reginfo.d: Update.
1118 2018-02-20 Ronald Hoogenboom <hoogenboom30@zonnet.nl>
1120 * doc/binutils.texi (objcopy): Add missing closing square
1121 parenthesis to listing of objcopy's command line options.
1123 2018-02-19 Matthias Klose <doko@debian.org>
1125 * strings.c (long_options): Include-all-whitespace does not take
1128 2018-02-13 Alan Modra <amodra@gmail.com>
1131 * testsuite/binutils-all/group-7.s,
1132 * testsuite/binutils-all/group-7a.d,
1133 * testsuite/binutils-all/group-7b.d,
1134 * testsuite/binutils-all/group-7c.d: New tests.
1135 * testsuite/binutils-all/objcopy.exp: Run them.
1137 2018-02-08 Nick Clifton <nickc@redhat.com>
1140 * dwarf.c (load_separate_debug_file): Return early if the user is
1141 not interested in debug links.
1143 2018-02-06 Nick Clifton <nickc@redhat.com>
1146 * readelf.c (find_section): Replace assertion with test and return
1148 (find_section_by_address): Add test of section header table
1150 (find_section_by_type): Likewise.
1151 (find_section_in_set): Likewise.
1153 2018-02-05 Maciej W. Rozycki <macro@mips.com>
1155 * testsuite/binutils-all/mips/mips-reginfo.d: New test.
1156 * testsuite/binutils-all/mips/mips-reginfo-n32.d: New test.
1157 * testsuite/binutils-all/mips/mips-reginfo.s: New test source.
1158 * testsuite/binutils-all/mips/mips.exp: Run the new tests.
1160 2018-02-05 Maciej W. Rozycki <macro@mips.com>
1162 * testsuite/config/default.exp (binutils_run): Document
1163 `binutils_run_status'.
1164 * testsuite/lib/utils-lib.exp (default_binutils_run): Likewise,
1166 (run_dump_test): Add `error', `error_output', `warning' and
1167 `warning_output' options. Update documentation accordingly.
1169 2018-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
1171 * dwarf.c (dwarf_regnames_riscv): New register name table.
1172 (init_dwarf_regnames_riscv): New function.
1173 (init_dwarf_regnames): Add call to initialise RiscV register
1175 * dwarf.h (init_dwarf_regnames_riscv): Declare.
1176 * objdump.c (dump_dwarf): Add call to initialise RiscV register
1179 2018-02-01 Alan Modra <amodra@gmail.com>
1182 * objdump.c (load_specific_debug_section): Check for overflow
1183 when adding one to section size for a string section terminator.
1185 2018-01-30 Nick Clifton <nickc@redhat.com>
1188 * doc/binutils.texi (nm): Update description to point out that
1189 zero-initialized values can also be shown as type B, b, S or s
1190 since they can be stored in the BSS section.
1192 2018-01-30 Alan Modra <amodra@gmail.com>
1194 * objcopy.c (merge_gnu_build_notes): Use (bfd_vma) -1 as
1195 "artificially large" end address.
1197 2018-01-28 Nick Clifton <nickc@redhat.com>
1199 * README-how-to-make-a-release: Add note about checking gpg key
1200 and the results of gnupload.
1202 2018-01-27 Nick Clifton <nickc@redhat.com>
1204 * README-how-to-make-a-release: Add details on how to actually
1207 2018-01-26 Nick Clifton <nickc@redhat.com>
1209 * README-how-to-make-a-release: Add more details on updating
1212 2018-01-22 Maciej W. Rozycki <macro@mips.com>
1214 * doc/binutils.texi (objcopy): Fix a typo in `--rename-section'
1217 2018-01-22 Maciej W. Rozycki <macro@mips.com>
1219 * MAINTAINERS: Update my company e-mail address.
1221 2018-01-22 Nick Clifton <nickc@redhat.com>
1223 * po/sv.po: Updated Swedish translation.
1225 2018-01-18 Nick Clifton <nickc@redhat.com>
1227 * po/bg.po: Updated Bulgarian translation.
1229 2018-01-16 Joel Brobecker <brobecker@adacore.com>
1231 * README-how-to-make-a-release: Add reminder to update the
1232 branch name in gdbadmin's crontab on sourceware.
1234 2018-01-16 Joel Brobecker <brobecker@adacore.com>
1236 * README-how-to-make-a-release: Remove trailing spaces.
1238 2018-01-16 Nick Clifton <nickc@redhat.com>
1240 * po/fr.po: Updated French translation.
1242 2018-01-15 Nick Clifton <nickc@redhat.com>
1244 * po/uk.po: Updated Ukranian translation.
1246 2018-01-13 Nick Clifton <nickc@redhat.com>
1248 * README-how-to-make-a-release: Update notes.
1249 * po/binutils.pot: Regenerated.
1251 2018-01-13 Nick Clifton <nickc@redhat.com>
1253 * configure: Regenerate.
1255 2018-01-13 Nick Clifton <nickc@redhat.com>
1257 2.30 branch created.
1258 * NEWS: Add marker for 2.30.
1260 2018-01-12 Nick Clifton <nickc@redhat.com>
1262 * README-how-to-make-a-release: Add notes on how to make the
1263 branch and prelease snapshot.
1264 * BRANCHES: Add binutils-2_29-branch.
1266 2018-01-10 Nick Clifton <nickc@redhat.com>
1268 * MAINTAINERS: Note that it is now the configure.ac file and not
1269 the configure.in file that needs to be kept in sync with gcc.
1270 Add a note about sending patches for libiberty to gcc.
1272 2018-01-03 Nick Clifton <nickc@redhat.com>
1274 * objcopy.c (merge_gnu_build_notes): Add cast to maximum address
1277 2018-01-03 Nick Clifton <nickc@redhat.com>
1279 * objcopy.c (objcopy_internal_note): New structure.
1280 (gap_exists): New function.
1281 (is_open_note): New function.
1282 (is_func_note): New function.
1283 (is_64bit): New function.
1284 (merge_gnu_build_notes): Handle v3 notes. Do not merge
1285 if there are relocations against the notes.
1286 * readelf.c (get_note_type): Use short names for build attribute
1288 (print_symbol_for_build_attribute): Rename to
1289 get_symbol_for_build_attribute. Returns the found symbol rather
1291 (print_gnu_build_attribute_description): Maintain address ranges
1292 for function notes as well as global notes. Handle v3 notes.
1293 (print_gnu_build_attribute_name): Use more space for printing the
1295 * testsuite/binutils-all/note-2-32.s: Use .dc.l instead of .word.
1296 Eliminate symbol references in order to remove the need for
1298 * testsuite/binutils-all/note-2-64.s: Likewise.
1299 * testsuite/binutils-all/note-3-32.s: Add a size to the note_1
1301 * testsuite/binutils-all/note-3-64.s: Likewise.
1302 * testsuite/binutils-all/mips/mips-note-2r-n32.d: Update expected
1304 * testsuite/binutils-all/mips/mips-note-2r-n64.d: Likewise.
1305 * testsuite/binutils-all/mips/mips-note-2r.d: Likewise.
1306 * testsuite/binutils-all/note-2-32.d: Likewise.
1307 * testsuite/binutils-all/note-2-64.d: Likewise.
1308 * testsuite/binutils-all/note-3-32.d: Likewise.
1309 * testsuite/binutils-all/note-3-64.d: Likewise.
1310 * testsuite/binutils-all/note-4-64.s: New test. Checks v3 notes.
1311 * testsuite/binutils-all/note-4-32.s: New test.
1312 * testsuite/binutils-all/note-4-64.d: New test result file.
1313 * testsuite/binutils-all/note-4-32.d: New test result file.
1315 2018-01-03 Alan Modra <amodra@gmail.com>
1317 Update year range in copyright notice of all files.
1319 For older changes see ChangeLog-2017
1321 Copyright (C) 2018 Free Software Foundation, Inc.
1323 Copying and distribution of this file, with or without modification,
1324 are permitted in any medium without royalty provided the copyright
1325 notice and this notice are preserved.
1331 version-control: never