1 2018-11-03 H.J. Lu <hongjiu.lu@intel.com>
3 * elfedit.c (update_elf_header): Move EI_MAG? check to ...
4 (get_file_header): Here.
6 2018-11-02 H.J. Lu <hongjiu.lu@intel.com>
8 * configure.ac (AC_FUNC_MMAP): New.
9 * config.in: Regenerated.
10 * configure: Likewise.
12 2018-11-02 Alan Modra <amodra@gmail.com>
14 * readelf.c (process_section_headers): Don't warn on a zero
15 sh_info or sh_link for any reloc section in an executable or
16 shared library. Do warn for .rel.dyn/.rela.dyn in ET_REL.
18 2018-11-01 Thomas Preud'homme <thomas.preudhomme@linaro.org>
20 * testsuite/config/default.exp: Define LD, LDFLAGS and
22 * testsuite/lib/binutils-common.exp (check_shared_lib_support): Moved
24 (run_dump_test): Set ld to $LD.
26 2018-10-18 Nick Clifton <nickc@redhat.com>
28 * doc/binutils.texi (readelf): Document alternatives to the
29 --unwind option if it is not supported for the target
32 2018-10-16 Alan Modra <amodra@gmail.com>
35 * readelf.c (display_raw_attribute): Correct assertion.
37 2018-10-15 Alan Modra <amodra@gmail.com>
40 * addr2line.c (main): Exit with fatal error if bfd_init
41 returns an unexpected value.
42 * ar.c (main): Likewise.
43 * dlltool.c (identify_dll_for_implib): Likewise.
44 * nm.c (main): Likewise.
45 * objcopy.c (main): Likewise.
46 * objdump.c (main): Likewise.
47 * size.c (main): Likewise.
48 * strings.c (main): Likewise.
49 * windmc.c (main): Likewise.
50 * windres.c (main): Likewise.
52 2018-10-11 Jordan Rupprecht <rupprecht@google.com>
53 Nick Clifton <nickc@redhat.com>
55 * objcopy.c (copy_main): Issue a fata error if the
56 --keep-global-symbol(s) and the --globalize-symbol(s) options are
58 * doc/binutils.texi: Document that the two options are
60 * testsuite/binutils-all/copy-5.d: New test.
61 * testsuite/binutils-all/objcopy.exp: Run the new test.
63 2018-10-10 Helge Deller <deller@gmx.de>
64 Alan Modra <amodra@gmail.com>
66 * readelf.c (hppa_process_unwind): Don't use eh_addr_size to
67 calculate number of entries.
68 (slurp_hppa_unwind_table): Don't use eh_addr_size here either.
70 2018-10-10 Alan Modra <amodra@gmail.com>
72 * objdump.c (dump_dwarf): Set s12z eh_addr_size to 4.
74 2018-10-08 Andreas Schwab <schwab@suse.de>
76 * readelf.c (is_32bit_pcrel_reloc): Handle R_RISCV_32_PCREL.
78 2018-10-03 Nick Clifton <nickc@redhat.com>
80 * po/pt.po: Updated Portuguese translation.
81 * po/fr.po: Updated French translation.
83 2018-09-22 Alan Modra <amodra@gmail.com>
85 * readelf.c (apply_relocations): Don't return FALSE for warnings.
87 2018-09-20 Nelson Chu <nelson.chu1990@gmail.com>
89 * testsuite/binutils-all/objcopy.exp: Set the unsupported reloc number
90 from 215 to 255 for NDS32.
92 2018-09-17 H.J. Lu <hongjiu.lu@intel.com>
94 * objcopy.c (strip_specific_buffer): New.
95 (strip_unneeded_buffer): Likewise.
96 (keep_specific_buffer): Likewise.
97 (localize_specific_buffer): Likewise.
98 (globalize_specific_buffer): Likewise.
99 (keepglobal_specific_buffer): Likewise.
100 (weaken_specific_buffer): Likewise.
101 (add_specific_symbols): Add an argument to return pointer to
103 (copy_main): Update add_specific_symbols to update pointers to
104 allocated buffer. Free pointers to allocated buffer before
107 2018-09-17 Alan Modra <amodra@gmail.com>
109 * objcopy.c (handle_remove_section_option): Don't require a dot
110 after .rela and .rel to handle a possible relocation section.
111 * testsuite/binutils-all/remove-relocs-07.s,
112 * testsuite/binutils-all/remove-relocs-07.d,
113 * testsuite/binutils-all/remove-relocs-08.d: New tests.
114 * testsuite/binutils-all/remove-relocs-01.d,
115 * testsuite/binutils-all/remove-relocs-04.d,
116 * testsuite/binutils-all/remove-relocs-05.d,
117 * testsuite/binutils-all/remove-relocs-06.d: Exclude mips64-openbsd.
119 2018-09-17 Alan Modra <amodra@gmail.com>
121 * testsuite/lib/binutils-common.exp (is_som_format): New proc.
122 (run_dump_test): Correct target test for alternate .comm syntax.
123 (get_standard_section_names): Handle som format.
124 * testsuite/lib/utils-lib.exp (default_binutils_assemble_flags):
125 Correct target test for alternate .comm syntax.
127 2018-09-17 Alan Modra <amodra@gmail.com>
129 * testsuite/binutils-all/strip-13mips64.s: Add section flags
131 * testsuite/binutils-all/strip-13rel.s: Likewise.
132 * testsuite/binutils-all/strip-13rela.s: Likewise.
133 * testsuite/binutils-all/strip-14mips64.s: Likewise.
134 * testsuite/binutils-all/strip-14rel.s: Likewise.
135 * testsuite/binutils-all/strip-14rela.s: Likewise.
136 * testsuite/binutils-all/strip-15mips64.s: Likewise.
137 * testsuite/binutils-all/strip-15rel.s: Likewise.
138 * testsuite/binutils-all/strip-15rela.s: Likewise.
140 2018-09-17 Nick Clifton <nickc@redhat.com>
142 * testsuite/binutils-all/compress.exp: Rename second "objcopy
143 zlib-gnu compress debug sections 3" test to "objcopy zlib-gabi
144 compress debug sections 3" and use gabi object files instead
146 * testsuite/binutils-all/objcopy.exp: Add suffix to the names
147 of the "ELF group" tests.
148 * testsuite/binutils-all/readelf.exp (proc readelf_find_size):
149 Add an iteration parameter and include it in the name of the
150 test. Update callers to include an iteration count.
152 2018-09-15 Alan Modra <amodra@gmail.com>
154 * testsuite/binutils-all/add-symbol.d: Add "section_subst: no".
155 * testsuite/binutils-all/elfedit.exp: Don't set tempfile or copyfile.
156 * testsuite/binutils-all/symbols-1.d,
157 * testsuite/binutils-all/symbols-2.d,
158 * testsuite/binutils-all/symbols-3.d,
159 * testsuite/binutils-all/symbols-4.d: Quote '*' and '!'.
160 * testsuite/binutils-all/add-empty-section.d,
161 * testsuite/binutils-all/add-section.d,
162 * testsuite/binutils-all/elfedit.exp,
163 * testsuite/binutils-all/note-1.d,
164 * testsuite/binutils-all/pr23633.d: Add $subdir after $srcdir.
165 * testsuite/config/default.exp (AS, ASFLAGS): Define.
166 * testsuite/config/hppa.sed: Handle all common symbols.
167 * testsuite/lib/binutils-common.exp (run_dump_test): New proc,
168 merged from three other versions.
169 (slurp_options, file_contents, set_file_contents): Likewise.
170 (big_or_little_endian, get_standard_section_names): Likewise.
171 * testsuite/lib/utils-lib.exp (run_dump_test): Delete.
172 (slurp_options, proc file_contents): Delete.
173 (get_standard_section_names): Delete.
175 2018-09-15 Alan Modra <amodra@gmail.com>
177 * testsuite/binutils-all/copy-2.d,
178 * testsuite/binutils-all/copy-3.d,
179 * testsuite/binutils-all/copy-4.d,
180 * testsuite/binutils-all/elfedit-1.d,
181 * testsuite/binutils-all/note-1.d,
182 * testsuite/binutils-all/note-2-64.d,
183 * testsuite/binutils-all/strip-11.d,
184 * testsuite/binutils-all/strip-13.d,
185 * testsuite/binutils-all/strip-14.d,
186 * testsuite/binutils-all/testranges.d,
187 * testsuite/binutils-all/x86-64/pr23494a-x32.d,
188 * testsuite/binutils-all/x86-64/pr23494a.d,
189 * testsuite/binutils-all/x86-64/pr23494b-x32.d,
190 * testsuite/binutils-all/x86-64/pr23494b.d,
191 * testsuite/binutils-all/x86-64/pr23494c-x32.d,
192 * testsuite/binutils-all/x86-64/pr23494c.d,
193 * testsuite/binutils-all/x86-64/pr23494d-x32.d,
194 * testsuite/binutils-all/x86-64/pr23494d.d,
195 * testsuite/binutils-all/x86-64/pr23494e-x32.d,
196 * testsuite/binutils-all/x86-64/pr23494e.d,
197 * testsuite/lib/utils-lib.exp (run_dump_test): Replace not-target
198 and not-skip with notarget and noskip.
200 2018-09-15 Alan Modra <amodra@gmail.com>
202 * testsuite/binutils-all/group-7a.d,
203 * testsuite/binutils-all/group-7b.d,
204 * testsuite/binutils-all/group-7c.d,
205 * testsuite/binutils-all/symbols-1.d,
206 * testsuite/binutils-all/symbols-2.d,
207 * testsuite/binutils-all/symbols-3.d,
208 * testsuite/binutils-all/symbols-4.d: Remove DUMPPROG.
210 2018-09-14 Alan Modra <amodra@gmail.com>
213 * testsuite/binutils-all/pr23633.d: Don't fail when assembler
214 generates sections other than .text.
216 2018-09-13 H.J. Lu <hongjiu.lu@intel.com>
219 * testsuite/binutils-all/objcopy.exp: Run pr23633.
220 * testsuite/binutils-all/pr23633.d: New file.
221 * testsuite/binutils-all/pr23633.list: Likewise.
222 * testsuite/binutils-all/pr23633.s: Likewise.
224 2018-09-13 Nick Clifton <nickc@redhat.com>
227 * objcopy.c (add_specific_symbols): Do not free the buffer at the
230 2018-09-10 Alan Modra <amodra@gmail.com>
233 * objcopy.c (handle_remove_section_option): Consider .rela and
234 .rel sections for stripping directly as well as attached to the
235 associated section they relocate.
236 * doc/binutils.texi (remove-relocations): Specify that this
237 option removes non-dynamic relocation sections.
238 * testsuite/binutils-all/objcopy.exp
239 (objcopy_remove_relocations_from_executable): New test.
241 2018-09-03 Nick Clifton <nickc@redhat.com>
243 * po/ja.po: Updated Japanese translation.
245 2018-08-31 H.J. Lu <hongjiu.lu@intel.com>
247 * testsuite/binutils-all/readelf.s-64: Adjusted for
248 .note.gnu.property section.
249 * testsuite/binutils-all/strip-3.d: Also strip
250 .note.gnu.property section.
252 2018-08-31 H.J. Lu <hongjiu.lu@intel.com>
254 * testsuite/binutils-all/i386/compressed-1b.d: Pass
255 -mx86-used-note=no to assembler.
256 * testsuite/binutils-all/i386/compressed-1c.d: Likewise.
257 * testsuite/binutils-all/x86-64/compressed-1b.d: Likewise.
258 * testsuite/binutils-all/x86-64/compressed-1c.d: Likewise.
259 * testsuite/binutils-all/i386/empty.d: Pass -mx86-used-note=yes
260 to assembler and update expected output from "readelf -n".
261 * testsuite/binutils-all/i386/ibt.d: Likewise.
262 * testsuite/binutils-all/i386/pr21231a.d: Likewise.
263 * testsuite/binutils-all/i386/pr21231b.d: Likewise.
264 * testsuite/binutils-all/i386/shstk.d: Likewise.
265 * testsuite/binutils-all/x86-64/empty-x32.d: Likewise.
266 * testsuite/binutils-all/x86-64/empty.d: Likewise.
267 * testsuite/binutils-all/x86-64/ibt-x32.d: Likewise.
268 * testsuite/binutils-all/x86-64/ibt.d: Likewise.
269 * testsuite/binutils-all/x86-64/pr21231a.d: Likewise.
270 * testsuite/binutils-all/x86-64/pr21231b.d: Likewise.
271 * testsuite/binutils-all/x86-64/pr23494a-x32.d: Likewise.
272 * testsuite/binutils-all/x86-64/pr23494a.d: Likewise.
273 * testsuite/binutils-all/x86-64/pr23494b-x32.d: Likewise.
274 * testsuite/binutils-all/x86-64/pr23494b.d: Likewise.
275 * testsuite/binutils-all/x86-64/pr23494c-x32.d: Likewise.
276 * testsuite/binutils-all/x86-64/pr23494c.d: Likewise.
277 * testsuite/binutils-all/x86-64/pr23494d-x32.d: Likewise.
278 * testsuite/binutils-all/x86-64/pr23494d.d: Likewise.
279 * testsuite/binutils-all/x86-64/pr23494e-x32.d: Likewise.
280 * testsuite/binutils-all/x86-64/pr23494e.d: Likewise.
281 * testsuite/binutils-all/x86-64/shstk-x32.d: Likewise.
282 * testsuite/binutils-all/x86-64/shstk.d: Likewise.
284 2018-08-30 H.J. Lu <hongjiu.lu@intel.com>
286 * readelf.c (process_section_headers): Treat SHT_FINI_ARRAY and
287 SHT_PREINIT_ARRAY as relocatable sections.
289 2018-08-30 Chenghua Xu <paul.hua.gm@gmail.com>
291 * MAINTAINERS: Add myself as a MIPS port maintainer.
293 2018-08-29 Chenghua Xu <paul.hua.gm@gmail.com>
295 * NEWS: Mention Loongson 2K1000 proccessor support.
296 * readelf.c (get_machine_flags): Handle gs264e.
298 2018-08-29 Chenghua Xu <paul.hua.gm@gmail.com>
300 * NEWS: Mention Loongson 3A2000/3A3000 proccessor support.
301 * readelf.c (get_machine_flags): Handle gs464e.
303 2018-08-29 Chenghua Xu <paul.hua.gm@gmail.com>
305 * NEWS: Mention Loongson 3A1000 proccessor support.
306 * readelf.c (get_machine_flags): Rename loongson-3a to gs464.
307 (print_mips_isa_ext): Delete AFL_EXT_LOONGSON_3A.
309 2018-08-29 Chenghua Xu <paul.hua.gm@gmail.com>
311 * readelf.c (print_mips_ases): Add Loongson EXT2 extension.
313 2018-08-29 Chenghua Xu <paul.hua.gm@gmail.com>
315 * readelf.c (print_mips_ases): Add Loongson EXT extension.
317 2018-08-29 Chenghua Xu <paul.hua.gm@gmail.com>
319 * readelf.c (print_mips_ases): Add CAM extension.
321 2018-08-27 H.J. Lu <hongjiu.lu@intel.com>
323 * readelf.c (decode_x86_isa): Print <None> if bitmask only
324 contains the GNU_PROPERTY_X86_UINT32_VALID bit.
325 (decode_x86_feature_1): Likewise.
326 (decode_x86_feature_2): Likewise.
327 (print_gnu_property_note): Don't mask out the
328 GNU_PROPERTY_X86_UINT32_VALID bit.
329 * testsuite/binutils-all/i386/pr21231b.d: Updated.
330 * testsuite/binutils-all/x86-64/pr21231b.d: Likewise.
332 2018-08-27 H.J. Lu <hongjiu.lu@intel.com>
334 * readelf.c (decode_x86_compat_isa): Break multi-statement line.
335 (decode_x86_isa): Likewise.
336 (decode_x86_feature_2): Likewise.
338 2018-08-25 H.J. Lu <hongjiu.lu@intel.com>
341 * readelf.c (get_symbol_version_string): Return _("<corrupt>")
342 for corrupt symbol version info.
344 2018-08-24 H.J. Lu <hongjiu.lu@intel.com>
346 * readelf.c (decode_x86_compat_isa): New function.
347 (decode_x86_feature_2): Likewise.
348 (decode_x86_isa): Updated for new X86_ISA_1_XXX bits.
349 (decode_x86_feature): Renamed to ...
350 (decode_x86_feature_1): This. Remove the type argument.
351 (print_gnu_property_note): Handle X86_COMPAT_ISA_1_USED,
352 X86_COMPAT_ISA_1_NEEDED, X86_UINT32_AND_LO, X86_UINT32_AND_HI,
353 X86_UINT32_OR_LO, X86_UINT32_OR_HI, X86_UINT32_OR_AND_LO and
354 X86_UINT32_OR_AND_HI instead of X86_ISA_1_USED, X86_ISA_1_NEEDED
355 and X86_FEATURE_1_AND.
356 * testsuite/binutils-all/i386/pr21231b.s: Updated to the current
357 GNU_PROPERTY_X86_ISA_1_USED and GNU_PROPERTY_X86_ISA_1_NEEDED
359 * testsuite/binutils-all/x86-64/pr21231b.s: Likewise.
360 * testsuite/binutils-all/x86-64/pr23494a.s: Likewise.
361 * testsuite/binutils-all/x86-64/pr23494b.s: Likewise.
362 * testsuite/binutils-all/x86-64/pr23494c.s: Likewise.
363 * testsuite/binutils-all/i386/pr21231b.d: Updated.
364 * testsuite/binutils-all/x86-64/pr21231b.d: Likewise.
365 * testsuite/binutils-all/x86-64/pr23494a-x32.d: Likewise.
366 * testsuite/binutils-all/x86-64/pr23494a.d: Likewise.
367 * testsuite/binutils-all/x86-64/pr23494c-x32.d: Likewise.
368 * testsuite/binutils-all/x86-64/pr23494c.d: Likewise.
369 * testsuite/binutils-all/x86-64/pr23494d-x32.d: Likewise.
370 * testsuite/binutils-all/x86-64/pr23494d.d: Likewise.
371 * testsuite/binutils-all/x86-64/pr23494e-x32.d: Likewise.
372 * testsuite/binutils-all/x86-64/pr23494e.d: Likewise.
374 2018-08-24 H.J. Lu <hongjiu.lu@intel.com>
376 * readelf.c (print_gnu_property_note): Check the
377 GNU_PROPERTY_X86_UINT32_VALID bit for invalid GNU property note.
379 2018-08-23 Alan Modra <amodra@gmail.com>
381 * readelf.c (get_ppc64_symbol_other): Return NULL if st_other
382 field contains unrecognised or reserved values. Handle
385 2018-08-23 H.J. Lu <hongjiu.lu@intel.com>
388 * Makefile.am (development.exp): New target.
389 (EXTRA_DEJAGNU_SITE_CONFIG): New.
390 (DISTCLEANFILES): Add development.exp.
391 * Makefile.in: Regenerated.
392 * testsuite/binutils-all/objcopy.exp (strip_test): Call
393 prune_warnings to prune BFD output.
394 (strip_test_with_saving_a_symbol): Likewise.
395 (objcopy_test_without_global_symbol): Likewise.
396 * testsuite/lib/binutils-common.exp (prune_warnings_extra):
398 (prune_warnings): Likewise.
400 2018-08-23 H.J. Lu <hongjiu.lu@intel.com>
402 * README-how-to-make-a-release: Document setting "experimental"
405 2018-08-22 Alan Modra <amodra@gmail.com>
407 * readelf.c (process_file_header): Assign updated values from
408 section_header[0] fields to e_phnum, e_shnum and e_shstrndx
409 during printing of header. Correct e_shstrndx range check.
410 Remove unnecessary casts and use %u rather than %ld for
411 unsigned int header fields. Don't print a random %lx when
412 reporting an unknown EI_VERSION.
414 2018-08-21 Nick Clifton <nickc@redhat.com>
416 * MAINTAINERS: Note that Arnold Metselaar has retired as the z80
419 2018-08-21 L. Simon <l.simon@samsung.com>
422 * readelf.c (hppa_process_unwind): Only dump the unwind table if
423 the data was successfully read in.
425 2018-08-18 Alan Modra <amodra@gmail.com>
427 * testsuite/lib/binutils-common.exp (is_elf64): Use directory of
428 input file for readelf.out.
430 * testsuite/binutils-all/objcopy.exp (elf64): Set new variable
431 from first result of is_elf64 test.
432 (reloc_format): Set using is_rela.
433 (strip-13): Pass RELOC and ELF64 to assembler.
434 (strip-14, strip-15): Use elf64 rather than calling is_elf64 again.
435 * testsuite/binutils-all/strip-13.d: Run for more targets.
436 * testsuite/binutils-all/strip-13mips64.s: Use RELOC and set
438 * testsuite/binutils-all/strip-13rel.s: Use RELOC and ELF64.
439 Don't add _NONE reloc.
440 * testsuite/binutils-all/strip-13rela.s: Likewise.
442 2018-08-10 H.J. Lu <hongjiu.lu@intel.com>
445 * testsuite/binutils-all/x86-64/pr23494c.s: New file.
446 * testsuite/binutils-all/x86-64/pr23494e-x32.d: Likewise.
447 * testsuite/binutils-all/x86-64/pr23494e.d: Likewise.
449 2018-08-10 H.J. Lu <hongjiu.lu@intel.com>
451 * testsuite/binutils-all/x86-64/pr23494a-x32.d: Skip nacl
453 * testsuite/binutils-all/x86-64/pr23494a.d: Likewise.
454 * testsuite/binutils-all/x86-64/pr23494b-x32.d: Likewise.
455 * testsuite/binutils-all/x86-64/pr23494b.d: Likewise.
456 * testsuite/binutils-all/x86-64/pr23494c-x32.d: Likewise.
457 * testsuite/binutils-all/x86-64/pr23494c.d: Likewise.
458 * testsuite/binutils-all/x86-64/pr23494d-x32.d: Likewise.
459 * testsuite/binutils-all/x86-64/pr23494d.d: Likewise.
461 2018-08-08 H.J. Lu <hongjiu.lu@intel.com>
464 * testsuite/binutils-all/x86-64/pr23494a-x32.d: New file.
465 * testsuite/binutils-all/x86-64/pr23494a.d: Likewise.
466 * testsuite/binutils-all/x86-64/pr23494a.s: Likewise.
467 * testsuite/binutils-all/x86-64/pr23494b-x32.d: Likewise.
468 * testsuite/binutils-all/x86-64/pr23494b.d: Likewise.
469 * testsuite/binutils-all/x86-64/pr23494b.s: Likewise.
470 * testsuite/binutils-all/x86-64/pr23494c-x32.d: Likewise.
471 * testsuite/binutils-all/x86-64/pr23494c.d: Likewise.
472 * testsuite/binutils-all/x86-64/pr23494d-x32.d: Likewise.
473 * testsuite/binutils-all/x86-64/pr23494d.d: Likewise.
475 2018-08-08 Kevin Buettner <kevinb@redhat.com>
477 * dwarf.c (decode_location_expresion): Add case for
478 DW_OP_GNU_variable_value.
480 2018-08-06 Claudiu Zissulescu <claziss@synopsys.com>
482 * readelf.c (display_arc_attribute): Print Tag_ARC_ATR_version.
484 2018-08-03 Nick Clifton <nickc@redhat.com>
486 * objcopy.c (merge_gnu_build_notes): Delete empty notes. Merge
487 identical function notes.
489 2018-08-01 Nick Clifton <nickc@redhat.com>
491 * README-how-to-make-a-release: Add note about regenerating the
492 info files prior to the release.
494 2018-07-30 Andrew Jenner <andrew@codesourcery.com>
496 * MAINTAINERS (C-SKY): Add Yunhai Shang as co-maintainer.
498 2018-07-30 Andrew Jenner <andrew@codesourcery.com>
500 * MAINTAINERS (C-SKY): Add Lifang Xia as maintainer.
502 2018-07-30 Andrew Jenner <andrew@codesourcery.com>
504 * readelf.c: Include elf/csky.h.
505 (guess_is_rela): Handle EM_CSKY.
506 (dump_relocations): Likewise.
507 (get_machine_name): Likewise.
508 (is_32bit_abs_reloc): Likewise.
510 2018-07-25 Nick Clifton <nickc@redhat.com>
512 * rdcoff.c (parse_coff_struct_type): Free fields array upon early
514 (parse_coff_enum_type): Free names and vals arrays upon early
516 * rddbg.c (read_section_stabs_debugging_info): Free shandle and
517 strings and stabs arrays upon early exit.
518 * readelf.c (get_32bit_section_headers): Free shdrs structure upon
520 (get_64bit_section_headers): Likewise.
521 (get_32bit_elf_symbols): Generate an error if multiple symbol
522 table index sections are associated with the same symbol section.
523 (get_64bit_elf_symbols): Likewise.
524 (process_dynamic_section): Generate an error if there are multiple
525 dynamic symbol table sections, multiple dynamic string tables or
526 multiple dynamic symbol information sections.
528 2018-07-24 Nick Clifton <nickc@redhat.com>
530 * po/sv.po: Updated Swedish translation.
532 2018-07-24 Alan Modra <amodra@gmail.com>
535 * dwarf.c (display_formatted_table): Replace "what" parameter
536 with "is_dir". Expand messages. Fix capitalisation.
537 * testsuite/binutils-all/dw5.W: Update expected output.
539 2018-07-24 Alan Modra <amodra@gmail.com>
542 * elfcomm.h (struct archive_info): Rename uses_64bit_indicies
543 to uses_64bit_indices.
544 * elfcomm.c (setup_archive): Update uses of above.
545 * readelf.c (process_archive): Likewise.
546 (get_section_type_name): Rename indicies to indices.
547 (get_32bit_elf_symbols, get_64bit_elf_symbols): Likewise.
548 (process_section_groups): Likewise.
550 2018-07-20 Maciej W. Rozycki <macro@mips.com>
552 * MAINTAINERS: Update my e-mail address, downgrade to MIPS I-IV
555 2018-07-20 Nick Clifton <nickc@redhat.com>
557 * objcopy.c (add_specific_symbols): Free buffer on exit.
558 (add_redefine_syms_file): Close file handle on exit.
559 (copy_object): Close file handle on early exit.
560 Free buffer on early exit.
561 Free gaps buffers once they are no longer needed.
562 * dwarf.c (display_debug_frames): Free allocated memory on exit.
563 (load_separate_debug_info): Free allocate memory on early exit.
565 2018-07-20 Chenghua Xu <paul.hua.gm@gmail.com>
566 Maciej W. Rozycki <macro@mips.com>
568 * readelf.c (print_mips_ases): Add MMI extension.
570 2018-07-19 DJ Delorie <dj@redhat.com>
572 * MAINTAINERS (RL78, RX): Remove myself as maintainer.
574 2018-07-19 Nick Clifton <nickc@redhat.com>
576 * dwarf.c (read_cie): Free allocated memory before returning with
579 2018-07-16 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
581 * readelf.c (get_note_type): Fix typo in NT_PPC_TM_CVSX note
584 2018-07-16 Nick Clifton <nickc@redhat.com>
586 * README-how-to-make-a-release: Add note to check for new top
587 level files and add them to the src-release.sh script.
589 2018-07-14 Nick Clifton <nickc@redhat.com>
591 * README-how-to-make-a-release: Updated with corrections based on
592 the 2.31 release experience.
594 2018-07-12 Francois H. Theron <francois.theron@netronome.com>
596 * readelf.c (process_section_headers): Don't print section type
597 twice for --section-details.
599 2018-07-10 Alan Modra <amodra@gmail.com>
601 * testsuite/lib/binutils-common.exp (supports_gnu_unique): Return
604 2018-07-06 Nick Clifton <nickc@redhat.com>
606 * readelf.c (same_section): New function.
607 (print_gnu_build_attribute_description): Do not complain about
608 gaps that cross a section boundary.
610 2018-07-05 Nick Clifton <nickc@redhat.com>
612 * po/bg.po: Updated Bulgarian translation.
614 2018-07-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
616 * NEWS: Use command-line consistently when used in a compount word.
617 * doc/binutils.texi: Likewise and fix trailing whitespace on same
620 2018-06-26 Nick Clifton <nickc@redhat.com>
622 * po/sv.po: Updated Swedish translation.
623 * po/uk.po: Updated Ukranian translation.
625 2018-06-26 Nick Clifton <nickc@redhat.com>
627 * doc/binutils.texi: Fix spelling mistakes.
628 * README--how-to-make-a-release: Likewise.
630 2018-06-25 Tom Tromey <tom@tromey.com>
632 * dwarf-mode.el (dwarf-mode-syntax-table): New variable.
635 2018-06-24 Nick Clifton <nickc@redhat.com>
637 * README-how-to-make-a-release: Update with experiences from
639 * po/binutils.pot: Regenerate.
640 * configure: Regenerate.
642 2018-06-24 Nick Clifton <nickc@redhat.com>
645 * NEWS: Add marker for 2.31.
647 2018-06-21 Alan Modra <amodra@gmail.com>
649 * doc/Makefile.am (AUTOMAKE_OPTIONS): Add "foreign".
650 * doc/Makefile.in: Regenerate.
652 2018-06-19 Simon Marchi <simon.marchi@ericsson.com>
654 * configure.ac: Remove AC_PREREQ.
655 * doc/Makefile.am (AUTOMAKE_OPTIONS): Remove cygnus, add
656 info-in-builddir no-texinfo.tex.
657 * Makefile.in: Re-generate.
658 * aclocal.m4: Re-generate.
659 * config.in: Re-generate.
660 * configure: Re-generate.
661 * doc/Makefile.in: Re-generate.
663 2018-06-19 Andreas Schwab <schwab@suse.de>
665 * readelf.c (is_16bit_abs_reloc): Handle R_RISCV_SET16.
666 (is_8bit_abs_reloc): New function.
667 (is_6bit_abs_reloc): New function.
668 (is_6bit_inplace_sub_reloc): New function.
669 (apply_relocations): Use them. Handle 6-bit relocations.
671 2018-06-14 Faraz Shahbazker <Faraz.Shahbazker@mips.com>
673 * readelf.c (print_mips_ases): Add GINV extension.
675 2018-06-14 H.J. Lu <hongjiu.lu@intel.com>
678 * readelf.c (get_symbol_version_string): Check if the first
679 symbol version is base version.
681 2018-06-13 Scott Egerton <scott.egerton@imgtec.com>
682 Faraz Shahbazker <Faraz.Shahbazker@mips.com>
684 * readelf.c (print_mips_ases): Add CRC.
686 2018-06-13 Nick Clifton <nickc@redhat.com>
688 * doc/binutils.texi (objdump): Add missing closing square
689 parenthesis to listing of objcopy's command line options.
691 2018-06-11 Nick Clifton <nickc@redhat.com>
693 * po/es.po: Updated Spanish translation.
695 2018-06-01 H.J. Lu <hongjiu.lu@intel.com>
697 * configure: Regenerated.
699 2018-05-31 Alan Modra <amodra@gmail.com>
701 * testsuite/binutils-all/compress.exp (test_gnu_debuglink): Don't
702 set CC_FOR_TARGET. Run test non-native.
703 * testsuite/binutils-all/objdump.exp (test_build_id_debuglink):
705 (test_follow_debuglink): Run test non-native.
707 2018-05-30 Ant Bikeneev <ant.bikineev@gmail.com>
710 * ar.c (display_offsets): New variable.
711 (usage): Add description of 'O' operator.
712 (decode_option): Handle 'O' operator.
713 (print_descr): Pass display_offsets to print_arelt_descr.
714 * arsup.c: Update call to printy_arelt_descr.
715 * objdump.c: Likewise.
716 * bucomm.c (print_arelt_descr): If offsets parameter is true then
717 display offset of archive element within the archive.
718 * bucomm.h: Update prototype for print_arelt_descr.
719 * doc/binutils.texi: Update description of ar command.
720 * NEWS: Mention the new feature.
721 * testsuite/binutils-all/ar.exp: Add text of new feature.
723 2018-05-28 Alan Modra <amodra@gmail.com>
726 * testsuite/binutils-all/compress.exp (test_gnu_debuglink): Return
727 unsupported rather than fail on compile errors.
728 * testsuite/binutils-all/objdump.exp (test_build_id_debuglink):
729 Likewise. Save and restore CFLAGS_FOR_TARGET.
731 2018-05-18 Kito Cheng <kito.cheng@gmail.com>
733 * readelf.c (get_machine_flags): Handle EF_RISCV_RVE.
735 2018-05-18 John Darrington <john@darrington.wattle.id.au>
737 * readelf.c: Add support for s12z architecture.
738 * testsuite/lib/binutils-common.exp (is_elf_format): Excluse s12z
741 2018-05-15 Tamar Christina <tamar.christina@arm.com>
744 * doc/binutils.texi (-M): Document AArch64 options.
746 2018-05-15 Tamar Christina <tamar.christina@arm.com>
749 * doc/binutils.texi (-M): Document AArch64 options.
750 * NEWS: Document notes and warnings.
752 2018-05-15 Alan Modra <amodra@gmail.com>
754 * testsuite/lib/binutils-common.exp (is_elf_format): Add chorus,
755 cloudabi, fuchsia, kaos and nto. Merge netbsdelf* into *elf*,
756 and *uclinux* into *linux*.
757 * testsuite/binutils-all/objcopy.exp: Accept armeb for rel
758 strip-13 test, exclude arm-vxworks and arm-windiss.
760 2018-05-10 John Darrington <john@darrington.wattle.id.au>
762 * readelf.c (get_machine_name): EM_S12Z - handle new case.
764 2018-05-09 Alan Modra <amodra@gmail.com>
766 * od-macho.c (dump_unwind_encoding_x86): Fix typo in last patch.
768 2018-05-09 Sebastian Rasmussen <sebras@gmail.com>
770 * od-macho.c (dump_unwind_encoding_x86): Adjust for macro renaming.
772 2018-05-08 Alan Modra <amodra@gmail.com>
775 * objcopy.c (is_strip_section): Strip groups without a valid
778 2018-05-07 Alan Modra <amodra@gmail.com>
781 * objcopy.c (group_signature): Don't accept groups that use a
782 symbol table other than the one we've read.
784 2018-04-30 Francois H. Theron <francois.theron@netronome.com>
786 * readelf.c: Very basic support for EM_NFP and its section types.
787 * testsuite/binutils-all/nfp: New directory.
788 * testsuite/binutils-all/nfp/objdump.exp: New file. Run new
790 * testsuite/binutils-all/nfp/test2_ctx8.d: New file.
791 * testsuite/binutils-all/nfp/test2_no-pc_ctx4.d: New file.
792 * testsuite/binutils-all/nfp/test1.d: New file.
793 * testsuite/binutils-all/nfp/nfp6000.nffw: New file.
794 * testsuite/binutils-all/nfp/test2_nfp6000.nffw: New file.
795 * NEWS: Mention the new support.
797 2018-04-27 Maciej W. Rozycki <macro@mips.com>
799 * testsuite/lib/binutils-common.exp (match_target): New procedure.
800 * testsuite/lib/utils-lib.exp (run_dump_test): Use it in place
801 of `istarget' for matching with `target', `not-target', `skip'
802 and `not-skip' options.
804 2018-04-26 Nick Clifton <nickc@redhat.com>
806 * readelf.c (is_32bit_abs_reloc): Support R_PARISC_DIR32 as a
807 32-bit absolute reloc for the HPPA target.
808 * testsuite/binutils-all/note-5.d: New test.
809 * testsuite/binutils-all/note-5.s: Source file for new test.
810 * testsuite/binutils-all/objcopy.exp: Run new test.
812 2018-04-25 Christophe Lyon <christophe.lyon@st.com>
814 * testsuite/binutils-all/elfedit-2.d: Accept arm*-*-uclinuxfdpiceabi.
815 * testsuite/binutils-all/elfedit-3.d: Likewise.
816 * testsuite/binutils-all/objcopy.exp: Likewise.
817 * testsuite/binutils-all/strip-3.d: Likewise.
818 * testsuite/lib/binutils-common.exp: Likewise.
820 2018-04-25 Christophe Lyon <christophe.lyon@st.com>
821 Mickaël Guêné <mickael.guene@st.com>
823 * readelf.c (decode_ARM_machine_flags): Support EF_ARM_PIC.
824 (get_osabi_name): Support ELFOSABI_ARM_FDPIC.
826 2018-04-25 Alan Modra <amodra@gmail.com>
828 * testsuite/binutils-all/arm/objdump.exp: Remove arm-aout and
830 * testsuite/binutils-all/objcopy.exp: Likewise.
831 * testsuite/lib/binutils-common.exp: Likewise.
833 2018-04-18 Nick Clifton <nickc@redhat.com>
836 * dwarf.c (read_and_display_attr_value): Replace assertions with
837 test and warning message.
839 2018-04-18 Alan Modra <amodra@gmail.com>
841 * testsuite/lib/binutils-common.exp: Remove support for assorted
844 2018-04-17 Nick Clifton <nickc@redhat.com>
847 * readelf.c (print_symbol): If the width is zero, return straight
851 * dwarf.c (process_cu_tu_index): Test for a potential buffer
852 overrun before copying signature pointer.
854 2018-04-17 Alan Modra <amodra@gmail.com>
856 * readelf.c: Revert 2018-04-16 and 2018-04-11 changes.
858 2018-04-16 Alan Modra <amodra@gmail.com>
860 * readelf.c (get_machine_name): Correct typo.
862 2018-04-16 Alan Modra <amodra@gmail.com>
864 * configure.ac: Remove arm-epoc-pe support.
865 * dlltool.c: Likewise.
866 * configure: Regenerate.
868 2018-04-16 Alan Modra <amodra@gmail.com>
870 * testsuite/lib/binutils-common.exp: Remove sparc-aout and
873 2018-04-16 Alan Modra <amodra@gmail.com>
875 * testsuite/binutils-all/copy-2.d: Remove m68k-aout and m68k-coff
877 * testsuite/binutils-all/copy-3.d: Likewise.
878 * testsuite/binutils-all/objcopy.exp: Likewise.
879 * testsuite/lib/binutils-common.exp: Likewise.
881 2018-04-16 Alan Modra <amodra@gmail.com>
883 * testsuite/binutils-all/objcopy.exp: Remove sh5 and sh64 support.
885 2018-04-16 Alan Modra <amodra@gmail.com>
887 * testsuite/binutils-all/objcopy.exp: Remove w65 support.
889 2018-04-16 Alan Modra <amodra@gmail.com>
891 * testsuite/binutils-all/objdump.exp: Remove we32k support.
893 2018-04-16 Alan Modra <amodra@gmail.com>
895 * MAINTAINERS (Mark Kettenis): Move to past maintainers.
896 * testsuite/binutils-all/objdump.exp: Remove m88k support.
898 2018-04-16 Alan Modra <amodra@gmail.com>
900 * readelf.c: Remove i370 support.
901 * testsuite/binutils-all/objdump.exp: Likewise.
903 2018-04-16 Alan Modra <amodra@gmail.com>
905 * testsuite/binutils-all/objcopy.exp: Remove h8500 support.
906 * testsuite/lib/binutils-common.exp: Likewise.
908 2018-04-16 Alan Modra <amodra@gmail.com>
910 * testsuite/binutils-all/objcopy.exp: Remove h8300-coff support.
912 2018-04-16 Alan Modra <amodra@gmail.com>
914 * Makefile.am: Remove IEEE 695 support.
916 * doc/binutils.texi: Likewise.
917 * makefile.vms: Likewise.
918 * objcopy.c: Likewise.
919 * objdump.c: Likewise.
922 * Makefile.in: Regenerate.
923 * po/POTFILES.in: Regenerate.
925 2018-04-16 Alan Modra <amodra@gmail.com>
927 * testsuite/binutils-all/copy-2.d: Remove newsos3 support.
928 * testsuite/binutils-all/nm.exp: Likewise.
930 2018-04-16 Alan Modra <amodra@gmail.com>
932 * .gitignore: Remove netware support.
933 * Makefile.am: Likewise.
934 * configure.ac: Likewise.
935 * doc/Makefile.am: Likewise.
936 * doc/binutils.texi: Likewise.
937 * testsuite/binutils-all/nm.exp: Likewise.
940 * nlmheader.y: Delete.
941 * Makefile.in: Regenerate.
942 * configure: Regenerate.
943 * doc/Makefile.in: Regenerate.
944 * po/POTFILES.in: Regenerate.
946 2018-04-16 Alan Modra <amodra@gmail.com>
948 * testsuite/binutils-all/objdump.exp: Remove tahoe support.
950 2018-04-14 Alan Modra <amodra@gmail.com>
952 * readelf.c (get_machine_name): Revert 2018-04-11 change.
954 2018-04-12 Nick Clifton <nickc@redhat.com>
957 * readelf.c (process_dynamic_section): Correct dynamic string
958 table size calculation.
960 2018-04-11 Alan Modra <amodra@gmail.com>
962 * ieee.c: Remove i960 support.
963 * od-macho.c: Remove i860 support.
964 * readelf.c: Remove i860 and i960 support.
965 * testsuite/binutils-all/objcopy.exp: Likewise.
966 * testsuite/binutils-all/objdump.exp: Likewise.
967 * testsuite/lib/binutils-common.exp: Likewise.
969 2018-04-11 Maciej W. Rozycki <macro@mips.com>
971 * testsuite/lib/binutils-common.exp (is_elf_format): Also return
972 1 for `*-*-lynxos*' and `*-*-symbianelf*' targets.
974 2018-04-10 Alan Modra <amodra@gmail.com>
976 * testsuite/binutils-all/objcopy.exp (strip-14, strip-15): Choose
977 reloc=11 for pru and reloc=50 for nds32.
978 * testsuite/binutils-all/strip-15.d: Accept 0xb reloc number.
980 2018-04-09 Maciej W. Rozycki <macro@mips.com>
982 * testsuite/binutils-all/strip-15.d: New test.
983 * testsuite/binutils-all/strip-15rel.s: New test source.
984 * testsuite/binutils-all/strip-15rela.s: New test source.
985 * testsuite/binutils-all/strip-15mips64.s: New test source.
986 * testsuite/binutils-all/objcopy.exp: Run the new test.
988 2018-04-09 Maciej W. Rozycki <macro@mips.com>
990 * testsuite/binutils-all/strip-14.d: New test.
991 * testsuite/binutils-all/strip-14rel.s: New test source.
992 * testsuite/binutils-all/strip-14rela.s: New test source.
993 * testsuite/binutils-all/strip-14mips64.s: New test source.
994 * testsuite/binutils-all/objcopy.exp: Run the new test.
996 2018-04-06 Tom Tromey <tom@tromey.com>
998 * dwarf.c (read_and_display_attr_value): Add missing DW_LANG
999 constants from DWARF 5.
1001 2018-04-05 H.J. Lu <hongjiu.lu@intel.com>
1004 * configure: Regenerated.
1006 2018-04-05 Maciej W. Rozycki <macro@mips.com>
1008 * testsuite/binutils-all/strip-13mips64.s: Use `.dc.l' rather
1009 than `.dc.w' in second relocation.
1011 2018-04-05 Maciej W. Rozycki <macro@mips.com>
1013 * testsuite/binutils-all/strip-13.d: Also expect `unsupported
1014 relocation type 0x8f' error message.
1016 2018-04-05 Maciej W. Rozycki <macro@mips.com>
1018 * testsuite/binutils-all/strip-13.s: Rename to...
1019 * testsuite/binutils-all/strip-13rela.s: ... this.
1020 * testsuite/binutils-all/strip-13rel.s: New test source.
1021 * testsuite/binutils-all/strip-13mips64.s: New test source.
1022 * testsuite/binutils-all/strip-13.d: Remove `arm-*', `d10v-*',
1023 `dlx-*' and `xgate-*' from `not-target' list. Add `m6811-*' and
1024 `m68hc11-*' to `not-target' list.
1025 * testsuite/binutils-all/objcopy.exp: Switch between sources for
1028 2018-04-05 Maciej W. Rozycki <macro@mips.com>
1030 * testsuite/binutils-all/strip-13.s: Use 143 (0x8f) rather than
1031 241 (0xf1) for the relocation number and RELA addend.
1032 * testsuite/binutils-all/strip-13.d: Remove `hppa*-*' from the
1035 2018-04-04 John David Anglin <danglin@gcc.gnu.org>
1037 * MAINTAINERS: Update my e-mail address.
1039 2018-04-04 Nick Clifton <nickc@redhat.com>
1041 * MAINTAINERS: Move Jason Eckhardt to past maintainers section.
1043 2018-03-23 Nick Clifton <nickc@redhat.com>
1045 * readelf.c (get_symbol_for_build_attribute): Skip ARM mapping
1047 (print_gnu_build_attribute_description): If no file start symbol
1048 could be found, look for one two bytes into the file.
1049 * testsuite/binutils-all/note-4-64.s: Set the address of the file
1050 start symbol to two bytes into the file.
1051 * testsuite/binutils-all/note-4-32.s: Likewise.
1053 2018-03-21 H.J. Lu <hongjiu.lu@intel.com>
1055 * readelf.c (process_dynamic_section): Also dump DF_1_KMOD,
1056 DF_1_WEAKFILTER and DF_1_NOCOMMON.
1058 2018-03-20 Nick Clifton <nickc@redhat.com>
1060 * po/es.po: Updated Spanish translation.
1061 * po/ru.po: Updated Russian translation.
1063 2018-03-13 Nick Clifton <nickc@redhat.com>
1066 * stabs.c (pop_binincl): Fail if the file index is off the end of
1069 2018-03-13 Nick Clifton <nickc@redhat.com>
1072 * stabs.c (parse_number): Add p_end parameter and use it to check
1073 the validity of the pp parameter. Add checks to prevent walking
1074 off the end of the string buffer.
1075 (parse_stab_string): Likewise.
1076 (parse_stab_type): Likewise.
1077 (parse_stab_type_number): Likewise.
1078 (parse_stab_range_type): Likewise.
1079 (parse_stab_sun_builtin_type): Likewise.
1080 (parse_stab_sun_floating_type): Likewise.
1081 (parse_stab_enum_type): Likewise.
1082 (parse_stab_struct_type): Likewise.
1083 (parse_stab_baseclasses): Likewise.
1084 (parse_stab_struct_fields): Likewise.
1085 (parse_stab_cpp_abbrev): Likewise.
1086 (parse_stab_one_struct_field): Likewise.
1087 (parse_stab_members): Likewise.
1088 (parse_stab_tilde_field): Likewise.
1089 (parse_stab_array_type): Likewise.
1091 * parse_stab: Compute the end of the string and then pass it on to
1092 individual parser functions.
1094 2018-03-07 Paul Pluzhnikov <ppluzhnikov@google.com>
1097 * binutils/readelf.c (get_ver_flags): Expand buffer to avoid
1100 2018-03-07 Alan Modra <amodra@gmail.com>
1102 * configure.ac: Add objdump_private_desc_xcoff for rs6000.
1103 * configure: Regenerate.
1105 2018-03-05 H.J. Lu <hongjiu.lu@intel.com>
1108 * objdump.c (is_significant_symbol_name): Return TRUE for all
1110 (find_symbol_for_address): Replace linear search with binary
1111 search on dynamic relocations.
1113 2018-03-01 Nick Clifton <nickc@redhat.com>
1116 * dwarf.c (display_debug_ranges): Check that the offset loaded
1117 from the range_entry structure is valid.
1119 2018-03-01 Alan Modra <amodra@gmail.com>
1121 * configure.ac (ALL_LINGUAS): Add sr. Sort.
1122 * configure: Regenerate.
1124 2018-02-27 Nick Clifton <nickc@redhat.com>
1126 * po/pt.po: New Portuguese translation.
1127 * configure.ac (ALL_LINGUAS): Add pt.
1128 * configure: Regenerate.
1130 2018-02-27 Nick Clifton <nickc@redhat.com>
1133 * objcopy.c (copy_object): Check the error status after marking
1134 symbols used in relocations.
1135 * testsuite/binutils-all/strip-13.s: New test source file.
1136 * testsuite/binutils-all/strip-13.s: New test driver file.
1137 * testsuite/binutils-all/objcopy.exp: Run the new test.
1139 2018-02-26 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-23 Alan Modra <amodra@gmail.com>
1146 * testsuite/binutils-all/mips/mips-reginfo-n32.d,
1147 * testsuite/binutils-all/mips/mips-reginfo.d: Update.
1149 2018-02-20 Ronald Hoogenboom <hoogenboom30@zonnet.nl>
1151 * doc/binutils.texi (objcopy): Add missing closing square
1152 parenthesis to listing of objcopy's command line options.
1154 2018-02-19 Matthias Klose <doko@debian.org>
1156 * strings.c (long_options): Include-all-whitespace does not take
1159 2018-02-13 Alan Modra <amodra@gmail.com>
1162 * testsuite/binutils-all/group-7.s,
1163 * testsuite/binutils-all/group-7a.d,
1164 * testsuite/binutils-all/group-7b.d,
1165 * testsuite/binutils-all/group-7c.d: New tests.
1166 * testsuite/binutils-all/objcopy.exp: Run them.
1168 2018-02-08 Nick Clifton <nickc@redhat.com>
1171 * dwarf.c (load_separate_debug_file): Return early if the user is
1172 not interested in debug links.
1174 2018-02-06 Nick Clifton <nickc@redhat.com>
1177 * readelf.c (find_section): Replace assertion with test and return
1179 (find_section_by_address): Add test of section header table
1181 (find_section_by_type): Likewise.
1182 (find_section_in_set): Likewise.
1184 2018-02-05 Maciej W. Rozycki <macro@mips.com>
1186 * testsuite/binutils-all/mips/mips-reginfo.d: New test.
1187 * testsuite/binutils-all/mips/mips-reginfo-n32.d: New test.
1188 * testsuite/binutils-all/mips/mips-reginfo.s: New test source.
1189 * testsuite/binutils-all/mips/mips.exp: Run the new tests.
1191 2018-02-05 Maciej W. Rozycki <macro@mips.com>
1193 * testsuite/config/default.exp (binutils_run): Document
1194 `binutils_run_status'.
1195 * testsuite/lib/utils-lib.exp (default_binutils_run): Likewise,
1197 (run_dump_test): Add `error', `error_output', `warning' and
1198 `warning_output' options. Update documentation accordingly.
1200 2018-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
1202 * dwarf.c (dwarf_regnames_riscv): New register name table.
1203 (init_dwarf_regnames_riscv): New function.
1204 (init_dwarf_regnames): Add call to initialise RiscV register
1206 * dwarf.h (init_dwarf_regnames_riscv): Declare.
1207 * objdump.c (dump_dwarf): Add call to initialise RiscV register
1210 2018-02-01 Alan Modra <amodra@gmail.com>
1213 * objdump.c (load_specific_debug_section): Check for overflow
1214 when adding one to section size for a string section terminator.
1216 2018-01-30 Nick Clifton <nickc@redhat.com>
1219 * doc/binutils.texi (nm): Update description to point out that
1220 zero-initialized values can also be shown as type B, b, S or s
1221 since they can be stored in the BSS section.
1223 2018-01-30 Alan Modra <amodra@gmail.com>
1225 * objcopy.c (merge_gnu_build_notes): Use (bfd_vma) -1 as
1226 "artificially large" end address.
1228 2018-01-28 Nick Clifton <nickc@redhat.com>
1230 * README-how-to-make-a-release: Add note about checking gpg key
1231 and the results of gnupload.
1233 2018-01-27 Nick Clifton <nickc@redhat.com>
1235 * README-how-to-make-a-release: Add details on how to actually
1238 2018-01-26 Nick Clifton <nickc@redhat.com>
1240 * README-how-to-make-a-release: Add more details on updating
1243 2018-01-22 Maciej W. Rozycki <macro@mips.com>
1245 * doc/binutils.texi (objcopy): Fix a typo in `--rename-section'
1248 2018-01-22 Maciej W. Rozycki <macro@mips.com>
1250 * MAINTAINERS: Update my company e-mail address.
1252 2018-01-22 Nick Clifton <nickc@redhat.com>
1254 * po/sv.po: Updated Swedish translation.
1256 2018-01-18 Nick Clifton <nickc@redhat.com>
1258 * po/bg.po: Updated Bulgarian translation.
1260 2018-01-16 Joel Brobecker <brobecker@adacore.com>
1262 * README-how-to-make-a-release: Add reminder to update the
1263 branch name in gdbadmin's crontab on sourceware.
1265 2018-01-16 Joel Brobecker <brobecker@adacore.com>
1267 * README-how-to-make-a-release: Remove trailing spaces.
1269 2018-01-16 Nick Clifton <nickc@redhat.com>
1271 * po/fr.po: Updated French translation.
1273 2018-01-15 Nick Clifton <nickc@redhat.com>
1275 * po/uk.po: Updated Ukranian translation.
1277 2018-01-13 Nick Clifton <nickc@redhat.com>
1279 * README-how-to-make-a-release: Update notes.
1280 * po/binutils.pot: Regenerated.
1282 2018-01-13 Nick Clifton <nickc@redhat.com>
1284 * configure: Regenerate.
1286 2018-01-13 Nick Clifton <nickc@redhat.com>
1288 2.30 branch created.
1289 * NEWS: Add marker for 2.30.
1291 2018-01-12 Nick Clifton <nickc@redhat.com>
1293 * README-how-to-make-a-release: Add notes on how to make the
1294 branch and prelease snapshot.
1295 * BRANCHES: Add binutils-2_29-branch.
1297 2018-01-10 Nick Clifton <nickc@redhat.com>
1299 * MAINTAINERS: Note that it is now the configure.ac file and not
1300 the configure.in file that needs to be kept in sync with gcc.
1301 Add a note about sending patches for libiberty to gcc.
1303 2018-01-03 Nick Clifton <nickc@redhat.com>
1305 * objcopy.c (merge_gnu_build_notes): Add cast to maximum address
1308 2018-01-03 Nick Clifton <nickc@redhat.com>
1310 * objcopy.c (objcopy_internal_note): New structure.
1311 (gap_exists): New function.
1312 (is_open_note): New function.
1313 (is_func_note): New function.
1314 (is_64bit): New function.
1315 (merge_gnu_build_notes): Handle v3 notes. Do not merge
1316 if there are relocations against the notes.
1317 * readelf.c (get_note_type): Use short names for build attribute
1319 (print_symbol_for_build_attribute): Rename to
1320 get_symbol_for_build_attribute. Returns the found symbol rather
1322 (print_gnu_build_attribute_description): Maintain address ranges
1323 for function notes as well as global notes. Handle v3 notes.
1324 (print_gnu_build_attribute_name): Use more space for printing the
1326 * testsuite/binutils-all/note-2-32.s: Use .dc.l instead of .word.
1327 Eliminate symbol references in order to remove the need for
1329 * testsuite/binutils-all/note-2-64.s: Likewise.
1330 * testsuite/binutils-all/note-3-32.s: Add a size to the note_1
1332 * testsuite/binutils-all/note-3-64.s: Likewise.
1333 * testsuite/binutils-all/mips/mips-note-2r-n32.d: Update expected
1335 * testsuite/binutils-all/mips/mips-note-2r-n64.d: Likewise.
1336 * testsuite/binutils-all/mips/mips-note-2r.d: Likewise.
1337 * testsuite/binutils-all/note-2-32.d: Likewise.
1338 * testsuite/binutils-all/note-2-64.d: Likewise.
1339 * testsuite/binutils-all/note-3-32.d: Likewise.
1340 * testsuite/binutils-all/note-3-64.d: Likewise.
1341 * testsuite/binutils-all/note-4-64.s: New test. Checks v3 notes.
1342 * testsuite/binutils-all/note-4-32.s: New test.
1343 * testsuite/binutils-all/note-4-64.d: New test result file.
1344 * testsuite/binutils-all/note-4-32.d: New test result file.
1346 2018-01-03 Alan Modra <amodra@gmail.com>
1348 Update year range in copyright notice of all files.
1350 For older changes see ChangeLog-2017
1352 Copyright (C) 2018 Free Software Foundation, Inc.
1354 Copying and distribution of this file, with or without modification,
1355 are permitted in any medium without royalty provided the copyright
1356 notice and this notice are preserved.
1362 version-control: never