1 2018-10-15 Alan Modra <amodra@gmail.com>
4 * addr2line.c (main): Exit with fatal error if bfd_init
5 returns an unexpected value.
6 * ar.c (main): Likewise.
7 * dlltool.c (identify_dll_for_implib): Likewise.
8 * nm.c (main): Likewise.
9 * objcopy.c (main): Likewise.
10 * objdump.c (main): Likewise.
11 * size.c (main): Likewise.
12 * strings.c (main): Likewise.
13 * windmc.c (main): Likewise.
14 * windres.c (main): Likewise.
16 2018-10-11 Jordan Rupprecht <rupprecht@google.com>
17 Nick Clifton <nickc@redhat.com>
19 * objcopy.c (copy_main): Issue a fata error if the
20 --keep-global-symbol(s) and the --globalize-symbol(s) options are
22 * doc/binutils.texi: Document that the two options are
24 * testsuite/binutils-all/copy-5.d: New test.
25 * testsuite/binutils-all/objcopy.exp: Run the new test.
27 2018-10-10 Helge Deller <deller@gmx.de>
28 Alan Modra <amodra@gmail.com>
30 * readelf.c (hppa_process_unwind): Don't use eh_addr_size to
31 calculate number of entries.
32 (slurp_hppa_unwind_table): Don't use eh_addr_size here either.
34 2018-10-10 Alan Modra <amodra@gmail.com>
36 * objdump.c (dump_dwarf): Set s12z eh_addr_size to 4.
38 2018-10-08 Andreas Schwab <schwab@suse.de>
40 * readelf.c (is_32bit_pcrel_reloc): Handle R_RISCV_32_PCREL.
42 2018-10-03 Nick Clifton <nickc@redhat.com>
44 * po/pt.po: Updated Portuguese translation.
45 * po/fr.po: Updated French translation.
47 2018-09-22 Alan Modra <amodra@gmail.com>
49 * readelf.c (apply_relocations): Don't return FALSE for warnings.
51 2018-09-20 Nelson Chu <nelson.chu1990@gmail.com>
53 * testsuite/binutils-all/objcopy.exp: Set the unsupported reloc number
54 from 215 to 255 for NDS32.
56 2018-09-17 H.J. Lu <hongjiu.lu@intel.com>
58 * objcopy.c (strip_specific_buffer): New.
59 (strip_unneeded_buffer): Likewise.
60 (keep_specific_buffer): Likewise.
61 (localize_specific_buffer): Likewise.
62 (globalize_specific_buffer): Likewise.
63 (keepglobal_specific_buffer): Likewise.
64 (weaken_specific_buffer): Likewise.
65 (add_specific_symbols): Add an argument to return pointer to
67 (copy_main): Update add_specific_symbols to update pointers to
68 allocated buffer. Free pointers to allocated buffer before
71 2018-09-17 Alan Modra <amodra@gmail.com>
73 * objcopy.c (handle_remove_section_option): Don't require a dot
74 after .rela and .rel to handle a possible relocation section.
75 * testsuite/binutils-all/remove-relocs-07.s,
76 * testsuite/binutils-all/remove-relocs-07.d,
77 * testsuite/binutils-all/remove-relocs-08.d: New tests.
78 * testsuite/binutils-all/remove-relocs-01.d,
79 * testsuite/binutils-all/remove-relocs-04.d,
80 * testsuite/binutils-all/remove-relocs-05.d,
81 * testsuite/binutils-all/remove-relocs-06.d: Exclude mips64-openbsd.
83 2018-09-17 Alan Modra <amodra@gmail.com>
85 * testsuite/lib/binutils-common.exp (is_som_format): New proc.
86 (run_dump_test): Correct target test for alternate .comm syntax.
87 (get_standard_section_names): Handle som format.
88 * testsuite/lib/utils-lib.exp (default_binutils_assemble_flags):
89 Correct target test for alternate .comm syntax.
91 2018-09-17 Alan Modra <amodra@gmail.com>
93 * testsuite/binutils-all/strip-13mips64.s: Add section flags
95 * testsuite/binutils-all/strip-13rel.s: Likewise.
96 * testsuite/binutils-all/strip-13rela.s: Likewise.
97 * testsuite/binutils-all/strip-14mips64.s: Likewise.
98 * testsuite/binutils-all/strip-14rel.s: Likewise.
99 * testsuite/binutils-all/strip-14rela.s: Likewise.
100 * testsuite/binutils-all/strip-15mips64.s: Likewise.
101 * testsuite/binutils-all/strip-15rel.s: Likewise.
102 * testsuite/binutils-all/strip-15rela.s: Likewise.
104 2018-09-17 Nick Clifton <nickc@redhat.com>
106 * testsuite/binutils-all/compress.exp: Rename second "objcopy
107 zlib-gnu compress debug sections 3" test to "objcopy zlib-gabi
108 compress debug sections 3" and use gabi object files instead
110 * testsuite/binutils-all/objcopy.exp: Add suffix to the names
111 of the "ELF group" tests.
112 * testsuite/binutils-all/readelf.exp (proc readelf_find_size):
113 Add an iteration parameter and include it in the name of the
114 test. Update callers to include an iteration count.
116 2018-09-15 Alan Modra <amodra@gmail.com>
118 * testsuite/binutils-all/add-symbol.d: Add "section_subst: no".
119 * testsuite/binutils-all/elfedit.exp: Don't set tempfile or copyfile.
120 * testsuite/binutils-all/symbols-1.d,
121 * testsuite/binutils-all/symbols-2.d,
122 * testsuite/binutils-all/symbols-3.d,
123 * testsuite/binutils-all/symbols-4.d: Quote '*' and '!'.
124 * testsuite/binutils-all/add-empty-section.d,
125 * testsuite/binutils-all/add-section.d,
126 * testsuite/binutils-all/elfedit.exp,
127 * testsuite/binutils-all/note-1.d,
128 * testsuite/binutils-all/pr23633.d: Add $subdir after $srcdir.
129 * testsuite/config/default.exp (AS, ASFLAGS): Define.
130 * testsuite/config/hppa.sed: Handle all common symbols.
131 * testsuite/lib/binutils-common.exp (run_dump_test): New proc,
132 merged from three other versions.
133 (slurp_options, file_contents, set_file_contents): Likewise.
134 (big_or_little_endian, get_standard_section_names): Likewise.
135 * testsuite/lib/utils-lib.exp (run_dump_test): Delete.
136 (slurp_options, proc file_contents): Delete.
137 (get_standard_section_names): Delete.
139 2018-09-15 Alan Modra <amodra@gmail.com>
141 * testsuite/binutils-all/copy-2.d,
142 * testsuite/binutils-all/copy-3.d,
143 * testsuite/binutils-all/copy-4.d,
144 * testsuite/binutils-all/elfedit-1.d,
145 * testsuite/binutils-all/note-1.d,
146 * testsuite/binutils-all/note-2-64.d,
147 * testsuite/binutils-all/strip-11.d,
148 * testsuite/binutils-all/strip-13.d,
149 * testsuite/binutils-all/strip-14.d,
150 * testsuite/binutils-all/testranges.d,
151 * testsuite/binutils-all/x86-64/pr23494a-x32.d,
152 * testsuite/binutils-all/x86-64/pr23494a.d,
153 * testsuite/binutils-all/x86-64/pr23494b-x32.d,
154 * testsuite/binutils-all/x86-64/pr23494b.d,
155 * testsuite/binutils-all/x86-64/pr23494c-x32.d,
156 * testsuite/binutils-all/x86-64/pr23494c.d,
157 * testsuite/binutils-all/x86-64/pr23494d-x32.d,
158 * testsuite/binutils-all/x86-64/pr23494d.d,
159 * testsuite/binutils-all/x86-64/pr23494e-x32.d,
160 * testsuite/binutils-all/x86-64/pr23494e.d,
161 * testsuite/lib/utils-lib.exp (run_dump_test): Replace not-target
162 and not-skip with notarget and noskip.
164 2018-09-15 Alan Modra <amodra@gmail.com>
166 * testsuite/binutils-all/group-7a.d,
167 * testsuite/binutils-all/group-7b.d,
168 * testsuite/binutils-all/group-7c.d,
169 * testsuite/binutils-all/symbols-1.d,
170 * testsuite/binutils-all/symbols-2.d,
171 * testsuite/binutils-all/symbols-3.d,
172 * testsuite/binutils-all/symbols-4.d: Remove DUMPPROG.
174 2018-09-14 Alan Modra <amodra@gmail.com>
177 * testsuite/binutils-all/pr23633.d: Don't fail when assembler
178 generates sections other than .text.
180 2018-09-13 H.J. Lu <hongjiu.lu@intel.com>
183 * testsuite/binutils-all/objcopy.exp: Run pr23633.
184 * testsuite/binutils-all/pr23633.d: New file.
185 * testsuite/binutils-all/pr23633.list: Likewise.
186 * testsuite/binutils-all/pr23633.s: Likewise.
188 2018-09-13 Nick Clifton <nickc@redhat.com>
191 * objcopy.c (add_specific_symbols): Do not free the buffer at the
194 2018-09-10 Alan Modra <amodra@gmail.com>
197 * objcopy.c (handle_remove_section_option): Consider .rela and
198 .rel sections for stripping directly as well as attached to the
199 associated section they relocate.
200 * doc/binutils.texi (remove-relocations): Specify that this
201 option removes non-dynamic relocation sections.
202 * testsuite/binutils-all/objcopy.exp
203 (objcopy_remove_relocations_from_executable): New test.
205 2018-09-03 Nick Clifton <nickc@redhat.com>
207 * po/ja.po: Updated Japanese translation.
209 2018-08-31 H.J. Lu <hongjiu.lu@intel.com>
211 * testsuite/binutils-all/readelf.s-64: Adjusted for
212 .note.gnu.property section.
213 * testsuite/binutils-all/strip-3.d: Also strip
214 .note.gnu.property section.
216 2018-08-31 H.J. Lu <hongjiu.lu@intel.com>
218 * testsuite/binutils-all/i386/compressed-1b.d: Pass
219 -mx86-used-note=no to assembler.
220 * testsuite/binutils-all/i386/compressed-1c.d: Likewise.
221 * testsuite/binutils-all/x86-64/compressed-1b.d: Likewise.
222 * testsuite/binutils-all/x86-64/compressed-1c.d: Likewise.
223 * testsuite/binutils-all/i386/empty.d: Pass -mx86-used-note=yes
224 to assembler and update expected output from "readelf -n".
225 * testsuite/binutils-all/i386/ibt.d: Likewise.
226 * testsuite/binutils-all/i386/pr21231a.d: Likewise.
227 * testsuite/binutils-all/i386/pr21231b.d: Likewise.
228 * testsuite/binutils-all/i386/shstk.d: Likewise.
229 * testsuite/binutils-all/x86-64/empty-x32.d: Likewise.
230 * testsuite/binutils-all/x86-64/empty.d: Likewise.
231 * testsuite/binutils-all/x86-64/ibt-x32.d: Likewise.
232 * testsuite/binutils-all/x86-64/ibt.d: Likewise.
233 * testsuite/binutils-all/x86-64/pr21231a.d: Likewise.
234 * testsuite/binutils-all/x86-64/pr21231b.d: Likewise.
235 * testsuite/binutils-all/x86-64/pr23494a-x32.d: Likewise.
236 * testsuite/binutils-all/x86-64/pr23494a.d: Likewise.
237 * testsuite/binutils-all/x86-64/pr23494b-x32.d: Likewise.
238 * testsuite/binutils-all/x86-64/pr23494b.d: Likewise.
239 * testsuite/binutils-all/x86-64/pr23494c-x32.d: Likewise.
240 * testsuite/binutils-all/x86-64/pr23494c.d: Likewise.
241 * testsuite/binutils-all/x86-64/pr23494d-x32.d: Likewise.
242 * testsuite/binutils-all/x86-64/pr23494d.d: Likewise.
243 * testsuite/binutils-all/x86-64/pr23494e-x32.d: Likewise.
244 * testsuite/binutils-all/x86-64/pr23494e.d: Likewise.
245 * testsuite/binutils-all/x86-64/shstk-x32.d: Likewise.
246 * testsuite/binutils-all/x86-64/shstk.d: Likewise.
248 2018-08-30 H.J. Lu <hongjiu.lu@intel.com>
250 * readelf.c (process_section_headers): Treat SHT_FINI_ARRAY and
251 SHT_PREINIT_ARRAY as relocatable sections.
253 2018-08-30 Chenghua Xu <paul.hua.gm@gmail.com>
255 * MAINTAINERS: Add myself as a MIPS port maintainer.
257 2018-08-29 Chenghua Xu <paul.hua.gm@gmail.com>
259 * NEWS: Mention Loongson 2K1000 proccessor support.
260 * readelf.c (get_machine_flags): Handle gs264e.
262 2018-08-29 Chenghua Xu <paul.hua.gm@gmail.com>
264 * NEWS: Mention Loongson 3A2000/3A3000 proccessor support.
265 * readelf.c (get_machine_flags): Handle gs464e.
267 2018-08-29 Chenghua Xu <paul.hua.gm@gmail.com>
269 * NEWS: Mention Loongson 3A1000 proccessor support.
270 * readelf.c (get_machine_flags): Rename loongson-3a to gs464.
271 (print_mips_isa_ext): Delete AFL_EXT_LOONGSON_3A.
273 2018-08-29 Chenghua Xu <paul.hua.gm@gmail.com>
275 * readelf.c (print_mips_ases): Add Loongson EXT2 extension.
277 2018-08-29 Chenghua Xu <paul.hua.gm@gmail.com>
279 * readelf.c (print_mips_ases): Add Loongson EXT extension.
281 2018-08-29 Chenghua Xu <paul.hua.gm@gmail.com>
283 * readelf.c (print_mips_ases): Add CAM extension.
285 2018-08-27 H.J. Lu <hongjiu.lu@intel.com>
287 * readelf.c (decode_x86_isa): Print <None> if bitmask only
288 contains the GNU_PROPERTY_X86_UINT32_VALID bit.
289 (decode_x86_feature_1): Likewise.
290 (decode_x86_feature_2): Likewise.
291 (print_gnu_property_note): Don't mask out the
292 GNU_PROPERTY_X86_UINT32_VALID bit.
293 * testsuite/binutils-all/i386/pr21231b.d: Updated.
294 * testsuite/binutils-all/x86-64/pr21231b.d: Likewise.
296 2018-08-27 H.J. Lu <hongjiu.lu@intel.com>
298 * readelf.c (decode_x86_compat_isa): Break multi-statement line.
299 (decode_x86_isa): Likewise.
300 (decode_x86_feature_2): Likewise.
302 2018-08-25 H.J. Lu <hongjiu.lu@intel.com>
305 * readelf.c (get_symbol_version_string): Return _("<corrupt>")
306 for corrupt symbol version info.
308 2018-08-24 H.J. Lu <hongjiu.lu@intel.com>
310 * readelf.c (decode_x86_compat_isa): New function.
311 (decode_x86_feature_2): Likewise.
312 (decode_x86_isa): Updated for new X86_ISA_1_XXX bits.
313 (decode_x86_feature): Renamed to ...
314 (decode_x86_feature_1): This. Remove the type argument.
315 (print_gnu_property_note): Handle X86_COMPAT_ISA_1_USED,
316 X86_COMPAT_ISA_1_NEEDED, X86_UINT32_AND_LO, X86_UINT32_AND_HI,
317 X86_UINT32_OR_LO, X86_UINT32_OR_HI, X86_UINT32_OR_AND_LO and
318 X86_UINT32_OR_AND_HI instead of X86_ISA_1_USED, X86_ISA_1_NEEDED
319 and X86_FEATURE_1_AND.
320 * testsuite/binutils-all/i386/pr21231b.s: Updated to the current
321 GNU_PROPERTY_X86_ISA_1_USED and GNU_PROPERTY_X86_ISA_1_NEEDED
323 * testsuite/binutils-all/x86-64/pr21231b.s: Likewise.
324 * testsuite/binutils-all/x86-64/pr23494a.s: Likewise.
325 * testsuite/binutils-all/x86-64/pr23494b.s: Likewise.
326 * testsuite/binutils-all/x86-64/pr23494c.s: Likewise.
327 * testsuite/binutils-all/i386/pr21231b.d: Updated.
328 * testsuite/binutils-all/x86-64/pr21231b.d: Likewise.
329 * testsuite/binutils-all/x86-64/pr23494a-x32.d: Likewise.
330 * testsuite/binutils-all/x86-64/pr23494a.d: Likewise.
331 * testsuite/binutils-all/x86-64/pr23494c-x32.d: Likewise.
332 * testsuite/binutils-all/x86-64/pr23494c.d: Likewise.
333 * testsuite/binutils-all/x86-64/pr23494d-x32.d: Likewise.
334 * testsuite/binutils-all/x86-64/pr23494d.d: Likewise.
335 * testsuite/binutils-all/x86-64/pr23494e-x32.d: Likewise.
336 * testsuite/binutils-all/x86-64/pr23494e.d: Likewise.
338 2018-08-24 H.J. Lu <hongjiu.lu@intel.com>
340 * readelf.c (print_gnu_property_note): Check the
341 GNU_PROPERTY_X86_UINT32_VALID bit for invalid GNU property note.
343 2018-08-23 Alan Modra <amodra@gmail.com>
345 * readelf.c (get_ppc64_symbol_other): Return NULL if st_other
346 field contains unrecognised or reserved values. Handle
349 2018-08-23 H.J. Lu <hongjiu.lu@intel.com>
352 * Makefile.am (development.exp): New target.
353 (EXTRA_DEJAGNU_SITE_CONFIG): New.
354 (DISTCLEANFILES): Add development.exp.
355 * Makefile.in: Regenerated.
356 * testsuite/binutils-all/objcopy.exp (strip_test): Call
357 prune_warnings to prune BFD output.
358 (strip_test_with_saving_a_symbol): Likewise.
359 (objcopy_test_without_global_symbol): Likewise.
360 * testsuite/lib/binutils-common.exp (prune_warnings_extra):
362 (prune_warnings): Likewise.
364 2018-08-23 H.J. Lu <hongjiu.lu@intel.com>
366 * README-how-to-make-a-release: Document setting "experimental"
369 2018-08-22 Alan Modra <amodra@gmail.com>
371 * readelf.c (process_file_header): Assign updated values from
372 section_header[0] fields to e_phnum, e_shnum and e_shstrndx
373 during printing of header. Correct e_shstrndx range check.
374 Remove unnecessary casts and use %u rather than %ld for
375 unsigned int header fields. Don't print a random %lx when
376 reporting an unknown EI_VERSION.
378 2018-08-21 Nick Clifton <nickc@redhat.com>
380 * MAINTAINERS: Note that Arnold Metselaar has retired as the z80
383 2018-08-21 L. Simon <l.simon@samsung.com>
386 * readelf.c (hppa_process_unwind): Only dump the unwind table if
387 the data was successfully read in.
389 2018-08-18 Alan Modra <amodra@gmail.com>
391 * testsuite/lib/binutils-common.exp (is_elf64): Use directory of
392 input file for readelf.out.
394 * testsuite/binutils-all/objcopy.exp (elf64): Set new variable
395 from first result of is_elf64 test.
396 (reloc_format): Set using is_rela.
397 (strip-13): Pass RELOC and ELF64 to assembler.
398 (strip-14, strip-15): Use elf64 rather than calling is_elf64 again.
399 * testsuite/binutils-all/strip-13.d: Run for more targets.
400 * testsuite/binutils-all/strip-13mips64.s: Use RELOC and set
402 * testsuite/binutils-all/strip-13rel.s: Use RELOC and ELF64.
403 Don't add _NONE reloc.
404 * testsuite/binutils-all/strip-13rela.s: Likewise.
406 2018-08-10 H.J. Lu <hongjiu.lu@intel.com>
409 * testsuite/binutils-all/x86-64/pr23494c.s: New file.
410 * testsuite/binutils-all/x86-64/pr23494e-x32.d: Likewise.
411 * testsuite/binutils-all/x86-64/pr23494e.d: Likewise.
413 2018-08-10 H.J. Lu <hongjiu.lu@intel.com>
415 * testsuite/binutils-all/x86-64/pr23494a-x32.d: Skip nacl
417 * testsuite/binutils-all/x86-64/pr23494a.d: Likewise.
418 * testsuite/binutils-all/x86-64/pr23494b-x32.d: Likewise.
419 * testsuite/binutils-all/x86-64/pr23494b.d: Likewise.
420 * testsuite/binutils-all/x86-64/pr23494c-x32.d: Likewise.
421 * testsuite/binutils-all/x86-64/pr23494c.d: Likewise.
422 * testsuite/binutils-all/x86-64/pr23494d-x32.d: Likewise.
423 * testsuite/binutils-all/x86-64/pr23494d.d: Likewise.
425 2018-08-08 H.J. Lu <hongjiu.lu@intel.com>
428 * testsuite/binutils-all/x86-64/pr23494a-x32.d: New file.
429 * testsuite/binutils-all/x86-64/pr23494a.d: Likewise.
430 * testsuite/binutils-all/x86-64/pr23494a.s: Likewise.
431 * testsuite/binutils-all/x86-64/pr23494b-x32.d: Likewise.
432 * testsuite/binutils-all/x86-64/pr23494b.d: Likewise.
433 * testsuite/binutils-all/x86-64/pr23494b.s: Likewise.
434 * testsuite/binutils-all/x86-64/pr23494c-x32.d: Likewise.
435 * testsuite/binutils-all/x86-64/pr23494c.d: Likewise.
436 * testsuite/binutils-all/x86-64/pr23494d-x32.d: Likewise.
437 * testsuite/binutils-all/x86-64/pr23494d.d: Likewise.
439 2018-08-08 Kevin Buettner <kevinb@redhat.com>
441 * dwarf.c (decode_location_expresion): Add case for
442 DW_OP_GNU_variable_value.
444 2018-08-06 Claudiu Zissulescu <claziss@synopsys.com>
446 * readelf.c (display_arc_attribute): Print Tag_ARC_ATR_version.
448 2018-08-03 Nick Clifton <nickc@redhat.com>
450 * objcopy.c (merge_gnu_build_notes): Delete empty notes. Merge
451 identical function notes.
453 2018-08-01 Nick Clifton <nickc@redhat.com>
455 * README-how-to-make-a-release: Add note about regenerating the
456 info files prior to the release.
458 2018-07-30 Andrew Jenner <andrew@codesourcery.com>
460 * MAINTAINERS (C-SKY): Add Yunhai Shang as co-maintainer.
462 2018-07-30 Andrew Jenner <andrew@codesourcery.com>
464 * MAINTAINERS (C-SKY): Add Lifang Xia as maintainer.
466 2018-07-30 Andrew Jenner <andrew@codesourcery.com>
468 * readelf.c: Include elf/csky.h.
469 (guess_is_rela): Handle EM_CSKY.
470 (dump_relocations): Likewise.
471 (get_machine_name): Likewise.
472 (is_32bit_abs_reloc): Likewise.
474 2018-07-25 Nick Clifton <nickc@redhat.com>
476 * rdcoff.c (parse_coff_struct_type): Free fields array upon early
478 (parse_coff_enum_type): Free names and vals arrays upon early
480 * rddbg.c (read_section_stabs_debugging_info): Free shandle and
481 strings and stabs arrays upon early exit.
482 * readelf.c (get_32bit_section_headers): Free shdrs structure upon
484 (get_64bit_section_headers): Likewise.
485 (get_32bit_elf_symbols): Generate an error if multiple symbol
486 table index sections are associated with the same symbol section.
487 (get_64bit_elf_symbols): Likewise.
488 (process_dynamic_section): Generate an error if there are multiple
489 dynamic symbol table sections, multiple dynamic string tables or
490 multiple dynamic symbol information sections.
492 2018-07-24 Nick Clifton <nickc@redhat.com>
494 * po/sv.po: Updated Swedish translation.
496 2018-07-24 Alan Modra <amodra@gmail.com>
499 * dwarf.c (display_formatted_table): Replace "what" parameter
500 with "is_dir". Expand messages. Fix capitalisation.
501 * testsuite/binutils-all/dw5.W: Update expected output.
503 2018-07-24 Alan Modra <amodra@gmail.com>
506 * elfcomm.h (struct archive_info): Rename uses_64bit_indicies
507 to uses_64bit_indices.
508 * elfcomm.c (setup_archive): Update uses of above.
509 * readelf.c (process_archive): Likewise.
510 (get_section_type_name): Rename indicies to indices.
511 (get_32bit_elf_symbols, get_64bit_elf_symbols): Likewise.
512 (process_section_groups): Likewise.
514 2018-07-20 Maciej W. Rozycki <macro@mips.com>
516 * MAINTAINERS: Update my e-mail address, downgrade to MIPS I-IV
519 2018-07-20 Nick Clifton <nickc@redhat.com>
521 * objcopy.c (add_specific_symbols): Free buffer on exit.
522 (add_redefine_syms_file): Close file handle on exit.
523 (copy_object): Close file handle on early exit.
524 Free buffer on early exit.
525 Free gaps buffers once they are no longer needed.
526 * dwarf.c (display_debug_frames): Free allocated memory on exit.
527 (load_separate_debug_info): Free allocate memory on early exit.
529 2018-07-20 Chenghua Xu <paul.hua.gm@gmail.com>
530 Maciej W. Rozycki <macro@mips.com>
532 * readelf.c (print_mips_ases): Add MMI extension.
534 2018-07-19 DJ Delorie <dj@redhat.com>
536 * MAINTAINERS (RL78, RX): Remove myself as maintainer.
538 2018-07-19 Nick Clifton <nickc@redhat.com>
540 * dwarf.c (read_cie): Free allocated memory before returning with
543 2018-07-16 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
545 * readelf.c (get_note_type): Fix typo in NT_PPC_TM_CVSX note
548 2018-07-16 Nick Clifton <nickc@redhat.com>
550 * README-how-to-make-a-release: Add note to check for new top
551 level files and add them to the src-release.sh script.
553 2018-07-14 Nick Clifton <nickc@redhat.com>
555 * README-how-to-make-a-release: Updated with corrections based on
556 the 2.31 release experience.
558 2018-07-12 Francois H. Theron <francois.theron@netronome.com>
560 * readelf.c (process_section_headers): Don't print section type
561 twice for --section-details.
563 2018-07-10 Alan Modra <amodra@gmail.com>
565 * testsuite/lib/binutils-common.exp (supports_gnu_unique): Return
568 2018-07-06 Nick Clifton <nickc@redhat.com>
570 * readelf.c (same_section): New function.
571 (print_gnu_build_attribute_description): Do not complain about
572 gaps that cross a section boundary.
574 2018-07-05 Nick Clifton <nickc@redhat.com>
576 * po/bg.po: Updated Bulgarian translation.
578 2018-07-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
580 * NEWS: Use command-line consistently when used in a compount word.
581 * doc/binutils.texi: Likewise and fix trailing whitespace on same
584 2018-06-26 Nick Clifton <nickc@redhat.com>
586 * po/sv.po: Updated Swedish translation.
587 * po/uk.po: Updated Ukranian translation.
589 2018-06-26 Nick Clifton <nickc@redhat.com>
591 * doc/binutils.texi: Fix spelling mistakes.
592 * README--how-to-make-a-release: Likewise.
594 2018-06-25 Tom Tromey <tom@tromey.com>
596 * dwarf-mode.el (dwarf-mode-syntax-table): New variable.
599 2018-06-24 Nick Clifton <nickc@redhat.com>
601 * README-how-to-make-a-release: Update with experiences from
603 * po/binutils.pot: Regenerate.
604 * configure: Regenerate.
606 2018-06-24 Nick Clifton <nickc@redhat.com>
609 * NEWS: Add marker for 2.31.
611 2018-06-21 Alan Modra <amodra@gmail.com>
613 * doc/Makefile.am (AUTOMAKE_OPTIONS): Add "foreign".
614 * doc/Makefile.in: Regenerate.
616 2018-06-19 Simon Marchi <simon.marchi@ericsson.com>
618 * configure.ac: Remove AC_PREREQ.
619 * doc/Makefile.am (AUTOMAKE_OPTIONS): Remove cygnus, add
620 info-in-builddir no-texinfo.tex.
621 * Makefile.in: Re-generate.
622 * aclocal.m4: Re-generate.
623 * config.in: Re-generate.
624 * configure: Re-generate.
625 * doc/Makefile.in: Re-generate.
627 2018-06-19 Andreas Schwab <schwab@suse.de>
629 * readelf.c (is_16bit_abs_reloc): Handle R_RISCV_SET16.
630 (is_8bit_abs_reloc): New function.
631 (is_6bit_abs_reloc): New function.
632 (is_6bit_inplace_sub_reloc): New function.
633 (apply_relocations): Use them. Handle 6-bit relocations.
635 2018-06-14 Faraz Shahbazker <Faraz.Shahbazker@mips.com>
637 * readelf.c (print_mips_ases): Add GINV extension.
639 2018-06-14 H.J. Lu <hongjiu.lu@intel.com>
642 * readelf.c (get_symbol_version_string): Check if the first
643 symbol version is base version.
645 2018-06-13 Scott Egerton <scott.egerton@imgtec.com>
646 Faraz Shahbazker <Faraz.Shahbazker@mips.com>
648 * readelf.c (print_mips_ases): Add CRC.
650 2018-06-13 Nick Clifton <nickc@redhat.com>
652 * doc/binutils.texi (objdump): Add missing closing square
653 parenthesis to listing of objcopy's command line options.
655 2018-06-11 Nick Clifton <nickc@redhat.com>
657 * po/es.po: Updated Spanish translation.
659 2018-06-01 H.J. Lu <hongjiu.lu@intel.com>
661 * configure: Regenerated.
663 2018-05-31 Alan Modra <amodra@gmail.com>
665 * testsuite/binutils-all/compress.exp (test_gnu_debuglink): Don't
666 set CC_FOR_TARGET. Run test non-native.
667 * testsuite/binutils-all/objdump.exp (test_build_id_debuglink):
669 (test_follow_debuglink): Run test non-native.
671 2018-05-30 Ant Bikeneev <ant.bikineev@gmail.com>
674 * ar.c (display_offsets): New variable.
675 (usage): Add description of 'O' operator.
676 (decode_option): Handle 'O' operator.
677 (print_descr): Pass display_offsets to print_arelt_descr.
678 * arsup.c: Update call to printy_arelt_descr.
679 * objdump.c: Likewise.
680 * bucomm.c (print_arelt_descr): If offsets parameter is true then
681 display offset of archive element within the archive.
682 * bucomm.h: Update prototype for print_arelt_descr.
683 * doc/binutils.texi: Update description of ar command.
684 * NEWS: Mention the new feature.
685 * testsuite/binutils-all/ar.exp: Add text of new feature.
687 2018-05-28 Alan Modra <amodra@gmail.com>
690 * testsuite/binutils-all/compress.exp (test_gnu_debuglink): Return
691 unsupported rather than fail on compile errors.
692 * testsuite/binutils-all/objdump.exp (test_build_id_debuglink):
693 Likewise. Save and restore CFLAGS_FOR_TARGET.
695 2018-05-18 Kito Cheng <kito.cheng@gmail.com>
697 * readelf.c (get_machine_flags): Handle EF_RISCV_RVE.
699 2018-05-18 John Darrington <john@darrington.wattle.id.au>
701 * readelf.c: Add support for s12z architecture.
702 * testsuite/lib/binutils-common.exp (is_elf_format): Excluse s12z
705 2018-05-15 Tamar Christina <tamar.christina@arm.com>
708 * doc/binutils.texi (-M): Document AArch64 options.
710 2018-05-15 Tamar Christina <tamar.christina@arm.com>
713 * doc/binutils.texi (-M): Document AArch64 options.
714 * NEWS: Document notes and warnings.
716 2018-05-15 Alan Modra <amodra@gmail.com>
718 * testsuite/lib/binutils-common.exp (is_elf_format): Add chorus,
719 cloudabi, fuchsia, kaos and nto. Merge netbsdelf* into *elf*,
720 and *uclinux* into *linux*.
721 * testsuite/binutils-all/objcopy.exp: Accept armeb for rel
722 strip-13 test, exclude arm-vxworks and arm-windiss.
724 2018-05-10 John Darrington <john@darrington.wattle.id.au>
726 * readelf.c (get_machine_name): EM_S12Z - handle new case.
728 2018-05-09 Alan Modra <amodra@gmail.com>
730 * od-macho.c (dump_unwind_encoding_x86): Fix typo in last patch.
732 2018-05-09 Sebastian Rasmussen <sebras@gmail.com>
734 * od-macho.c (dump_unwind_encoding_x86): Adjust for macro renaming.
736 2018-05-08 Alan Modra <amodra@gmail.com>
739 * objcopy.c (is_strip_section): Strip groups without a valid
742 2018-05-07 Alan Modra <amodra@gmail.com>
745 * objcopy.c (group_signature): Don't accept groups that use a
746 symbol table other than the one we've read.
748 2018-04-30 Francois H. Theron <francois.theron@netronome.com>
750 * readelf.c: Very basic support for EM_NFP and its section types.
751 * testsuite/binutils-all/nfp: New directory.
752 * testsuite/binutils-all/nfp/objdump.exp: New file. Run new
754 * testsuite/binutils-all/nfp/test2_ctx8.d: New file.
755 * testsuite/binutils-all/nfp/test2_no-pc_ctx4.d: New file.
756 * testsuite/binutils-all/nfp/test1.d: New file.
757 * testsuite/binutils-all/nfp/nfp6000.nffw: New file.
758 * testsuite/binutils-all/nfp/test2_nfp6000.nffw: New file.
759 * NEWS: Mention the new support.
761 2018-04-27 Maciej W. Rozycki <macro@mips.com>
763 * testsuite/lib/binutils-common.exp (match_target): New procedure.
764 * testsuite/lib/utils-lib.exp (run_dump_test): Use it in place
765 of `istarget' for matching with `target', `not-target', `skip'
766 and `not-skip' options.
768 2018-04-26 Nick Clifton <nickc@redhat.com>
770 * readelf.c (is_32bit_abs_reloc): Support R_PARISC_DIR32 as a
771 32-bit absolute reloc for the HPPA target.
772 * testsuite/binutils-all/note-5.d: New test.
773 * testsuite/binutils-all/note-5.s: Source file for new test.
774 * testsuite/binutils-all/objcopy.exp: Run new test.
776 2018-04-25 Christophe Lyon <christophe.lyon@st.com>
778 * testsuite/binutils-all/elfedit-2.d: Accept arm*-*-uclinuxfdpiceabi.
779 * testsuite/binutils-all/elfedit-3.d: Likewise.
780 * testsuite/binutils-all/objcopy.exp: Likewise.
781 * testsuite/binutils-all/strip-3.d: Likewise.
782 * testsuite/lib/binutils-common.exp: Likewise.
784 2018-04-25 Christophe Lyon <christophe.lyon@st.com>
785 Mickaël Guêné <mickael.guene@st.com>
787 * readelf.c (decode_ARM_machine_flags): Support EF_ARM_PIC.
788 (get_osabi_name): Support ELFOSABI_ARM_FDPIC.
790 2018-04-25 Alan Modra <amodra@gmail.com>
792 * testsuite/binutils-all/arm/objdump.exp: Remove arm-aout and
794 * testsuite/binutils-all/objcopy.exp: Likewise.
795 * testsuite/lib/binutils-common.exp: Likewise.
797 2018-04-18 Nick Clifton <nickc@redhat.com>
800 * dwarf.c (read_and_display_attr_value): Replace assertions with
801 test and warning message.
803 2018-04-18 Alan Modra <amodra@gmail.com>
805 * testsuite/lib/binutils-common.exp: Remove support for assorted
808 2018-04-17 Nick Clifton <nickc@redhat.com>
811 * readelf.c (print_symbol): If the width is zero, return straight
815 * dwarf.c (process_cu_tu_index): Test for a potential buffer
816 overrun before copying signature pointer.
818 2018-04-17 Alan Modra <amodra@gmail.com>
820 * readelf.c: Revert 2018-04-16 and 2018-04-11 changes.
822 2018-04-16 Alan Modra <amodra@gmail.com>
824 * readelf.c (get_machine_name): Correct typo.
826 2018-04-16 Alan Modra <amodra@gmail.com>
828 * configure.ac: Remove arm-epoc-pe support.
829 * dlltool.c: Likewise.
830 * configure: Regenerate.
832 2018-04-16 Alan Modra <amodra@gmail.com>
834 * testsuite/lib/binutils-common.exp: Remove sparc-aout and
837 2018-04-16 Alan Modra <amodra@gmail.com>
839 * testsuite/binutils-all/copy-2.d: Remove m68k-aout and m68k-coff
841 * testsuite/binutils-all/copy-3.d: Likewise.
842 * testsuite/binutils-all/objcopy.exp: Likewise.
843 * testsuite/lib/binutils-common.exp: Likewise.
845 2018-04-16 Alan Modra <amodra@gmail.com>
847 * testsuite/binutils-all/objcopy.exp: Remove sh5 and sh64 support.
849 2018-04-16 Alan Modra <amodra@gmail.com>
851 * testsuite/binutils-all/objcopy.exp: Remove w65 support.
853 2018-04-16 Alan Modra <amodra@gmail.com>
855 * testsuite/binutils-all/objdump.exp: Remove we32k support.
857 2018-04-16 Alan Modra <amodra@gmail.com>
859 * MAINTAINERS (Mark Kettenis): Move to past maintainers.
860 * testsuite/binutils-all/objdump.exp: Remove m88k support.
862 2018-04-16 Alan Modra <amodra@gmail.com>
864 * readelf.c: Remove i370 support.
865 * testsuite/binutils-all/objdump.exp: Likewise.
867 2018-04-16 Alan Modra <amodra@gmail.com>
869 * testsuite/binutils-all/objcopy.exp: Remove h8500 support.
870 * testsuite/lib/binutils-common.exp: Likewise.
872 2018-04-16 Alan Modra <amodra@gmail.com>
874 * testsuite/binutils-all/objcopy.exp: Remove h8300-coff support.
876 2018-04-16 Alan Modra <amodra@gmail.com>
878 * Makefile.am: Remove IEEE 695 support.
880 * doc/binutils.texi: Likewise.
881 * makefile.vms: Likewise.
882 * objcopy.c: Likewise.
883 * objdump.c: Likewise.
886 * Makefile.in: Regenerate.
887 * po/POTFILES.in: Regenerate.
889 2018-04-16 Alan Modra <amodra@gmail.com>
891 * testsuite/binutils-all/copy-2.d: Remove newsos3 support.
892 * testsuite/binutils-all/nm.exp: Likewise.
894 2018-04-16 Alan Modra <amodra@gmail.com>
896 * .gitignore: Remove netware support.
897 * Makefile.am: Likewise.
898 * configure.ac: Likewise.
899 * doc/Makefile.am: Likewise.
900 * doc/binutils.texi: Likewise.
901 * testsuite/binutils-all/nm.exp: Likewise.
904 * nlmheader.y: Delete.
905 * Makefile.in: Regenerate.
906 * configure: Regenerate.
907 * doc/Makefile.in: Regenerate.
908 * po/POTFILES.in: Regenerate.
910 2018-04-16 Alan Modra <amodra@gmail.com>
912 * testsuite/binutils-all/objdump.exp: Remove tahoe support.
914 2018-04-14 Alan Modra <amodra@gmail.com>
916 * readelf.c (get_machine_name): Revert 2018-04-11 change.
918 2018-04-12 Nick Clifton <nickc@redhat.com>
921 * readelf.c (process_dynamic_section): Correct dynamic string
922 table size calculation.
924 2018-04-11 Alan Modra <amodra@gmail.com>
926 * ieee.c: Remove i960 support.
927 * od-macho.c: Remove i860 support.
928 * readelf.c: Remove i860 and i960 support.
929 * testsuite/binutils-all/objcopy.exp: Likewise.
930 * testsuite/binutils-all/objdump.exp: Likewise.
931 * testsuite/lib/binutils-common.exp: Likewise.
933 2018-04-11 Maciej W. Rozycki <macro@mips.com>
935 * testsuite/lib/binutils-common.exp (is_elf_format): Also return
936 1 for `*-*-lynxos*' and `*-*-symbianelf*' targets.
938 2018-04-10 Alan Modra <amodra@gmail.com>
940 * testsuite/binutils-all/objcopy.exp (strip-14, strip-15): Choose
941 reloc=11 for pru and reloc=50 for nds32.
942 * testsuite/binutils-all/strip-15.d: Accept 0xb reloc number.
944 2018-04-09 Maciej W. Rozycki <macro@mips.com>
946 * testsuite/binutils-all/strip-15.d: New test.
947 * testsuite/binutils-all/strip-15rel.s: New test source.
948 * testsuite/binutils-all/strip-15rela.s: New test source.
949 * testsuite/binutils-all/strip-15mips64.s: New test source.
950 * testsuite/binutils-all/objcopy.exp: Run the new test.
952 2018-04-09 Maciej W. Rozycki <macro@mips.com>
954 * testsuite/binutils-all/strip-14.d: New test.
955 * testsuite/binutils-all/strip-14rel.s: New test source.
956 * testsuite/binutils-all/strip-14rela.s: New test source.
957 * testsuite/binutils-all/strip-14mips64.s: New test source.
958 * testsuite/binutils-all/objcopy.exp: Run the new test.
960 2018-04-06 Tom Tromey <tom@tromey.com>
962 * dwarf.c (read_and_display_attr_value): Add missing DW_LANG
963 constants from DWARF 5.
965 2018-04-05 H.J. Lu <hongjiu.lu@intel.com>
968 * configure: Regenerated.
970 2018-04-05 Maciej W. Rozycki <macro@mips.com>
972 * testsuite/binutils-all/strip-13mips64.s: Use `.dc.l' rather
973 than `.dc.w' in second relocation.
975 2018-04-05 Maciej W. Rozycki <macro@mips.com>
977 * testsuite/binutils-all/strip-13.d: Also expect `unsupported
978 relocation type 0x8f' error message.
980 2018-04-05 Maciej W. Rozycki <macro@mips.com>
982 * testsuite/binutils-all/strip-13.s: Rename to...
983 * testsuite/binutils-all/strip-13rela.s: ... this.
984 * testsuite/binutils-all/strip-13rel.s: New test source.
985 * testsuite/binutils-all/strip-13mips64.s: New test source.
986 * testsuite/binutils-all/strip-13.d: Remove `arm-*', `d10v-*',
987 `dlx-*' and `xgate-*' from `not-target' list. Add `m6811-*' and
988 `m68hc11-*' to `not-target' list.
989 * testsuite/binutils-all/objcopy.exp: Switch between sources for
992 2018-04-05 Maciej W. Rozycki <macro@mips.com>
994 * testsuite/binutils-all/strip-13.s: Use 143 (0x8f) rather than
995 241 (0xf1) for the relocation number and RELA addend.
996 * testsuite/binutils-all/strip-13.d: Remove `hppa*-*' from the
999 2018-04-04 John David Anglin <danglin@gcc.gnu.org>
1001 * MAINTAINERS: Update my e-mail address.
1003 2018-04-04 Nick Clifton <nickc@redhat.com>
1005 * MAINTAINERS: Move Jason Eckhardt to past maintainers section.
1007 2018-03-23 Nick Clifton <nickc@redhat.com>
1009 * readelf.c (get_symbol_for_build_attribute): Skip ARM mapping
1011 (print_gnu_build_attribute_description): If no file start symbol
1012 could be found, look for one two bytes into the file.
1013 * testsuite/binutils-all/note-4-64.s: Set the address of the file
1014 start symbol to two bytes into the file.
1015 * testsuite/binutils-all/note-4-32.s: Likewise.
1017 2018-03-21 H.J. Lu <hongjiu.lu@intel.com>
1019 * readelf.c (process_dynamic_section): Also dump DF_1_KMOD,
1020 DF_1_WEAKFILTER and DF_1_NOCOMMON.
1022 2018-03-20 Nick Clifton <nickc@redhat.com>
1024 * po/es.po: Updated Spanish translation.
1025 * po/ru.po: Updated Russian translation.
1027 2018-03-13 Nick Clifton <nickc@redhat.com>
1030 * stabs.c (pop_binincl): Fail if the file index is off the end of
1033 2018-03-13 Nick Clifton <nickc@redhat.com>
1036 * stabs.c (parse_number): Add p_end parameter and use it to check
1037 the validity of the pp parameter. Add checks to prevent walking
1038 off the end of the string buffer.
1039 (parse_stab_string): Likewise.
1040 (parse_stab_type): Likewise.
1041 (parse_stab_type_number): Likewise.
1042 (parse_stab_range_type): Likewise.
1043 (parse_stab_sun_builtin_type): Likewise.
1044 (parse_stab_sun_floating_type): Likewise.
1045 (parse_stab_enum_type): Likewise.
1046 (parse_stab_struct_type): Likewise.
1047 (parse_stab_baseclasses): Likewise.
1048 (parse_stab_struct_fields): Likewise.
1049 (parse_stab_cpp_abbrev): Likewise.
1050 (parse_stab_one_struct_field): Likewise.
1051 (parse_stab_members): Likewise.
1052 (parse_stab_tilde_field): Likewise.
1053 (parse_stab_array_type): Likewise.
1055 * parse_stab: Compute the end of the string and then pass it on to
1056 individual parser functions.
1058 2018-03-07 Paul Pluzhnikov <ppluzhnikov@google.com>
1061 * binutils/readelf.c (get_ver_flags): Expand buffer to avoid
1064 2018-03-07 Alan Modra <amodra@gmail.com>
1066 * configure.ac: Add objdump_private_desc_xcoff for rs6000.
1067 * configure: Regenerate.
1069 2018-03-05 H.J. Lu <hongjiu.lu@intel.com>
1072 * objdump.c (is_significant_symbol_name): Return TRUE for all
1074 (find_symbol_for_address): Replace linear search with binary
1075 search on dynamic relocations.
1077 2018-03-01 Nick Clifton <nickc@redhat.com>
1080 * dwarf.c (display_debug_ranges): Check that the offset loaded
1081 from the range_entry structure is valid.
1083 2018-03-01 Alan Modra <amodra@gmail.com>
1085 * configure.ac (ALL_LINGUAS): Add sr. Sort.
1086 * configure: Regenerate.
1088 2018-02-27 Nick Clifton <nickc@redhat.com>
1090 * po/pt.po: New Portuguese translation.
1091 * configure.ac (ALL_LINGUAS): Add pt.
1092 * configure: Regenerate.
1094 2018-02-27 Nick Clifton <nickc@redhat.com>
1097 * objcopy.c (copy_object): Check the error status after marking
1098 symbols used in relocations.
1099 * testsuite/binutils-all/strip-13.s: New test source file.
1100 * testsuite/binutils-all/strip-13.s: New test driver file.
1101 * testsuite/binutils-all/objcopy.exp: Run the new test.
1103 2018-02-26 Alan Modra <amodra@gmail.com>
1105 * testsuite/binutils-all/mips/mips-reginfo-n32.d,
1106 * testsuite/binutils-all/mips/mips-reginfo.d: Update.
1108 2018-02-23 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-20 Ronald Hoogenboom <hoogenboom30@zonnet.nl>
1115 * doc/binutils.texi (objcopy): Add missing closing square
1116 parenthesis to listing of objcopy's command line options.
1118 2018-02-19 Matthias Klose <doko@debian.org>
1120 * strings.c (long_options): Include-all-whitespace does not take
1123 2018-02-13 Alan Modra <amodra@gmail.com>
1126 * testsuite/binutils-all/group-7.s,
1127 * testsuite/binutils-all/group-7a.d,
1128 * testsuite/binutils-all/group-7b.d,
1129 * testsuite/binutils-all/group-7c.d: New tests.
1130 * testsuite/binutils-all/objcopy.exp: Run them.
1132 2018-02-08 Nick Clifton <nickc@redhat.com>
1135 * dwarf.c (load_separate_debug_file): Return early if the user is
1136 not interested in debug links.
1138 2018-02-06 Nick Clifton <nickc@redhat.com>
1141 * readelf.c (find_section): Replace assertion with test and return
1143 (find_section_by_address): Add test of section header table
1145 (find_section_by_type): Likewise.
1146 (find_section_in_set): Likewise.
1148 2018-02-05 Maciej W. Rozycki <macro@mips.com>
1150 * testsuite/binutils-all/mips/mips-reginfo.d: New test.
1151 * testsuite/binutils-all/mips/mips-reginfo-n32.d: New test.
1152 * testsuite/binutils-all/mips/mips-reginfo.s: New test source.
1153 * testsuite/binutils-all/mips/mips.exp: Run the new tests.
1155 2018-02-05 Maciej W. Rozycki <macro@mips.com>
1157 * testsuite/config/default.exp (binutils_run): Document
1158 `binutils_run_status'.
1159 * testsuite/lib/utils-lib.exp (default_binutils_run): Likewise,
1161 (run_dump_test): Add `error', `error_output', `warning' and
1162 `warning_output' options. Update documentation accordingly.
1164 2018-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
1166 * dwarf.c (dwarf_regnames_riscv): New register name table.
1167 (init_dwarf_regnames_riscv): New function.
1168 (init_dwarf_regnames): Add call to initialise RiscV register
1170 * dwarf.h (init_dwarf_regnames_riscv): Declare.
1171 * objdump.c (dump_dwarf): Add call to initialise RiscV register
1174 2018-02-01 Alan Modra <amodra@gmail.com>
1177 * objdump.c (load_specific_debug_section): Check for overflow
1178 when adding one to section size for a string section terminator.
1180 2018-01-30 Nick Clifton <nickc@redhat.com>
1183 * doc/binutils.texi (nm): Update description to point out that
1184 zero-initialized values can also be shown as type B, b, S or s
1185 since they can be stored in the BSS section.
1187 2018-01-30 Alan Modra <amodra@gmail.com>
1189 * objcopy.c (merge_gnu_build_notes): Use (bfd_vma) -1 as
1190 "artificially large" end address.
1192 2018-01-28 Nick Clifton <nickc@redhat.com>
1194 * README-how-to-make-a-release: Add note about checking gpg key
1195 and the results of gnupload.
1197 2018-01-27 Nick Clifton <nickc@redhat.com>
1199 * README-how-to-make-a-release: Add details on how to actually
1202 2018-01-26 Nick Clifton <nickc@redhat.com>
1204 * README-how-to-make-a-release: Add more details on updating
1207 2018-01-22 Maciej W. Rozycki <macro@mips.com>
1209 * doc/binutils.texi (objcopy): Fix a typo in `--rename-section'
1212 2018-01-22 Maciej W. Rozycki <macro@mips.com>
1214 * MAINTAINERS: Update my company e-mail address.
1216 2018-01-22 Nick Clifton <nickc@redhat.com>
1218 * po/sv.po: Updated Swedish translation.
1220 2018-01-18 Nick Clifton <nickc@redhat.com>
1222 * po/bg.po: Updated Bulgarian translation.
1224 2018-01-16 Joel Brobecker <brobecker@adacore.com>
1226 * README-how-to-make-a-release: Add reminder to update the
1227 branch name in gdbadmin's crontab on sourceware.
1229 2018-01-16 Joel Brobecker <brobecker@adacore.com>
1231 * README-how-to-make-a-release: Remove trailing spaces.
1233 2018-01-16 Nick Clifton <nickc@redhat.com>
1235 * po/fr.po: Updated French translation.
1237 2018-01-15 Nick Clifton <nickc@redhat.com>
1239 * po/uk.po: Updated Ukranian translation.
1241 2018-01-13 Nick Clifton <nickc@redhat.com>
1243 * README-how-to-make-a-release: Update notes.
1244 * po/binutils.pot: Regenerated.
1246 2018-01-13 Nick Clifton <nickc@redhat.com>
1248 * configure: Regenerate.
1250 2018-01-13 Nick Clifton <nickc@redhat.com>
1252 2.30 branch created.
1253 * NEWS: Add marker for 2.30.
1255 2018-01-12 Nick Clifton <nickc@redhat.com>
1257 * README-how-to-make-a-release: Add notes on how to make the
1258 branch and prelease snapshot.
1259 * BRANCHES: Add binutils-2_29-branch.
1261 2018-01-10 Nick Clifton <nickc@redhat.com>
1263 * MAINTAINERS: Note that it is now the configure.ac file and not
1264 the configure.in file that needs to be kept in sync with gcc.
1265 Add a note about sending patches for libiberty to gcc.
1267 2018-01-03 Nick Clifton <nickc@redhat.com>
1269 * objcopy.c (merge_gnu_build_notes): Add cast to maximum address
1272 2018-01-03 Nick Clifton <nickc@redhat.com>
1274 * objcopy.c (objcopy_internal_note): New structure.
1275 (gap_exists): New function.
1276 (is_open_note): New function.
1277 (is_func_note): New function.
1278 (is_64bit): New function.
1279 (merge_gnu_build_notes): Handle v3 notes. Do not merge
1280 if there are relocations against the notes.
1281 * readelf.c (get_note_type): Use short names for build attribute
1283 (print_symbol_for_build_attribute): Rename to
1284 get_symbol_for_build_attribute. Returns the found symbol rather
1286 (print_gnu_build_attribute_description): Maintain address ranges
1287 for function notes as well as global notes. Handle v3 notes.
1288 (print_gnu_build_attribute_name): Use more space for printing the
1290 * testsuite/binutils-all/note-2-32.s: Use .dc.l instead of .word.
1291 Eliminate symbol references in order to remove the need for
1293 * testsuite/binutils-all/note-2-64.s: Likewise.
1294 * testsuite/binutils-all/note-3-32.s: Add a size to the note_1
1296 * testsuite/binutils-all/note-3-64.s: Likewise.
1297 * testsuite/binutils-all/mips/mips-note-2r-n32.d: Update expected
1299 * testsuite/binutils-all/mips/mips-note-2r-n64.d: Likewise.
1300 * testsuite/binutils-all/mips/mips-note-2r.d: Likewise.
1301 * testsuite/binutils-all/note-2-32.d: Likewise.
1302 * testsuite/binutils-all/note-2-64.d: Likewise.
1303 * testsuite/binutils-all/note-3-32.d: Likewise.
1304 * testsuite/binutils-all/note-3-64.d: Likewise.
1305 * testsuite/binutils-all/note-4-64.s: New test. Checks v3 notes.
1306 * testsuite/binutils-all/note-4-32.s: New test.
1307 * testsuite/binutils-all/note-4-64.d: New test result file.
1308 * testsuite/binutils-all/note-4-32.d: New test result file.
1310 2018-01-03 Alan Modra <amodra@gmail.com>
1312 Update year range in copyright notice of all files.
1314 For older changes see ChangeLog-2017
1316 Copyright (C) 2018 Free Software Foundation, Inc.
1318 Copying and distribution of this file, with or without modification,
1319 are permitted in any medium without royalty provided the copyright
1320 notice and this notice are preserved.
1326 version-control: never