1 2018-11-02 H.J. Lu <hongjiu.lu@intel.com>
3 * configure.ac (AC_FUNC_MMAP): New.
4 * config.in: Regenerated.
7 2018-11-02 Alan Modra <amodra@gmail.com>
9 * readelf.c (process_section_headers): Don't warn on a zero
10 sh_info or sh_link for any reloc section in an executable or
11 shared library. Do warn for .rel.dyn/.rela.dyn in ET_REL.
13 2018-11-01 Thomas Preud'homme <thomas.preudhomme@linaro.org>
15 * testsuite/config/default.exp: Define LD, LDFLAGS and
17 * testsuite/lib/binutils-common.exp (check_shared_lib_support): Moved
19 (run_dump_test): Set ld to $LD.
21 2018-10-18 Nick Clifton <nickc@redhat.com>
23 * doc/binutils.texi (readelf): Document alternatives to the
24 --unwind option if it is not supported for the target
27 2018-10-16 Alan Modra <amodra@gmail.com>
30 * readelf.c (display_raw_attribute): Correct assertion.
32 2018-10-15 Alan Modra <amodra@gmail.com>
35 * addr2line.c (main): Exit with fatal error if bfd_init
36 returns an unexpected value.
37 * ar.c (main): Likewise.
38 * dlltool.c (identify_dll_for_implib): Likewise.
39 * nm.c (main): Likewise.
40 * objcopy.c (main): Likewise.
41 * objdump.c (main): Likewise.
42 * size.c (main): Likewise.
43 * strings.c (main): Likewise.
44 * windmc.c (main): Likewise.
45 * windres.c (main): Likewise.
47 2018-10-11 Jordan Rupprecht <rupprecht@google.com>
48 Nick Clifton <nickc@redhat.com>
50 * objcopy.c (copy_main): Issue a fata error if the
51 --keep-global-symbol(s) and the --globalize-symbol(s) options are
53 * doc/binutils.texi: Document that the two options are
55 * testsuite/binutils-all/copy-5.d: New test.
56 * testsuite/binutils-all/objcopy.exp: Run the new test.
58 2018-10-10 Helge Deller <deller@gmx.de>
59 Alan Modra <amodra@gmail.com>
61 * readelf.c (hppa_process_unwind): Don't use eh_addr_size to
62 calculate number of entries.
63 (slurp_hppa_unwind_table): Don't use eh_addr_size here either.
65 2018-10-10 Alan Modra <amodra@gmail.com>
67 * objdump.c (dump_dwarf): Set s12z eh_addr_size to 4.
69 2018-10-08 Andreas Schwab <schwab@suse.de>
71 * readelf.c (is_32bit_pcrel_reloc): Handle R_RISCV_32_PCREL.
73 2018-10-03 Nick Clifton <nickc@redhat.com>
75 * po/pt.po: Updated Portuguese translation.
76 * po/fr.po: Updated French translation.
78 2018-09-22 Alan Modra <amodra@gmail.com>
80 * readelf.c (apply_relocations): Don't return FALSE for warnings.
82 2018-09-20 Nelson Chu <nelson.chu1990@gmail.com>
84 * testsuite/binutils-all/objcopy.exp: Set the unsupported reloc number
85 from 215 to 255 for NDS32.
87 2018-09-17 H.J. Lu <hongjiu.lu@intel.com>
89 * objcopy.c (strip_specific_buffer): New.
90 (strip_unneeded_buffer): Likewise.
91 (keep_specific_buffer): Likewise.
92 (localize_specific_buffer): Likewise.
93 (globalize_specific_buffer): Likewise.
94 (keepglobal_specific_buffer): Likewise.
95 (weaken_specific_buffer): Likewise.
96 (add_specific_symbols): Add an argument to return pointer to
98 (copy_main): Update add_specific_symbols to update pointers to
99 allocated buffer. Free pointers to allocated buffer before
102 2018-09-17 Alan Modra <amodra@gmail.com>
104 * objcopy.c (handle_remove_section_option): Don't require a dot
105 after .rela and .rel to handle a possible relocation section.
106 * testsuite/binutils-all/remove-relocs-07.s,
107 * testsuite/binutils-all/remove-relocs-07.d,
108 * testsuite/binutils-all/remove-relocs-08.d: New tests.
109 * testsuite/binutils-all/remove-relocs-01.d,
110 * testsuite/binutils-all/remove-relocs-04.d,
111 * testsuite/binutils-all/remove-relocs-05.d,
112 * testsuite/binutils-all/remove-relocs-06.d: Exclude mips64-openbsd.
114 2018-09-17 Alan Modra <amodra@gmail.com>
116 * testsuite/lib/binutils-common.exp (is_som_format): New proc.
117 (run_dump_test): Correct target test for alternate .comm syntax.
118 (get_standard_section_names): Handle som format.
119 * testsuite/lib/utils-lib.exp (default_binutils_assemble_flags):
120 Correct target test for alternate .comm syntax.
122 2018-09-17 Alan Modra <amodra@gmail.com>
124 * testsuite/binutils-all/strip-13mips64.s: Add section flags
126 * testsuite/binutils-all/strip-13rel.s: Likewise.
127 * testsuite/binutils-all/strip-13rela.s: Likewise.
128 * testsuite/binutils-all/strip-14mips64.s: Likewise.
129 * testsuite/binutils-all/strip-14rel.s: Likewise.
130 * testsuite/binutils-all/strip-14rela.s: Likewise.
131 * testsuite/binutils-all/strip-15mips64.s: Likewise.
132 * testsuite/binutils-all/strip-15rel.s: Likewise.
133 * testsuite/binutils-all/strip-15rela.s: Likewise.
135 2018-09-17 Nick Clifton <nickc@redhat.com>
137 * testsuite/binutils-all/compress.exp: Rename second "objcopy
138 zlib-gnu compress debug sections 3" test to "objcopy zlib-gabi
139 compress debug sections 3" and use gabi object files instead
141 * testsuite/binutils-all/objcopy.exp: Add suffix to the names
142 of the "ELF group" tests.
143 * testsuite/binutils-all/readelf.exp (proc readelf_find_size):
144 Add an iteration parameter and include it in the name of the
145 test. Update callers to include an iteration count.
147 2018-09-15 Alan Modra <amodra@gmail.com>
149 * testsuite/binutils-all/add-symbol.d: Add "section_subst: no".
150 * testsuite/binutils-all/elfedit.exp: Don't set tempfile or copyfile.
151 * testsuite/binutils-all/symbols-1.d,
152 * testsuite/binutils-all/symbols-2.d,
153 * testsuite/binutils-all/symbols-3.d,
154 * testsuite/binutils-all/symbols-4.d: Quote '*' and '!'.
155 * testsuite/binutils-all/add-empty-section.d,
156 * testsuite/binutils-all/add-section.d,
157 * testsuite/binutils-all/elfedit.exp,
158 * testsuite/binutils-all/note-1.d,
159 * testsuite/binutils-all/pr23633.d: Add $subdir after $srcdir.
160 * testsuite/config/default.exp (AS, ASFLAGS): Define.
161 * testsuite/config/hppa.sed: Handle all common symbols.
162 * testsuite/lib/binutils-common.exp (run_dump_test): New proc,
163 merged from three other versions.
164 (slurp_options, file_contents, set_file_contents): Likewise.
165 (big_or_little_endian, get_standard_section_names): Likewise.
166 * testsuite/lib/utils-lib.exp (run_dump_test): Delete.
167 (slurp_options, proc file_contents): Delete.
168 (get_standard_section_names): Delete.
170 2018-09-15 Alan Modra <amodra@gmail.com>
172 * testsuite/binutils-all/copy-2.d,
173 * testsuite/binutils-all/copy-3.d,
174 * testsuite/binutils-all/copy-4.d,
175 * testsuite/binutils-all/elfedit-1.d,
176 * testsuite/binutils-all/note-1.d,
177 * testsuite/binutils-all/note-2-64.d,
178 * testsuite/binutils-all/strip-11.d,
179 * testsuite/binutils-all/strip-13.d,
180 * testsuite/binutils-all/strip-14.d,
181 * testsuite/binutils-all/testranges.d,
182 * testsuite/binutils-all/x86-64/pr23494a-x32.d,
183 * testsuite/binutils-all/x86-64/pr23494a.d,
184 * testsuite/binutils-all/x86-64/pr23494b-x32.d,
185 * testsuite/binutils-all/x86-64/pr23494b.d,
186 * testsuite/binutils-all/x86-64/pr23494c-x32.d,
187 * testsuite/binutils-all/x86-64/pr23494c.d,
188 * testsuite/binutils-all/x86-64/pr23494d-x32.d,
189 * testsuite/binutils-all/x86-64/pr23494d.d,
190 * testsuite/binutils-all/x86-64/pr23494e-x32.d,
191 * testsuite/binutils-all/x86-64/pr23494e.d,
192 * testsuite/lib/utils-lib.exp (run_dump_test): Replace not-target
193 and not-skip with notarget and noskip.
195 2018-09-15 Alan Modra <amodra@gmail.com>
197 * testsuite/binutils-all/group-7a.d,
198 * testsuite/binutils-all/group-7b.d,
199 * testsuite/binutils-all/group-7c.d,
200 * testsuite/binutils-all/symbols-1.d,
201 * testsuite/binutils-all/symbols-2.d,
202 * testsuite/binutils-all/symbols-3.d,
203 * testsuite/binutils-all/symbols-4.d: Remove DUMPPROG.
205 2018-09-14 Alan Modra <amodra@gmail.com>
208 * testsuite/binutils-all/pr23633.d: Don't fail when assembler
209 generates sections other than .text.
211 2018-09-13 H.J. Lu <hongjiu.lu@intel.com>
214 * testsuite/binutils-all/objcopy.exp: Run pr23633.
215 * testsuite/binutils-all/pr23633.d: New file.
216 * testsuite/binutils-all/pr23633.list: Likewise.
217 * testsuite/binutils-all/pr23633.s: Likewise.
219 2018-09-13 Nick Clifton <nickc@redhat.com>
222 * objcopy.c (add_specific_symbols): Do not free the buffer at the
225 2018-09-10 Alan Modra <amodra@gmail.com>
228 * objcopy.c (handle_remove_section_option): Consider .rela and
229 .rel sections for stripping directly as well as attached to the
230 associated section they relocate.
231 * doc/binutils.texi (remove-relocations): Specify that this
232 option removes non-dynamic relocation sections.
233 * testsuite/binutils-all/objcopy.exp
234 (objcopy_remove_relocations_from_executable): New test.
236 2018-09-03 Nick Clifton <nickc@redhat.com>
238 * po/ja.po: Updated Japanese translation.
240 2018-08-31 H.J. Lu <hongjiu.lu@intel.com>
242 * testsuite/binutils-all/readelf.s-64: Adjusted for
243 .note.gnu.property section.
244 * testsuite/binutils-all/strip-3.d: Also strip
245 .note.gnu.property section.
247 2018-08-31 H.J. Lu <hongjiu.lu@intel.com>
249 * testsuite/binutils-all/i386/compressed-1b.d: Pass
250 -mx86-used-note=no to assembler.
251 * testsuite/binutils-all/i386/compressed-1c.d: Likewise.
252 * testsuite/binutils-all/x86-64/compressed-1b.d: Likewise.
253 * testsuite/binutils-all/x86-64/compressed-1c.d: Likewise.
254 * testsuite/binutils-all/i386/empty.d: Pass -mx86-used-note=yes
255 to assembler and update expected output from "readelf -n".
256 * testsuite/binutils-all/i386/ibt.d: Likewise.
257 * testsuite/binutils-all/i386/pr21231a.d: Likewise.
258 * testsuite/binutils-all/i386/pr21231b.d: Likewise.
259 * testsuite/binutils-all/i386/shstk.d: Likewise.
260 * testsuite/binutils-all/x86-64/empty-x32.d: Likewise.
261 * testsuite/binutils-all/x86-64/empty.d: Likewise.
262 * testsuite/binutils-all/x86-64/ibt-x32.d: Likewise.
263 * testsuite/binutils-all/x86-64/ibt.d: Likewise.
264 * testsuite/binutils-all/x86-64/pr21231a.d: Likewise.
265 * testsuite/binutils-all/x86-64/pr21231b.d: Likewise.
266 * testsuite/binutils-all/x86-64/pr23494a-x32.d: Likewise.
267 * testsuite/binutils-all/x86-64/pr23494a.d: Likewise.
268 * testsuite/binutils-all/x86-64/pr23494b-x32.d: Likewise.
269 * testsuite/binutils-all/x86-64/pr23494b.d: Likewise.
270 * testsuite/binutils-all/x86-64/pr23494c-x32.d: Likewise.
271 * testsuite/binutils-all/x86-64/pr23494c.d: Likewise.
272 * testsuite/binutils-all/x86-64/pr23494d-x32.d: Likewise.
273 * testsuite/binutils-all/x86-64/pr23494d.d: Likewise.
274 * testsuite/binutils-all/x86-64/pr23494e-x32.d: Likewise.
275 * testsuite/binutils-all/x86-64/pr23494e.d: Likewise.
276 * testsuite/binutils-all/x86-64/shstk-x32.d: Likewise.
277 * testsuite/binutils-all/x86-64/shstk.d: Likewise.
279 2018-08-30 H.J. Lu <hongjiu.lu@intel.com>
281 * readelf.c (process_section_headers): Treat SHT_FINI_ARRAY and
282 SHT_PREINIT_ARRAY as relocatable sections.
284 2018-08-30 Chenghua Xu <paul.hua.gm@gmail.com>
286 * MAINTAINERS: Add myself as a MIPS port maintainer.
288 2018-08-29 Chenghua Xu <paul.hua.gm@gmail.com>
290 * NEWS: Mention Loongson 2K1000 proccessor support.
291 * readelf.c (get_machine_flags): Handle gs264e.
293 2018-08-29 Chenghua Xu <paul.hua.gm@gmail.com>
295 * NEWS: Mention Loongson 3A2000/3A3000 proccessor support.
296 * readelf.c (get_machine_flags): Handle gs464e.
298 2018-08-29 Chenghua Xu <paul.hua.gm@gmail.com>
300 * NEWS: Mention Loongson 3A1000 proccessor support.
301 * readelf.c (get_machine_flags): Rename loongson-3a to gs464.
302 (print_mips_isa_ext): Delete AFL_EXT_LOONGSON_3A.
304 2018-08-29 Chenghua Xu <paul.hua.gm@gmail.com>
306 * readelf.c (print_mips_ases): Add Loongson EXT2 extension.
308 2018-08-29 Chenghua Xu <paul.hua.gm@gmail.com>
310 * readelf.c (print_mips_ases): Add Loongson EXT extension.
312 2018-08-29 Chenghua Xu <paul.hua.gm@gmail.com>
314 * readelf.c (print_mips_ases): Add CAM extension.
316 2018-08-27 H.J. Lu <hongjiu.lu@intel.com>
318 * readelf.c (decode_x86_isa): Print <None> if bitmask only
319 contains the GNU_PROPERTY_X86_UINT32_VALID bit.
320 (decode_x86_feature_1): Likewise.
321 (decode_x86_feature_2): Likewise.
322 (print_gnu_property_note): Don't mask out the
323 GNU_PROPERTY_X86_UINT32_VALID bit.
324 * testsuite/binutils-all/i386/pr21231b.d: Updated.
325 * testsuite/binutils-all/x86-64/pr21231b.d: Likewise.
327 2018-08-27 H.J. Lu <hongjiu.lu@intel.com>
329 * readelf.c (decode_x86_compat_isa): Break multi-statement line.
330 (decode_x86_isa): Likewise.
331 (decode_x86_feature_2): Likewise.
333 2018-08-25 H.J. Lu <hongjiu.lu@intel.com>
336 * readelf.c (get_symbol_version_string): Return _("<corrupt>")
337 for corrupt symbol version info.
339 2018-08-24 H.J. Lu <hongjiu.lu@intel.com>
341 * readelf.c (decode_x86_compat_isa): New function.
342 (decode_x86_feature_2): Likewise.
343 (decode_x86_isa): Updated for new X86_ISA_1_XXX bits.
344 (decode_x86_feature): Renamed to ...
345 (decode_x86_feature_1): This. Remove the type argument.
346 (print_gnu_property_note): Handle X86_COMPAT_ISA_1_USED,
347 X86_COMPAT_ISA_1_NEEDED, X86_UINT32_AND_LO, X86_UINT32_AND_HI,
348 X86_UINT32_OR_LO, X86_UINT32_OR_HI, X86_UINT32_OR_AND_LO and
349 X86_UINT32_OR_AND_HI instead of X86_ISA_1_USED, X86_ISA_1_NEEDED
350 and X86_FEATURE_1_AND.
351 * testsuite/binutils-all/i386/pr21231b.s: Updated to the current
352 GNU_PROPERTY_X86_ISA_1_USED and GNU_PROPERTY_X86_ISA_1_NEEDED
354 * testsuite/binutils-all/x86-64/pr21231b.s: Likewise.
355 * testsuite/binutils-all/x86-64/pr23494a.s: Likewise.
356 * testsuite/binutils-all/x86-64/pr23494b.s: Likewise.
357 * testsuite/binutils-all/x86-64/pr23494c.s: Likewise.
358 * testsuite/binutils-all/i386/pr21231b.d: Updated.
359 * testsuite/binutils-all/x86-64/pr21231b.d: Likewise.
360 * testsuite/binutils-all/x86-64/pr23494a-x32.d: Likewise.
361 * testsuite/binutils-all/x86-64/pr23494a.d: Likewise.
362 * testsuite/binutils-all/x86-64/pr23494c-x32.d: Likewise.
363 * testsuite/binutils-all/x86-64/pr23494c.d: Likewise.
364 * testsuite/binutils-all/x86-64/pr23494d-x32.d: Likewise.
365 * testsuite/binutils-all/x86-64/pr23494d.d: Likewise.
366 * testsuite/binutils-all/x86-64/pr23494e-x32.d: Likewise.
367 * testsuite/binutils-all/x86-64/pr23494e.d: Likewise.
369 2018-08-24 H.J. Lu <hongjiu.lu@intel.com>
371 * readelf.c (print_gnu_property_note): Check the
372 GNU_PROPERTY_X86_UINT32_VALID bit for invalid GNU property note.
374 2018-08-23 Alan Modra <amodra@gmail.com>
376 * readelf.c (get_ppc64_symbol_other): Return NULL if st_other
377 field contains unrecognised or reserved values. Handle
380 2018-08-23 H.J. Lu <hongjiu.lu@intel.com>
383 * Makefile.am (development.exp): New target.
384 (EXTRA_DEJAGNU_SITE_CONFIG): New.
385 (DISTCLEANFILES): Add development.exp.
386 * Makefile.in: Regenerated.
387 * testsuite/binutils-all/objcopy.exp (strip_test): Call
388 prune_warnings to prune BFD output.
389 (strip_test_with_saving_a_symbol): Likewise.
390 (objcopy_test_without_global_symbol): Likewise.
391 * testsuite/lib/binutils-common.exp (prune_warnings_extra):
393 (prune_warnings): Likewise.
395 2018-08-23 H.J. Lu <hongjiu.lu@intel.com>
397 * README-how-to-make-a-release: Document setting "experimental"
400 2018-08-22 Alan Modra <amodra@gmail.com>
402 * readelf.c (process_file_header): Assign updated values from
403 section_header[0] fields to e_phnum, e_shnum and e_shstrndx
404 during printing of header. Correct e_shstrndx range check.
405 Remove unnecessary casts and use %u rather than %ld for
406 unsigned int header fields. Don't print a random %lx when
407 reporting an unknown EI_VERSION.
409 2018-08-21 Nick Clifton <nickc@redhat.com>
411 * MAINTAINERS: Note that Arnold Metselaar has retired as the z80
414 2018-08-21 L. Simon <l.simon@samsung.com>
417 * readelf.c (hppa_process_unwind): Only dump the unwind table if
418 the data was successfully read in.
420 2018-08-18 Alan Modra <amodra@gmail.com>
422 * testsuite/lib/binutils-common.exp (is_elf64): Use directory of
423 input file for readelf.out.
425 * testsuite/binutils-all/objcopy.exp (elf64): Set new variable
426 from first result of is_elf64 test.
427 (reloc_format): Set using is_rela.
428 (strip-13): Pass RELOC and ELF64 to assembler.
429 (strip-14, strip-15): Use elf64 rather than calling is_elf64 again.
430 * testsuite/binutils-all/strip-13.d: Run for more targets.
431 * testsuite/binutils-all/strip-13mips64.s: Use RELOC and set
433 * testsuite/binutils-all/strip-13rel.s: Use RELOC and ELF64.
434 Don't add _NONE reloc.
435 * testsuite/binutils-all/strip-13rela.s: Likewise.
437 2018-08-10 H.J. Lu <hongjiu.lu@intel.com>
440 * testsuite/binutils-all/x86-64/pr23494c.s: New file.
441 * testsuite/binutils-all/x86-64/pr23494e-x32.d: Likewise.
442 * testsuite/binutils-all/x86-64/pr23494e.d: Likewise.
444 2018-08-10 H.J. Lu <hongjiu.lu@intel.com>
446 * testsuite/binutils-all/x86-64/pr23494a-x32.d: Skip nacl
448 * testsuite/binutils-all/x86-64/pr23494a.d: Likewise.
449 * testsuite/binutils-all/x86-64/pr23494b-x32.d: Likewise.
450 * testsuite/binutils-all/x86-64/pr23494b.d: Likewise.
451 * testsuite/binutils-all/x86-64/pr23494c-x32.d: Likewise.
452 * testsuite/binutils-all/x86-64/pr23494c.d: Likewise.
453 * testsuite/binutils-all/x86-64/pr23494d-x32.d: Likewise.
454 * testsuite/binutils-all/x86-64/pr23494d.d: Likewise.
456 2018-08-08 H.J. Lu <hongjiu.lu@intel.com>
459 * testsuite/binutils-all/x86-64/pr23494a-x32.d: New file.
460 * testsuite/binutils-all/x86-64/pr23494a.d: Likewise.
461 * testsuite/binutils-all/x86-64/pr23494a.s: Likewise.
462 * testsuite/binutils-all/x86-64/pr23494b-x32.d: Likewise.
463 * testsuite/binutils-all/x86-64/pr23494b.d: Likewise.
464 * testsuite/binutils-all/x86-64/pr23494b.s: Likewise.
465 * testsuite/binutils-all/x86-64/pr23494c-x32.d: Likewise.
466 * testsuite/binutils-all/x86-64/pr23494c.d: Likewise.
467 * testsuite/binutils-all/x86-64/pr23494d-x32.d: Likewise.
468 * testsuite/binutils-all/x86-64/pr23494d.d: Likewise.
470 2018-08-08 Kevin Buettner <kevinb@redhat.com>
472 * dwarf.c (decode_location_expresion): Add case for
473 DW_OP_GNU_variable_value.
475 2018-08-06 Claudiu Zissulescu <claziss@synopsys.com>
477 * readelf.c (display_arc_attribute): Print Tag_ARC_ATR_version.
479 2018-08-03 Nick Clifton <nickc@redhat.com>
481 * objcopy.c (merge_gnu_build_notes): Delete empty notes. Merge
482 identical function notes.
484 2018-08-01 Nick Clifton <nickc@redhat.com>
486 * README-how-to-make-a-release: Add note about regenerating the
487 info files prior to the release.
489 2018-07-30 Andrew Jenner <andrew@codesourcery.com>
491 * MAINTAINERS (C-SKY): Add Yunhai Shang as co-maintainer.
493 2018-07-30 Andrew Jenner <andrew@codesourcery.com>
495 * MAINTAINERS (C-SKY): Add Lifang Xia as maintainer.
497 2018-07-30 Andrew Jenner <andrew@codesourcery.com>
499 * readelf.c: Include elf/csky.h.
500 (guess_is_rela): Handle EM_CSKY.
501 (dump_relocations): Likewise.
502 (get_machine_name): Likewise.
503 (is_32bit_abs_reloc): Likewise.
505 2018-07-25 Nick Clifton <nickc@redhat.com>
507 * rdcoff.c (parse_coff_struct_type): Free fields array upon early
509 (parse_coff_enum_type): Free names and vals arrays upon early
511 * rddbg.c (read_section_stabs_debugging_info): Free shandle and
512 strings and stabs arrays upon early exit.
513 * readelf.c (get_32bit_section_headers): Free shdrs structure upon
515 (get_64bit_section_headers): Likewise.
516 (get_32bit_elf_symbols): Generate an error if multiple symbol
517 table index sections are associated with the same symbol section.
518 (get_64bit_elf_symbols): Likewise.
519 (process_dynamic_section): Generate an error if there are multiple
520 dynamic symbol table sections, multiple dynamic string tables or
521 multiple dynamic symbol information sections.
523 2018-07-24 Nick Clifton <nickc@redhat.com>
525 * po/sv.po: Updated Swedish translation.
527 2018-07-24 Alan Modra <amodra@gmail.com>
530 * dwarf.c (display_formatted_table): Replace "what" parameter
531 with "is_dir". Expand messages. Fix capitalisation.
532 * testsuite/binutils-all/dw5.W: Update expected output.
534 2018-07-24 Alan Modra <amodra@gmail.com>
537 * elfcomm.h (struct archive_info): Rename uses_64bit_indicies
538 to uses_64bit_indices.
539 * elfcomm.c (setup_archive): Update uses of above.
540 * readelf.c (process_archive): Likewise.
541 (get_section_type_name): Rename indicies to indices.
542 (get_32bit_elf_symbols, get_64bit_elf_symbols): Likewise.
543 (process_section_groups): Likewise.
545 2018-07-20 Maciej W. Rozycki <macro@mips.com>
547 * MAINTAINERS: Update my e-mail address, downgrade to MIPS I-IV
550 2018-07-20 Nick Clifton <nickc@redhat.com>
552 * objcopy.c (add_specific_symbols): Free buffer on exit.
553 (add_redefine_syms_file): Close file handle on exit.
554 (copy_object): Close file handle on early exit.
555 Free buffer on early exit.
556 Free gaps buffers once they are no longer needed.
557 * dwarf.c (display_debug_frames): Free allocated memory on exit.
558 (load_separate_debug_info): Free allocate memory on early exit.
560 2018-07-20 Chenghua Xu <paul.hua.gm@gmail.com>
561 Maciej W. Rozycki <macro@mips.com>
563 * readelf.c (print_mips_ases): Add MMI extension.
565 2018-07-19 DJ Delorie <dj@redhat.com>
567 * MAINTAINERS (RL78, RX): Remove myself as maintainer.
569 2018-07-19 Nick Clifton <nickc@redhat.com>
571 * dwarf.c (read_cie): Free allocated memory before returning with
574 2018-07-16 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
576 * readelf.c (get_note_type): Fix typo in NT_PPC_TM_CVSX note
579 2018-07-16 Nick Clifton <nickc@redhat.com>
581 * README-how-to-make-a-release: Add note to check for new top
582 level files and add them to the src-release.sh script.
584 2018-07-14 Nick Clifton <nickc@redhat.com>
586 * README-how-to-make-a-release: Updated with corrections based on
587 the 2.31 release experience.
589 2018-07-12 Francois H. Theron <francois.theron@netronome.com>
591 * readelf.c (process_section_headers): Don't print section type
592 twice for --section-details.
594 2018-07-10 Alan Modra <amodra@gmail.com>
596 * testsuite/lib/binutils-common.exp (supports_gnu_unique): Return
599 2018-07-06 Nick Clifton <nickc@redhat.com>
601 * readelf.c (same_section): New function.
602 (print_gnu_build_attribute_description): Do not complain about
603 gaps that cross a section boundary.
605 2018-07-05 Nick Clifton <nickc@redhat.com>
607 * po/bg.po: Updated Bulgarian translation.
609 2018-07-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
611 * NEWS: Use command-line consistently when used in a compount word.
612 * doc/binutils.texi: Likewise and fix trailing whitespace on same
615 2018-06-26 Nick Clifton <nickc@redhat.com>
617 * po/sv.po: Updated Swedish translation.
618 * po/uk.po: Updated Ukranian translation.
620 2018-06-26 Nick Clifton <nickc@redhat.com>
622 * doc/binutils.texi: Fix spelling mistakes.
623 * README--how-to-make-a-release: Likewise.
625 2018-06-25 Tom Tromey <tom@tromey.com>
627 * dwarf-mode.el (dwarf-mode-syntax-table): New variable.
630 2018-06-24 Nick Clifton <nickc@redhat.com>
632 * README-how-to-make-a-release: Update with experiences from
634 * po/binutils.pot: Regenerate.
635 * configure: Regenerate.
637 2018-06-24 Nick Clifton <nickc@redhat.com>
640 * NEWS: Add marker for 2.31.
642 2018-06-21 Alan Modra <amodra@gmail.com>
644 * doc/Makefile.am (AUTOMAKE_OPTIONS): Add "foreign".
645 * doc/Makefile.in: Regenerate.
647 2018-06-19 Simon Marchi <simon.marchi@ericsson.com>
649 * configure.ac: Remove AC_PREREQ.
650 * doc/Makefile.am (AUTOMAKE_OPTIONS): Remove cygnus, add
651 info-in-builddir no-texinfo.tex.
652 * Makefile.in: Re-generate.
653 * aclocal.m4: Re-generate.
654 * config.in: Re-generate.
655 * configure: Re-generate.
656 * doc/Makefile.in: Re-generate.
658 2018-06-19 Andreas Schwab <schwab@suse.de>
660 * readelf.c (is_16bit_abs_reloc): Handle R_RISCV_SET16.
661 (is_8bit_abs_reloc): New function.
662 (is_6bit_abs_reloc): New function.
663 (is_6bit_inplace_sub_reloc): New function.
664 (apply_relocations): Use them. Handle 6-bit relocations.
666 2018-06-14 Faraz Shahbazker <Faraz.Shahbazker@mips.com>
668 * readelf.c (print_mips_ases): Add GINV extension.
670 2018-06-14 H.J. Lu <hongjiu.lu@intel.com>
673 * readelf.c (get_symbol_version_string): Check if the first
674 symbol version is base version.
676 2018-06-13 Scott Egerton <scott.egerton@imgtec.com>
677 Faraz Shahbazker <Faraz.Shahbazker@mips.com>
679 * readelf.c (print_mips_ases): Add CRC.
681 2018-06-13 Nick Clifton <nickc@redhat.com>
683 * doc/binutils.texi (objdump): Add missing closing square
684 parenthesis to listing of objcopy's command line options.
686 2018-06-11 Nick Clifton <nickc@redhat.com>
688 * po/es.po: Updated Spanish translation.
690 2018-06-01 H.J. Lu <hongjiu.lu@intel.com>
692 * configure: Regenerated.
694 2018-05-31 Alan Modra <amodra@gmail.com>
696 * testsuite/binutils-all/compress.exp (test_gnu_debuglink): Don't
697 set CC_FOR_TARGET. Run test non-native.
698 * testsuite/binutils-all/objdump.exp (test_build_id_debuglink):
700 (test_follow_debuglink): Run test non-native.
702 2018-05-30 Ant Bikeneev <ant.bikineev@gmail.com>
705 * ar.c (display_offsets): New variable.
706 (usage): Add description of 'O' operator.
707 (decode_option): Handle 'O' operator.
708 (print_descr): Pass display_offsets to print_arelt_descr.
709 * arsup.c: Update call to printy_arelt_descr.
710 * objdump.c: Likewise.
711 * bucomm.c (print_arelt_descr): If offsets parameter is true then
712 display offset of archive element within the archive.
713 * bucomm.h: Update prototype for print_arelt_descr.
714 * doc/binutils.texi: Update description of ar command.
715 * NEWS: Mention the new feature.
716 * testsuite/binutils-all/ar.exp: Add text of new feature.
718 2018-05-28 Alan Modra <amodra@gmail.com>
721 * testsuite/binutils-all/compress.exp (test_gnu_debuglink): Return
722 unsupported rather than fail on compile errors.
723 * testsuite/binutils-all/objdump.exp (test_build_id_debuglink):
724 Likewise. Save and restore CFLAGS_FOR_TARGET.
726 2018-05-18 Kito Cheng <kito.cheng@gmail.com>
728 * readelf.c (get_machine_flags): Handle EF_RISCV_RVE.
730 2018-05-18 John Darrington <john@darrington.wattle.id.au>
732 * readelf.c: Add support for s12z architecture.
733 * testsuite/lib/binutils-common.exp (is_elf_format): Excluse s12z
736 2018-05-15 Tamar Christina <tamar.christina@arm.com>
739 * doc/binutils.texi (-M): Document AArch64 options.
741 2018-05-15 Tamar Christina <tamar.christina@arm.com>
744 * doc/binutils.texi (-M): Document AArch64 options.
745 * NEWS: Document notes and warnings.
747 2018-05-15 Alan Modra <amodra@gmail.com>
749 * testsuite/lib/binutils-common.exp (is_elf_format): Add chorus,
750 cloudabi, fuchsia, kaos and nto. Merge netbsdelf* into *elf*,
751 and *uclinux* into *linux*.
752 * testsuite/binutils-all/objcopy.exp: Accept armeb for rel
753 strip-13 test, exclude arm-vxworks and arm-windiss.
755 2018-05-10 John Darrington <john@darrington.wattle.id.au>
757 * readelf.c (get_machine_name): EM_S12Z - handle new case.
759 2018-05-09 Alan Modra <amodra@gmail.com>
761 * od-macho.c (dump_unwind_encoding_x86): Fix typo in last patch.
763 2018-05-09 Sebastian Rasmussen <sebras@gmail.com>
765 * od-macho.c (dump_unwind_encoding_x86): Adjust for macro renaming.
767 2018-05-08 Alan Modra <amodra@gmail.com>
770 * objcopy.c (is_strip_section): Strip groups without a valid
773 2018-05-07 Alan Modra <amodra@gmail.com>
776 * objcopy.c (group_signature): Don't accept groups that use a
777 symbol table other than the one we've read.
779 2018-04-30 Francois H. Theron <francois.theron@netronome.com>
781 * readelf.c: Very basic support for EM_NFP and its section types.
782 * testsuite/binutils-all/nfp: New directory.
783 * testsuite/binutils-all/nfp/objdump.exp: New file. Run new
785 * testsuite/binutils-all/nfp/test2_ctx8.d: New file.
786 * testsuite/binutils-all/nfp/test2_no-pc_ctx4.d: New file.
787 * testsuite/binutils-all/nfp/test1.d: New file.
788 * testsuite/binutils-all/nfp/nfp6000.nffw: New file.
789 * testsuite/binutils-all/nfp/test2_nfp6000.nffw: New file.
790 * NEWS: Mention the new support.
792 2018-04-27 Maciej W. Rozycki <macro@mips.com>
794 * testsuite/lib/binutils-common.exp (match_target): New procedure.
795 * testsuite/lib/utils-lib.exp (run_dump_test): Use it in place
796 of `istarget' for matching with `target', `not-target', `skip'
797 and `not-skip' options.
799 2018-04-26 Nick Clifton <nickc@redhat.com>
801 * readelf.c (is_32bit_abs_reloc): Support R_PARISC_DIR32 as a
802 32-bit absolute reloc for the HPPA target.
803 * testsuite/binutils-all/note-5.d: New test.
804 * testsuite/binutils-all/note-5.s: Source file for new test.
805 * testsuite/binutils-all/objcopy.exp: Run new test.
807 2018-04-25 Christophe Lyon <christophe.lyon@st.com>
809 * testsuite/binutils-all/elfedit-2.d: Accept arm*-*-uclinuxfdpiceabi.
810 * testsuite/binutils-all/elfedit-3.d: Likewise.
811 * testsuite/binutils-all/objcopy.exp: Likewise.
812 * testsuite/binutils-all/strip-3.d: Likewise.
813 * testsuite/lib/binutils-common.exp: Likewise.
815 2018-04-25 Christophe Lyon <christophe.lyon@st.com>
816 Mickaël Guêné <mickael.guene@st.com>
818 * readelf.c (decode_ARM_machine_flags): Support EF_ARM_PIC.
819 (get_osabi_name): Support ELFOSABI_ARM_FDPIC.
821 2018-04-25 Alan Modra <amodra@gmail.com>
823 * testsuite/binutils-all/arm/objdump.exp: Remove arm-aout and
825 * testsuite/binutils-all/objcopy.exp: Likewise.
826 * testsuite/lib/binutils-common.exp: Likewise.
828 2018-04-18 Nick Clifton <nickc@redhat.com>
831 * dwarf.c (read_and_display_attr_value): Replace assertions with
832 test and warning message.
834 2018-04-18 Alan Modra <amodra@gmail.com>
836 * testsuite/lib/binutils-common.exp: Remove support for assorted
839 2018-04-17 Nick Clifton <nickc@redhat.com>
842 * readelf.c (print_symbol): If the width is zero, return straight
846 * dwarf.c (process_cu_tu_index): Test for a potential buffer
847 overrun before copying signature pointer.
849 2018-04-17 Alan Modra <amodra@gmail.com>
851 * readelf.c: Revert 2018-04-16 and 2018-04-11 changes.
853 2018-04-16 Alan Modra <amodra@gmail.com>
855 * readelf.c (get_machine_name): Correct typo.
857 2018-04-16 Alan Modra <amodra@gmail.com>
859 * configure.ac: Remove arm-epoc-pe support.
860 * dlltool.c: Likewise.
861 * configure: Regenerate.
863 2018-04-16 Alan Modra <amodra@gmail.com>
865 * testsuite/lib/binutils-common.exp: Remove sparc-aout and
868 2018-04-16 Alan Modra <amodra@gmail.com>
870 * testsuite/binutils-all/copy-2.d: Remove m68k-aout and m68k-coff
872 * testsuite/binutils-all/copy-3.d: Likewise.
873 * testsuite/binutils-all/objcopy.exp: Likewise.
874 * testsuite/lib/binutils-common.exp: Likewise.
876 2018-04-16 Alan Modra <amodra@gmail.com>
878 * testsuite/binutils-all/objcopy.exp: Remove sh5 and sh64 support.
880 2018-04-16 Alan Modra <amodra@gmail.com>
882 * testsuite/binutils-all/objcopy.exp: Remove w65 support.
884 2018-04-16 Alan Modra <amodra@gmail.com>
886 * testsuite/binutils-all/objdump.exp: Remove we32k support.
888 2018-04-16 Alan Modra <amodra@gmail.com>
890 * MAINTAINERS (Mark Kettenis): Move to past maintainers.
891 * testsuite/binutils-all/objdump.exp: Remove m88k support.
893 2018-04-16 Alan Modra <amodra@gmail.com>
895 * readelf.c: Remove i370 support.
896 * testsuite/binutils-all/objdump.exp: Likewise.
898 2018-04-16 Alan Modra <amodra@gmail.com>
900 * testsuite/binutils-all/objcopy.exp: Remove h8500 support.
901 * testsuite/lib/binutils-common.exp: Likewise.
903 2018-04-16 Alan Modra <amodra@gmail.com>
905 * testsuite/binutils-all/objcopy.exp: Remove h8300-coff support.
907 2018-04-16 Alan Modra <amodra@gmail.com>
909 * Makefile.am: Remove IEEE 695 support.
911 * doc/binutils.texi: Likewise.
912 * makefile.vms: Likewise.
913 * objcopy.c: Likewise.
914 * objdump.c: Likewise.
917 * Makefile.in: Regenerate.
918 * po/POTFILES.in: Regenerate.
920 2018-04-16 Alan Modra <amodra@gmail.com>
922 * testsuite/binutils-all/copy-2.d: Remove newsos3 support.
923 * testsuite/binutils-all/nm.exp: Likewise.
925 2018-04-16 Alan Modra <amodra@gmail.com>
927 * .gitignore: Remove netware support.
928 * Makefile.am: Likewise.
929 * configure.ac: Likewise.
930 * doc/Makefile.am: Likewise.
931 * doc/binutils.texi: Likewise.
932 * testsuite/binutils-all/nm.exp: Likewise.
935 * nlmheader.y: Delete.
936 * Makefile.in: Regenerate.
937 * configure: Regenerate.
938 * doc/Makefile.in: Regenerate.
939 * po/POTFILES.in: Regenerate.
941 2018-04-16 Alan Modra <amodra@gmail.com>
943 * testsuite/binutils-all/objdump.exp: Remove tahoe support.
945 2018-04-14 Alan Modra <amodra@gmail.com>
947 * readelf.c (get_machine_name): Revert 2018-04-11 change.
949 2018-04-12 Nick Clifton <nickc@redhat.com>
952 * readelf.c (process_dynamic_section): Correct dynamic string
953 table size calculation.
955 2018-04-11 Alan Modra <amodra@gmail.com>
957 * ieee.c: Remove i960 support.
958 * od-macho.c: Remove i860 support.
959 * readelf.c: Remove i860 and i960 support.
960 * testsuite/binutils-all/objcopy.exp: Likewise.
961 * testsuite/binutils-all/objdump.exp: Likewise.
962 * testsuite/lib/binutils-common.exp: Likewise.
964 2018-04-11 Maciej W. Rozycki <macro@mips.com>
966 * testsuite/lib/binutils-common.exp (is_elf_format): Also return
967 1 for `*-*-lynxos*' and `*-*-symbianelf*' targets.
969 2018-04-10 Alan Modra <amodra@gmail.com>
971 * testsuite/binutils-all/objcopy.exp (strip-14, strip-15): Choose
972 reloc=11 for pru and reloc=50 for nds32.
973 * testsuite/binutils-all/strip-15.d: Accept 0xb reloc number.
975 2018-04-09 Maciej W. Rozycki <macro@mips.com>
977 * testsuite/binutils-all/strip-15.d: New test.
978 * testsuite/binutils-all/strip-15rel.s: New test source.
979 * testsuite/binutils-all/strip-15rela.s: New test source.
980 * testsuite/binutils-all/strip-15mips64.s: New test source.
981 * testsuite/binutils-all/objcopy.exp: Run the new test.
983 2018-04-09 Maciej W. Rozycki <macro@mips.com>
985 * testsuite/binutils-all/strip-14.d: New test.
986 * testsuite/binutils-all/strip-14rel.s: New test source.
987 * testsuite/binutils-all/strip-14rela.s: New test source.
988 * testsuite/binutils-all/strip-14mips64.s: New test source.
989 * testsuite/binutils-all/objcopy.exp: Run the new test.
991 2018-04-06 Tom Tromey <tom@tromey.com>
993 * dwarf.c (read_and_display_attr_value): Add missing DW_LANG
994 constants from DWARF 5.
996 2018-04-05 H.J. Lu <hongjiu.lu@intel.com>
999 * configure: Regenerated.
1001 2018-04-05 Maciej W. Rozycki <macro@mips.com>
1003 * testsuite/binutils-all/strip-13mips64.s: Use `.dc.l' rather
1004 than `.dc.w' in second relocation.
1006 2018-04-05 Maciej W. Rozycki <macro@mips.com>
1008 * testsuite/binutils-all/strip-13.d: Also expect `unsupported
1009 relocation type 0x8f' error message.
1011 2018-04-05 Maciej W. Rozycki <macro@mips.com>
1013 * testsuite/binutils-all/strip-13.s: Rename to...
1014 * testsuite/binutils-all/strip-13rela.s: ... this.
1015 * testsuite/binutils-all/strip-13rel.s: New test source.
1016 * testsuite/binutils-all/strip-13mips64.s: New test source.
1017 * testsuite/binutils-all/strip-13.d: Remove `arm-*', `d10v-*',
1018 `dlx-*' and `xgate-*' from `not-target' list. Add `m6811-*' and
1019 `m68hc11-*' to `not-target' list.
1020 * testsuite/binutils-all/objcopy.exp: Switch between sources for
1023 2018-04-05 Maciej W. Rozycki <macro@mips.com>
1025 * testsuite/binutils-all/strip-13.s: Use 143 (0x8f) rather than
1026 241 (0xf1) for the relocation number and RELA addend.
1027 * testsuite/binutils-all/strip-13.d: Remove `hppa*-*' from the
1030 2018-04-04 John David Anglin <danglin@gcc.gnu.org>
1032 * MAINTAINERS: Update my e-mail address.
1034 2018-04-04 Nick Clifton <nickc@redhat.com>
1036 * MAINTAINERS: Move Jason Eckhardt to past maintainers section.
1038 2018-03-23 Nick Clifton <nickc@redhat.com>
1040 * readelf.c (get_symbol_for_build_attribute): Skip ARM mapping
1042 (print_gnu_build_attribute_description): If no file start symbol
1043 could be found, look for one two bytes into the file.
1044 * testsuite/binutils-all/note-4-64.s: Set the address of the file
1045 start symbol to two bytes into the file.
1046 * testsuite/binutils-all/note-4-32.s: Likewise.
1048 2018-03-21 H.J. Lu <hongjiu.lu@intel.com>
1050 * readelf.c (process_dynamic_section): Also dump DF_1_KMOD,
1051 DF_1_WEAKFILTER and DF_1_NOCOMMON.
1053 2018-03-20 Nick Clifton <nickc@redhat.com>
1055 * po/es.po: Updated Spanish translation.
1056 * po/ru.po: Updated Russian translation.
1058 2018-03-13 Nick Clifton <nickc@redhat.com>
1061 * stabs.c (pop_binincl): Fail if the file index is off the end of
1064 2018-03-13 Nick Clifton <nickc@redhat.com>
1067 * stabs.c (parse_number): Add p_end parameter and use it to check
1068 the validity of the pp parameter. Add checks to prevent walking
1069 off the end of the string buffer.
1070 (parse_stab_string): Likewise.
1071 (parse_stab_type): Likewise.
1072 (parse_stab_type_number): Likewise.
1073 (parse_stab_range_type): Likewise.
1074 (parse_stab_sun_builtin_type): Likewise.
1075 (parse_stab_sun_floating_type): Likewise.
1076 (parse_stab_enum_type): Likewise.
1077 (parse_stab_struct_type): Likewise.
1078 (parse_stab_baseclasses): Likewise.
1079 (parse_stab_struct_fields): Likewise.
1080 (parse_stab_cpp_abbrev): Likewise.
1081 (parse_stab_one_struct_field): Likewise.
1082 (parse_stab_members): Likewise.
1083 (parse_stab_tilde_field): Likewise.
1084 (parse_stab_array_type): Likewise.
1086 * parse_stab: Compute the end of the string and then pass it on to
1087 individual parser functions.
1089 2018-03-07 Paul Pluzhnikov <ppluzhnikov@google.com>
1092 * binutils/readelf.c (get_ver_flags): Expand buffer to avoid
1095 2018-03-07 Alan Modra <amodra@gmail.com>
1097 * configure.ac: Add objdump_private_desc_xcoff for rs6000.
1098 * configure: Regenerate.
1100 2018-03-05 H.J. Lu <hongjiu.lu@intel.com>
1103 * objdump.c (is_significant_symbol_name): Return TRUE for all
1105 (find_symbol_for_address): Replace linear search with binary
1106 search on dynamic relocations.
1108 2018-03-01 Nick Clifton <nickc@redhat.com>
1111 * dwarf.c (display_debug_ranges): Check that the offset loaded
1112 from the range_entry structure is valid.
1114 2018-03-01 Alan Modra <amodra@gmail.com>
1116 * configure.ac (ALL_LINGUAS): Add sr. Sort.
1117 * configure: Regenerate.
1119 2018-02-27 Nick Clifton <nickc@redhat.com>
1121 * po/pt.po: New Portuguese translation.
1122 * configure.ac (ALL_LINGUAS): Add pt.
1123 * configure: Regenerate.
1125 2018-02-27 Nick Clifton <nickc@redhat.com>
1128 * objcopy.c (copy_object): Check the error status after marking
1129 symbols used in relocations.
1130 * testsuite/binutils-all/strip-13.s: New test source file.
1131 * testsuite/binutils-all/strip-13.s: New test driver file.
1132 * testsuite/binutils-all/objcopy.exp: Run the new test.
1134 2018-02-26 Alan Modra <amodra@gmail.com>
1136 * testsuite/binutils-all/mips/mips-reginfo-n32.d,
1137 * testsuite/binutils-all/mips/mips-reginfo.d: Update.
1139 2018-02-23 Alan Modra <amodra@gmail.com>
1141 * testsuite/binutils-all/mips/mips-reginfo-n32.d,
1142 * testsuite/binutils-all/mips/mips-reginfo.d: Update.
1144 2018-02-20 Ronald Hoogenboom <hoogenboom30@zonnet.nl>
1146 * doc/binutils.texi (objcopy): Add missing closing square
1147 parenthesis to listing of objcopy's command line options.
1149 2018-02-19 Matthias Klose <doko@debian.org>
1151 * strings.c (long_options): Include-all-whitespace does not take
1154 2018-02-13 Alan Modra <amodra@gmail.com>
1157 * testsuite/binutils-all/group-7.s,
1158 * testsuite/binutils-all/group-7a.d,
1159 * testsuite/binutils-all/group-7b.d,
1160 * testsuite/binutils-all/group-7c.d: New tests.
1161 * testsuite/binutils-all/objcopy.exp: Run them.
1163 2018-02-08 Nick Clifton <nickc@redhat.com>
1166 * dwarf.c (load_separate_debug_file): Return early if the user is
1167 not interested in debug links.
1169 2018-02-06 Nick Clifton <nickc@redhat.com>
1172 * readelf.c (find_section): Replace assertion with test and return
1174 (find_section_by_address): Add test of section header table
1176 (find_section_by_type): Likewise.
1177 (find_section_in_set): Likewise.
1179 2018-02-05 Maciej W. Rozycki <macro@mips.com>
1181 * testsuite/binutils-all/mips/mips-reginfo.d: New test.
1182 * testsuite/binutils-all/mips/mips-reginfo-n32.d: New test.
1183 * testsuite/binutils-all/mips/mips-reginfo.s: New test source.
1184 * testsuite/binutils-all/mips/mips.exp: Run the new tests.
1186 2018-02-05 Maciej W. Rozycki <macro@mips.com>
1188 * testsuite/config/default.exp (binutils_run): Document
1189 `binutils_run_status'.
1190 * testsuite/lib/utils-lib.exp (default_binutils_run): Likewise,
1192 (run_dump_test): Add `error', `error_output', `warning' and
1193 `warning_output' options. Update documentation accordingly.
1195 2018-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
1197 * dwarf.c (dwarf_regnames_riscv): New register name table.
1198 (init_dwarf_regnames_riscv): New function.
1199 (init_dwarf_regnames): Add call to initialise RiscV register
1201 * dwarf.h (init_dwarf_regnames_riscv): Declare.
1202 * objdump.c (dump_dwarf): Add call to initialise RiscV register
1205 2018-02-01 Alan Modra <amodra@gmail.com>
1208 * objdump.c (load_specific_debug_section): Check for overflow
1209 when adding one to section size for a string section terminator.
1211 2018-01-30 Nick Clifton <nickc@redhat.com>
1214 * doc/binutils.texi (nm): Update description to point out that
1215 zero-initialized values can also be shown as type B, b, S or s
1216 since they can be stored in the BSS section.
1218 2018-01-30 Alan Modra <amodra@gmail.com>
1220 * objcopy.c (merge_gnu_build_notes): Use (bfd_vma) -1 as
1221 "artificially large" end address.
1223 2018-01-28 Nick Clifton <nickc@redhat.com>
1225 * README-how-to-make-a-release: Add note about checking gpg key
1226 and the results of gnupload.
1228 2018-01-27 Nick Clifton <nickc@redhat.com>
1230 * README-how-to-make-a-release: Add details on how to actually
1233 2018-01-26 Nick Clifton <nickc@redhat.com>
1235 * README-how-to-make-a-release: Add more details on updating
1238 2018-01-22 Maciej W. Rozycki <macro@mips.com>
1240 * doc/binutils.texi (objcopy): Fix a typo in `--rename-section'
1243 2018-01-22 Maciej W. Rozycki <macro@mips.com>
1245 * MAINTAINERS: Update my company e-mail address.
1247 2018-01-22 Nick Clifton <nickc@redhat.com>
1249 * po/sv.po: Updated Swedish translation.
1251 2018-01-18 Nick Clifton <nickc@redhat.com>
1253 * po/bg.po: Updated Bulgarian translation.
1255 2018-01-16 Joel Brobecker <brobecker@adacore.com>
1257 * README-how-to-make-a-release: Add reminder to update the
1258 branch name in gdbadmin's crontab on sourceware.
1260 2018-01-16 Joel Brobecker <brobecker@adacore.com>
1262 * README-how-to-make-a-release: Remove trailing spaces.
1264 2018-01-16 Nick Clifton <nickc@redhat.com>
1266 * po/fr.po: Updated French translation.
1268 2018-01-15 Nick Clifton <nickc@redhat.com>
1270 * po/uk.po: Updated Ukranian translation.
1272 2018-01-13 Nick Clifton <nickc@redhat.com>
1274 * README-how-to-make-a-release: Update notes.
1275 * po/binutils.pot: Regenerated.
1277 2018-01-13 Nick Clifton <nickc@redhat.com>
1279 * configure: Regenerate.
1281 2018-01-13 Nick Clifton <nickc@redhat.com>
1283 2.30 branch created.
1284 * NEWS: Add marker for 2.30.
1286 2018-01-12 Nick Clifton <nickc@redhat.com>
1288 * README-how-to-make-a-release: Add notes on how to make the
1289 branch and prelease snapshot.
1290 * BRANCHES: Add binutils-2_29-branch.
1292 2018-01-10 Nick Clifton <nickc@redhat.com>
1294 * MAINTAINERS: Note that it is now the configure.ac file and not
1295 the configure.in file that needs to be kept in sync with gcc.
1296 Add a note about sending patches for libiberty to gcc.
1298 2018-01-03 Nick Clifton <nickc@redhat.com>
1300 * objcopy.c (merge_gnu_build_notes): Add cast to maximum address
1303 2018-01-03 Nick Clifton <nickc@redhat.com>
1305 * objcopy.c (objcopy_internal_note): New structure.
1306 (gap_exists): New function.
1307 (is_open_note): New function.
1308 (is_func_note): New function.
1309 (is_64bit): New function.
1310 (merge_gnu_build_notes): Handle v3 notes. Do not merge
1311 if there are relocations against the notes.
1312 * readelf.c (get_note_type): Use short names for build attribute
1314 (print_symbol_for_build_attribute): Rename to
1315 get_symbol_for_build_attribute. Returns the found symbol rather
1317 (print_gnu_build_attribute_description): Maintain address ranges
1318 for function notes as well as global notes. Handle v3 notes.
1319 (print_gnu_build_attribute_name): Use more space for printing the
1321 * testsuite/binutils-all/note-2-32.s: Use .dc.l instead of .word.
1322 Eliminate symbol references in order to remove the need for
1324 * testsuite/binutils-all/note-2-64.s: Likewise.
1325 * testsuite/binutils-all/note-3-32.s: Add a size to the note_1
1327 * testsuite/binutils-all/note-3-64.s: Likewise.
1328 * testsuite/binutils-all/mips/mips-note-2r-n32.d: Update expected
1330 * testsuite/binutils-all/mips/mips-note-2r-n64.d: Likewise.
1331 * testsuite/binutils-all/mips/mips-note-2r.d: Likewise.
1332 * testsuite/binutils-all/note-2-32.d: Likewise.
1333 * testsuite/binutils-all/note-2-64.d: Likewise.
1334 * testsuite/binutils-all/note-3-32.d: Likewise.
1335 * testsuite/binutils-all/note-3-64.d: Likewise.
1336 * testsuite/binutils-all/note-4-64.s: New test. Checks v3 notes.
1337 * testsuite/binutils-all/note-4-32.s: New test.
1338 * testsuite/binutils-all/note-4-64.d: New test result file.
1339 * testsuite/binutils-all/note-4-32.d: New test result file.
1341 2018-01-03 Alan Modra <amodra@gmail.com>
1343 Update year range in copyright notice of all files.
1345 For older changes see ChangeLog-2017
1347 Copyright (C) 2018 Free Software Foundation, Inc.
1349 Copying and distribution of this file, with or without modification,
1350 are permitted in any medium without royalty provided the copyright
1351 notice and this notice are preserved.
1357 version-control: never