1 2018-11-06 H.J. Lu <hongjiu.lu@intel.com>
3 * doc/binutils.texi: Document --enable-x86-feature and
4 --disable-x86-feature options for elfedit.
5 * elfedit.c: Include "config.h" and <sys/mman.h>.
6 (enable_x86_features): New.
7 (disable_x86_features): Likewise.
8 (update_gnu_property): Likewise.
9 (elf_x86_feature): Likewise.
10 (process_file): Call update_gnu_property on ET_EXEC or ET_DYN
12 (command_line_switch): Add OPTION_ENABLE_X86_FEATURE and
13 OPTION_DISABLE_X86_FEATURE.
14 (options): Add--enable-x86-feature and --disable-x86-feature.
16 (main): Handle OPTION_ENABLE_X86_FEATURE and
17 OPTION_DISABLE_X86_FEATURE.
19 2018-11-03 H.J. Lu <hongjiu.lu@intel.com>
21 * elfedit.c (update_elf_header): Move EI_MAG? check to ...
22 (get_file_header): Here.
24 2018-11-02 H.J. Lu <hongjiu.lu@intel.com>
26 * configure.ac (AC_FUNC_MMAP): New.
27 * config.in: Regenerated.
28 * configure: Likewise.
30 2018-11-02 Alan Modra <amodra@gmail.com>
32 * readelf.c (process_section_headers): Don't warn on a zero
33 sh_info or sh_link for any reloc section in an executable or
34 shared library. Do warn for .rel.dyn/.rela.dyn in ET_REL.
36 2018-11-01 Thomas Preud'homme <thomas.preudhomme@linaro.org>
38 * testsuite/config/default.exp: Define LD, LDFLAGS and
40 * testsuite/lib/binutils-common.exp (check_shared_lib_support): Moved
42 (run_dump_test): Set ld to $LD.
44 2018-10-18 Nick Clifton <nickc@redhat.com>
46 * doc/binutils.texi (readelf): Document alternatives to the
47 --unwind option if it is not supported for the target
50 2018-10-16 Alan Modra <amodra@gmail.com>
53 * readelf.c (display_raw_attribute): Correct assertion.
55 2018-10-15 Alan Modra <amodra@gmail.com>
58 * addr2line.c (main): Exit with fatal error if bfd_init
59 returns an unexpected value.
60 * ar.c (main): Likewise.
61 * dlltool.c (identify_dll_for_implib): Likewise.
62 * nm.c (main): Likewise.
63 * objcopy.c (main): Likewise.
64 * objdump.c (main): Likewise.
65 * size.c (main): Likewise.
66 * strings.c (main): Likewise.
67 * windmc.c (main): Likewise.
68 * windres.c (main): Likewise.
70 2018-10-11 Jordan Rupprecht <rupprecht@google.com>
71 Nick Clifton <nickc@redhat.com>
73 * objcopy.c (copy_main): Issue a fata error if the
74 --keep-global-symbol(s) and the --globalize-symbol(s) options are
76 * doc/binutils.texi: Document that the two options are
78 * testsuite/binutils-all/copy-5.d: New test.
79 * testsuite/binutils-all/objcopy.exp: Run the new test.
81 2018-10-10 Helge Deller <deller@gmx.de>
82 Alan Modra <amodra@gmail.com>
84 * readelf.c (hppa_process_unwind): Don't use eh_addr_size to
85 calculate number of entries.
86 (slurp_hppa_unwind_table): Don't use eh_addr_size here either.
88 2018-10-10 Alan Modra <amodra@gmail.com>
90 * objdump.c (dump_dwarf): Set s12z eh_addr_size to 4.
92 2018-10-08 Andreas Schwab <schwab@suse.de>
94 * readelf.c (is_32bit_pcrel_reloc): Handle R_RISCV_32_PCREL.
96 2018-10-03 Nick Clifton <nickc@redhat.com>
98 * po/pt.po: Updated Portuguese translation.
99 * po/fr.po: Updated French translation.
101 2018-09-22 Alan Modra <amodra@gmail.com>
103 * readelf.c (apply_relocations): Don't return FALSE for warnings.
105 2018-09-20 Nelson Chu <nelson.chu1990@gmail.com>
107 * testsuite/binutils-all/objcopy.exp: Set the unsupported reloc number
108 from 215 to 255 for NDS32.
110 2018-09-17 H.J. Lu <hongjiu.lu@intel.com>
112 * objcopy.c (strip_specific_buffer): New.
113 (strip_unneeded_buffer): Likewise.
114 (keep_specific_buffer): Likewise.
115 (localize_specific_buffer): Likewise.
116 (globalize_specific_buffer): Likewise.
117 (keepglobal_specific_buffer): Likewise.
118 (weaken_specific_buffer): Likewise.
119 (add_specific_symbols): Add an argument to return pointer to
121 (copy_main): Update add_specific_symbols to update pointers to
122 allocated buffer. Free pointers to allocated buffer before
125 2018-09-17 Alan Modra <amodra@gmail.com>
127 * objcopy.c (handle_remove_section_option): Don't require a dot
128 after .rela and .rel to handle a possible relocation section.
129 * testsuite/binutils-all/remove-relocs-07.s,
130 * testsuite/binutils-all/remove-relocs-07.d,
131 * testsuite/binutils-all/remove-relocs-08.d: New tests.
132 * testsuite/binutils-all/remove-relocs-01.d,
133 * testsuite/binutils-all/remove-relocs-04.d,
134 * testsuite/binutils-all/remove-relocs-05.d,
135 * testsuite/binutils-all/remove-relocs-06.d: Exclude mips64-openbsd.
137 2018-09-17 Alan Modra <amodra@gmail.com>
139 * testsuite/lib/binutils-common.exp (is_som_format): New proc.
140 (run_dump_test): Correct target test for alternate .comm syntax.
141 (get_standard_section_names): Handle som format.
142 * testsuite/lib/utils-lib.exp (default_binutils_assemble_flags):
143 Correct target test for alternate .comm syntax.
145 2018-09-17 Alan Modra <amodra@gmail.com>
147 * testsuite/binutils-all/strip-13mips64.s: Add section flags
149 * testsuite/binutils-all/strip-13rel.s: Likewise.
150 * testsuite/binutils-all/strip-13rela.s: Likewise.
151 * testsuite/binutils-all/strip-14mips64.s: Likewise.
152 * testsuite/binutils-all/strip-14rel.s: Likewise.
153 * testsuite/binutils-all/strip-14rela.s: Likewise.
154 * testsuite/binutils-all/strip-15mips64.s: Likewise.
155 * testsuite/binutils-all/strip-15rel.s: Likewise.
156 * testsuite/binutils-all/strip-15rela.s: Likewise.
158 2018-09-17 Nick Clifton <nickc@redhat.com>
160 * testsuite/binutils-all/compress.exp: Rename second "objcopy
161 zlib-gnu compress debug sections 3" test to "objcopy zlib-gabi
162 compress debug sections 3" and use gabi object files instead
164 * testsuite/binutils-all/objcopy.exp: Add suffix to the names
165 of the "ELF group" tests.
166 * testsuite/binutils-all/readelf.exp (proc readelf_find_size):
167 Add an iteration parameter and include it in the name of the
168 test. Update callers to include an iteration count.
170 2018-09-15 Alan Modra <amodra@gmail.com>
172 * testsuite/binutils-all/add-symbol.d: Add "section_subst: no".
173 * testsuite/binutils-all/elfedit.exp: Don't set tempfile or copyfile.
174 * testsuite/binutils-all/symbols-1.d,
175 * testsuite/binutils-all/symbols-2.d,
176 * testsuite/binutils-all/symbols-3.d,
177 * testsuite/binutils-all/symbols-4.d: Quote '*' and '!'.
178 * testsuite/binutils-all/add-empty-section.d,
179 * testsuite/binutils-all/add-section.d,
180 * testsuite/binutils-all/elfedit.exp,
181 * testsuite/binutils-all/note-1.d,
182 * testsuite/binutils-all/pr23633.d: Add $subdir after $srcdir.
183 * testsuite/config/default.exp (AS, ASFLAGS): Define.
184 * testsuite/config/hppa.sed: Handle all common symbols.
185 * testsuite/lib/binutils-common.exp (run_dump_test): New proc,
186 merged from three other versions.
187 (slurp_options, file_contents, set_file_contents): Likewise.
188 (big_or_little_endian, get_standard_section_names): Likewise.
189 * testsuite/lib/utils-lib.exp (run_dump_test): Delete.
190 (slurp_options, proc file_contents): Delete.
191 (get_standard_section_names): Delete.
193 2018-09-15 Alan Modra <amodra@gmail.com>
195 * testsuite/binutils-all/copy-2.d,
196 * testsuite/binutils-all/copy-3.d,
197 * testsuite/binutils-all/copy-4.d,
198 * testsuite/binutils-all/elfedit-1.d,
199 * testsuite/binutils-all/note-1.d,
200 * testsuite/binutils-all/note-2-64.d,
201 * testsuite/binutils-all/strip-11.d,
202 * testsuite/binutils-all/strip-13.d,
203 * testsuite/binutils-all/strip-14.d,
204 * testsuite/binutils-all/testranges.d,
205 * testsuite/binutils-all/x86-64/pr23494a-x32.d,
206 * testsuite/binutils-all/x86-64/pr23494a.d,
207 * testsuite/binutils-all/x86-64/pr23494b-x32.d,
208 * testsuite/binutils-all/x86-64/pr23494b.d,
209 * testsuite/binutils-all/x86-64/pr23494c-x32.d,
210 * testsuite/binutils-all/x86-64/pr23494c.d,
211 * testsuite/binutils-all/x86-64/pr23494d-x32.d,
212 * testsuite/binutils-all/x86-64/pr23494d.d,
213 * testsuite/binutils-all/x86-64/pr23494e-x32.d,
214 * testsuite/binutils-all/x86-64/pr23494e.d,
215 * testsuite/lib/utils-lib.exp (run_dump_test): Replace not-target
216 and not-skip with notarget and noskip.
218 2018-09-15 Alan Modra <amodra@gmail.com>
220 * testsuite/binutils-all/group-7a.d,
221 * testsuite/binutils-all/group-7b.d,
222 * testsuite/binutils-all/group-7c.d,
223 * testsuite/binutils-all/symbols-1.d,
224 * testsuite/binutils-all/symbols-2.d,
225 * testsuite/binutils-all/symbols-3.d,
226 * testsuite/binutils-all/symbols-4.d: Remove DUMPPROG.
228 2018-09-14 Alan Modra <amodra@gmail.com>
231 * testsuite/binutils-all/pr23633.d: Don't fail when assembler
232 generates sections other than .text.
234 2018-09-13 H.J. Lu <hongjiu.lu@intel.com>
237 * testsuite/binutils-all/objcopy.exp: Run pr23633.
238 * testsuite/binutils-all/pr23633.d: New file.
239 * testsuite/binutils-all/pr23633.list: Likewise.
240 * testsuite/binutils-all/pr23633.s: Likewise.
242 2018-09-13 Nick Clifton <nickc@redhat.com>
245 * objcopy.c (add_specific_symbols): Do not free the buffer at the
248 2018-09-10 Alan Modra <amodra@gmail.com>
251 * objcopy.c (handle_remove_section_option): Consider .rela and
252 .rel sections for stripping directly as well as attached to the
253 associated section they relocate.
254 * doc/binutils.texi (remove-relocations): Specify that this
255 option removes non-dynamic relocation sections.
256 * testsuite/binutils-all/objcopy.exp
257 (objcopy_remove_relocations_from_executable): New test.
259 2018-09-03 Nick Clifton <nickc@redhat.com>
261 * po/ja.po: Updated Japanese translation.
263 2018-08-31 H.J. Lu <hongjiu.lu@intel.com>
265 * testsuite/binutils-all/readelf.s-64: Adjusted for
266 .note.gnu.property section.
267 * testsuite/binutils-all/strip-3.d: Also strip
268 .note.gnu.property section.
270 2018-08-31 H.J. Lu <hongjiu.lu@intel.com>
272 * testsuite/binutils-all/i386/compressed-1b.d: Pass
273 -mx86-used-note=no to assembler.
274 * testsuite/binutils-all/i386/compressed-1c.d: Likewise.
275 * testsuite/binutils-all/x86-64/compressed-1b.d: Likewise.
276 * testsuite/binutils-all/x86-64/compressed-1c.d: Likewise.
277 * testsuite/binutils-all/i386/empty.d: Pass -mx86-used-note=yes
278 to assembler and update expected output from "readelf -n".
279 * testsuite/binutils-all/i386/ibt.d: Likewise.
280 * testsuite/binutils-all/i386/pr21231a.d: Likewise.
281 * testsuite/binutils-all/i386/pr21231b.d: Likewise.
282 * testsuite/binutils-all/i386/shstk.d: Likewise.
283 * testsuite/binutils-all/x86-64/empty-x32.d: Likewise.
284 * testsuite/binutils-all/x86-64/empty.d: Likewise.
285 * testsuite/binutils-all/x86-64/ibt-x32.d: Likewise.
286 * testsuite/binutils-all/x86-64/ibt.d: Likewise.
287 * testsuite/binutils-all/x86-64/pr21231a.d: Likewise.
288 * testsuite/binutils-all/x86-64/pr21231b.d: Likewise.
289 * testsuite/binutils-all/x86-64/pr23494a-x32.d: Likewise.
290 * testsuite/binutils-all/x86-64/pr23494a.d: Likewise.
291 * testsuite/binutils-all/x86-64/pr23494b-x32.d: Likewise.
292 * testsuite/binutils-all/x86-64/pr23494b.d: Likewise.
293 * testsuite/binutils-all/x86-64/pr23494c-x32.d: Likewise.
294 * testsuite/binutils-all/x86-64/pr23494c.d: Likewise.
295 * testsuite/binutils-all/x86-64/pr23494d-x32.d: Likewise.
296 * testsuite/binutils-all/x86-64/pr23494d.d: Likewise.
297 * testsuite/binutils-all/x86-64/pr23494e-x32.d: Likewise.
298 * testsuite/binutils-all/x86-64/pr23494e.d: Likewise.
299 * testsuite/binutils-all/x86-64/shstk-x32.d: Likewise.
300 * testsuite/binutils-all/x86-64/shstk.d: Likewise.
302 2018-08-30 H.J. Lu <hongjiu.lu@intel.com>
304 * readelf.c (process_section_headers): Treat SHT_FINI_ARRAY and
305 SHT_PREINIT_ARRAY as relocatable sections.
307 2018-08-30 Chenghua Xu <paul.hua.gm@gmail.com>
309 * MAINTAINERS: Add myself as a MIPS port maintainer.
311 2018-08-29 Chenghua Xu <paul.hua.gm@gmail.com>
313 * NEWS: Mention Loongson 2K1000 proccessor support.
314 * readelf.c (get_machine_flags): Handle gs264e.
316 2018-08-29 Chenghua Xu <paul.hua.gm@gmail.com>
318 * NEWS: Mention Loongson 3A2000/3A3000 proccessor support.
319 * readelf.c (get_machine_flags): Handle gs464e.
321 2018-08-29 Chenghua Xu <paul.hua.gm@gmail.com>
323 * NEWS: Mention Loongson 3A1000 proccessor support.
324 * readelf.c (get_machine_flags): Rename loongson-3a to gs464.
325 (print_mips_isa_ext): Delete AFL_EXT_LOONGSON_3A.
327 2018-08-29 Chenghua Xu <paul.hua.gm@gmail.com>
329 * readelf.c (print_mips_ases): Add Loongson EXT2 extension.
331 2018-08-29 Chenghua Xu <paul.hua.gm@gmail.com>
333 * readelf.c (print_mips_ases): Add Loongson EXT extension.
335 2018-08-29 Chenghua Xu <paul.hua.gm@gmail.com>
337 * readelf.c (print_mips_ases): Add CAM extension.
339 2018-08-27 H.J. Lu <hongjiu.lu@intel.com>
341 * readelf.c (decode_x86_isa): Print <None> if bitmask only
342 contains the GNU_PROPERTY_X86_UINT32_VALID bit.
343 (decode_x86_feature_1): Likewise.
344 (decode_x86_feature_2): Likewise.
345 (print_gnu_property_note): Don't mask out the
346 GNU_PROPERTY_X86_UINT32_VALID bit.
347 * testsuite/binutils-all/i386/pr21231b.d: Updated.
348 * testsuite/binutils-all/x86-64/pr21231b.d: Likewise.
350 2018-08-27 H.J. Lu <hongjiu.lu@intel.com>
352 * readelf.c (decode_x86_compat_isa): Break multi-statement line.
353 (decode_x86_isa): Likewise.
354 (decode_x86_feature_2): Likewise.
356 2018-08-25 H.J. Lu <hongjiu.lu@intel.com>
359 * readelf.c (get_symbol_version_string): Return _("<corrupt>")
360 for corrupt symbol version info.
362 2018-08-24 H.J. Lu <hongjiu.lu@intel.com>
364 * readelf.c (decode_x86_compat_isa): New function.
365 (decode_x86_feature_2): Likewise.
366 (decode_x86_isa): Updated for new X86_ISA_1_XXX bits.
367 (decode_x86_feature): Renamed to ...
368 (decode_x86_feature_1): This. Remove the type argument.
369 (print_gnu_property_note): Handle X86_COMPAT_ISA_1_USED,
370 X86_COMPAT_ISA_1_NEEDED, X86_UINT32_AND_LO, X86_UINT32_AND_HI,
371 X86_UINT32_OR_LO, X86_UINT32_OR_HI, X86_UINT32_OR_AND_LO and
372 X86_UINT32_OR_AND_HI instead of X86_ISA_1_USED, X86_ISA_1_NEEDED
373 and X86_FEATURE_1_AND.
374 * testsuite/binutils-all/i386/pr21231b.s: Updated to the current
375 GNU_PROPERTY_X86_ISA_1_USED and GNU_PROPERTY_X86_ISA_1_NEEDED
377 * testsuite/binutils-all/x86-64/pr21231b.s: Likewise.
378 * testsuite/binutils-all/x86-64/pr23494a.s: Likewise.
379 * testsuite/binutils-all/x86-64/pr23494b.s: Likewise.
380 * testsuite/binutils-all/x86-64/pr23494c.s: Likewise.
381 * testsuite/binutils-all/i386/pr21231b.d: Updated.
382 * testsuite/binutils-all/x86-64/pr21231b.d: Likewise.
383 * testsuite/binutils-all/x86-64/pr23494a-x32.d: Likewise.
384 * testsuite/binutils-all/x86-64/pr23494a.d: Likewise.
385 * testsuite/binutils-all/x86-64/pr23494c-x32.d: Likewise.
386 * testsuite/binutils-all/x86-64/pr23494c.d: Likewise.
387 * testsuite/binutils-all/x86-64/pr23494d-x32.d: Likewise.
388 * testsuite/binutils-all/x86-64/pr23494d.d: Likewise.
389 * testsuite/binutils-all/x86-64/pr23494e-x32.d: Likewise.
390 * testsuite/binutils-all/x86-64/pr23494e.d: Likewise.
392 2018-08-24 H.J. Lu <hongjiu.lu@intel.com>
394 * readelf.c (print_gnu_property_note): Check the
395 GNU_PROPERTY_X86_UINT32_VALID bit for invalid GNU property note.
397 2018-08-23 Alan Modra <amodra@gmail.com>
399 * readelf.c (get_ppc64_symbol_other): Return NULL if st_other
400 field contains unrecognised or reserved values. Handle
403 2018-08-23 H.J. Lu <hongjiu.lu@intel.com>
406 * Makefile.am (development.exp): New target.
407 (EXTRA_DEJAGNU_SITE_CONFIG): New.
408 (DISTCLEANFILES): Add development.exp.
409 * Makefile.in: Regenerated.
410 * testsuite/binutils-all/objcopy.exp (strip_test): Call
411 prune_warnings to prune BFD output.
412 (strip_test_with_saving_a_symbol): Likewise.
413 (objcopy_test_without_global_symbol): Likewise.
414 * testsuite/lib/binutils-common.exp (prune_warnings_extra):
416 (prune_warnings): Likewise.
418 2018-08-23 H.J. Lu <hongjiu.lu@intel.com>
420 * README-how-to-make-a-release: Document setting "experimental"
423 2018-08-22 Alan Modra <amodra@gmail.com>
425 * readelf.c (process_file_header): Assign updated values from
426 section_header[0] fields to e_phnum, e_shnum and e_shstrndx
427 during printing of header. Correct e_shstrndx range check.
428 Remove unnecessary casts and use %u rather than %ld for
429 unsigned int header fields. Don't print a random %lx when
430 reporting an unknown EI_VERSION.
432 2018-08-21 Nick Clifton <nickc@redhat.com>
434 * MAINTAINERS: Note that Arnold Metselaar has retired as the z80
437 2018-08-21 L. Simon <l.simon@samsung.com>
440 * readelf.c (hppa_process_unwind): Only dump the unwind table if
441 the data was successfully read in.
443 2018-08-18 Alan Modra <amodra@gmail.com>
445 * testsuite/lib/binutils-common.exp (is_elf64): Use directory of
446 input file for readelf.out.
448 * testsuite/binutils-all/objcopy.exp (elf64): Set new variable
449 from first result of is_elf64 test.
450 (reloc_format): Set using is_rela.
451 (strip-13): Pass RELOC and ELF64 to assembler.
452 (strip-14, strip-15): Use elf64 rather than calling is_elf64 again.
453 * testsuite/binutils-all/strip-13.d: Run for more targets.
454 * testsuite/binutils-all/strip-13mips64.s: Use RELOC and set
456 * testsuite/binutils-all/strip-13rel.s: Use RELOC and ELF64.
457 Don't add _NONE reloc.
458 * testsuite/binutils-all/strip-13rela.s: Likewise.
460 2018-08-10 H.J. Lu <hongjiu.lu@intel.com>
463 * testsuite/binutils-all/x86-64/pr23494c.s: New file.
464 * testsuite/binutils-all/x86-64/pr23494e-x32.d: Likewise.
465 * testsuite/binutils-all/x86-64/pr23494e.d: Likewise.
467 2018-08-10 H.J. Lu <hongjiu.lu@intel.com>
469 * testsuite/binutils-all/x86-64/pr23494a-x32.d: Skip nacl
471 * testsuite/binutils-all/x86-64/pr23494a.d: Likewise.
472 * testsuite/binutils-all/x86-64/pr23494b-x32.d: Likewise.
473 * testsuite/binutils-all/x86-64/pr23494b.d: Likewise.
474 * testsuite/binutils-all/x86-64/pr23494c-x32.d: Likewise.
475 * testsuite/binutils-all/x86-64/pr23494c.d: Likewise.
476 * testsuite/binutils-all/x86-64/pr23494d-x32.d: Likewise.
477 * testsuite/binutils-all/x86-64/pr23494d.d: Likewise.
479 2018-08-08 H.J. Lu <hongjiu.lu@intel.com>
482 * testsuite/binutils-all/x86-64/pr23494a-x32.d: New file.
483 * testsuite/binutils-all/x86-64/pr23494a.d: Likewise.
484 * testsuite/binutils-all/x86-64/pr23494a.s: Likewise.
485 * testsuite/binutils-all/x86-64/pr23494b-x32.d: Likewise.
486 * testsuite/binutils-all/x86-64/pr23494b.d: Likewise.
487 * testsuite/binutils-all/x86-64/pr23494b.s: Likewise.
488 * testsuite/binutils-all/x86-64/pr23494c-x32.d: Likewise.
489 * testsuite/binutils-all/x86-64/pr23494c.d: Likewise.
490 * testsuite/binutils-all/x86-64/pr23494d-x32.d: Likewise.
491 * testsuite/binutils-all/x86-64/pr23494d.d: Likewise.
493 2018-08-08 Kevin Buettner <kevinb@redhat.com>
495 * dwarf.c (decode_location_expresion): Add case for
496 DW_OP_GNU_variable_value.
498 2018-08-06 Claudiu Zissulescu <claziss@synopsys.com>
500 * readelf.c (display_arc_attribute): Print Tag_ARC_ATR_version.
502 2018-08-03 Nick Clifton <nickc@redhat.com>
504 * objcopy.c (merge_gnu_build_notes): Delete empty notes. Merge
505 identical function notes.
507 2018-08-01 Nick Clifton <nickc@redhat.com>
509 * README-how-to-make-a-release: Add note about regenerating the
510 info files prior to the release.
512 2018-07-30 Andrew Jenner <andrew@codesourcery.com>
514 * MAINTAINERS (C-SKY): Add Yunhai Shang as co-maintainer.
516 2018-07-30 Andrew Jenner <andrew@codesourcery.com>
518 * MAINTAINERS (C-SKY): Add Lifang Xia as maintainer.
520 2018-07-30 Andrew Jenner <andrew@codesourcery.com>
522 * readelf.c: Include elf/csky.h.
523 (guess_is_rela): Handle EM_CSKY.
524 (dump_relocations): Likewise.
525 (get_machine_name): Likewise.
526 (is_32bit_abs_reloc): Likewise.
528 2018-07-25 Nick Clifton <nickc@redhat.com>
530 * rdcoff.c (parse_coff_struct_type): Free fields array upon early
532 (parse_coff_enum_type): Free names and vals arrays upon early
534 * rddbg.c (read_section_stabs_debugging_info): Free shandle and
535 strings and stabs arrays upon early exit.
536 * readelf.c (get_32bit_section_headers): Free shdrs structure upon
538 (get_64bit_section_headers): Likewise.
539 (get_32bit_elf_symbols): Generate an error if multiple symbol
540 table index sections are associated with the same symbol section.
541 (get_64bit_elf_symbols): Likewise.
542 (process_dynamic_section): Generate an error if there are multiple
543 dynamic symbol table sections, multiple dynamic string tables or
544 multiple dynamic symbol information sections.
546 2018-07-24 Nick Clifton <nickc@redhat.com>
548 * po/sv.po: Updated Swedish translation.
550 2018-07-24 Alan Modra <amodra@gmail.com>
553 * dwarf.c (display_formatted_table): Replace "what" parameter
554 with "is_dir". Expand messages. Fix capitalisation.
555 * testsuite/binutils-all/dw5.W: Update expected output.
557 2018-07-24 Alan Modra <amodra@gmail.com>
560 * elfcomm.h (struct archive_info): Rename uses_64bit_indicies
561 to uses_64bit_indices.
562 * elfcomm.c (setup_archive): Update uses of above.
563 * readelf.c (process_archive): Likewise.
564 (get_section_type_name): Rename indicies to indices.
565 (get_32bit_elf_symbols, get_64bit_elf_symbols): Likewise.
566 (process_section_groups): Likewise.
568 2018-07-20 Maciej W. Rozycki <macro@mips.com>
570 * MAINTAINERS: Update my e-mail address, downgrade to MIPS I-IV
573 2018-07-20 Nick Clifton <nickc@redhat.com>
575 * objcopy.c (add_specific_symbols): Free buffer on exit.
576 (add_redefine_syms_file): Close file handle on exit.
577 (copy_object): Close file handle on early exit.
578 Free buffer on early exit.
579 Free gaps buffers once they are no longer needed.
580 * dwarf.c (display_debug_frames): Free allocated memory on exit.
581 (load_separate_debug_info): Free allocate memory on early exit.
583 2018-07-20 Chenghua Xu <paul.hua.gm@gmail.com>
584 Maciej W. Rozycki <macro@mips.com>
586 * readelf.c (print_mips_ases): Add MMI extension.
588 2018-07-19 DJ Delorie <dj@redhat.com>
590 * MAINTAINERS (RL78, RX): Remove myself as maintainer.
592 2018-07-19 Nick Clifton <nickc@redhat.com>
594 * dwarf.c (read_cie): Free allocated memory before returning with
597 2018-07-16 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
599 * readelf.c (get_note_type): Fix typo in NT_PPC_TM_CVSX note
602 2018-07-16 Nick Clifton <nickc@redhat.com>
604 * README-how-to-make-a-release: Add note to check for new top
605 level files and add them to the src-release.sh script.
607 2018-07-14 Nick Clifton <nickc@redhat.com>
609 * README-how-to-make-a-release: Updated with corrections based on
610 the 2.31 release experience.
612 2018-07-12 Francois H. Theron <francois.theron@netronome.com>
614 * readelf.c (process_section_headers): Don't print section type
615 twice for --section-details.
617 2018-07-10 Alan Modra <amodra@gmail.com>
619 * testsuite/lib/binutils-common.exp (supports_gnu_unique): Return
622 2018-07-06 Nick Clifton <nickc@redhat.com>
624 * readelf.c (same_section): New function.
625 (print_gnu_build_attribute_description): Do not complain about
626 gaps that cross a section boundary.
628 2018-07-05 Nick Clifton <nickc@redhat.com>
630 * po/bg.po: Updated Bulgarian translation.
632 2018-07-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
634 * NEWS: Use command-line consistently when used in a compount word.
635 * doc/binutils.texi: Likewise and fix trailing whitespace on same
638 2018-06-26 Nick Clifton <nickc@redhat.com>
640 * po/sv.po: Updated Swedish translation.
641 * po/uk.po: Updated Ukranian translation.
643 2018-06-26 Nick Clifton <nickc@redhat.com>
645 * doc/binutils.texi: Fix spelling mistakes.
646 * README--how-to-make-a-release: Likewise.
648 2018-06-25 Tom Tromey <tom@tromey.com>
650 * dwarf-mode.el (dwarf-mode-syntax-table): New variable.
653 2018-06-24 Nick Clifton <nickc@redhat.com>
655 * README-how-to-make-a-release: Update with experiences from
657 * po/binutils.pot: Regenerate.
658 * configure: Regenerate.
660 2018-06-24 Nick Clifton <nickc@redhat.com>
663 * NEWS: Add marker for 2.31.
665 2018-06-21 Alan Modra <amodra@gmail.com>
667 * doc/Makefile.am (AUTOMAKE_OPTIONS): Add "foreign".
668 * doc/Makefile.in: Regenerate.
670 2018-06-19 Simon Marchi <simon.marchi@ericsson.com>
672 * configure.ac: Remove AC_PREREQ.
673 * doc/Makefile.am (AUTOMAKE_OPTIONS): Remove cygnus, add
674 info-in-builddir no-texinfo.tex.
675 * Makefile.in: Re-generate.
676 * aclocal.m4: Re-generate.
677 * config.in: Re-generate.
678 * configure: Re-generate.
679 * doc/Makefile.in: Re-generate.
681 2018-06-19 Andreas Schwab <schwab@suse.de>
683 * readelf.c (is_16bit_abs_reloc): Handle R_RISCV_SET16.
684 (is_8bit_abs_reloc): New function.
685 (is_6bit_abs_reloc): New function.
686 (is_6bit_inplace_sub_reloc): New function.
687 (apply_relocations): Use them. Handle 6-bit relocations.
689 2018-06-14 Faraz Shahbazker <Faraz.Shahbazker@mips.com>
691 * readelf.c (print_mips_ases): Add GINV extension.
693 2018-06-14 H.J. Lu <hongjiu.lu@intel.com>
696 * readelf.c (get_symbol_version_string): Check if the first
697 symbol version is base version.
699 2018-06-13 Scott Egerton <scott.egerton@imgtec.com>
700 Faraz Shahbazker <Faraz.Shahbazker@mips.com>
702 * readelf.c (print_mips_ases): Add CRC.
704 2018-06-13 Nick Clifton <nickc@redhat.com>
706 * doc/binutils.texi (objdump): Add missing closing square
707 parenthesis to listing of objcopy's command line options.
709 2018-06-11 Nick Clifton <nickc@redhat.com>
711 * po/es.po: Updated Spanish translation.
713 2018-06-01 H.J. Lu <hongjiu.lu@intel.com>
715 * configure: Regenerated.
717 2018-05-31 Alan Modra <amodra@gmail.com>
719 * testsuite/binutils-all/compress.exp (test_gnu_debuglink): Don't
720 set CC_FOR_TARGET. Run test non-native.
721 * testsuite/binutils-all/objdump.exp (test_build_id_debuglink):
723 (test_follow_debuglink): Run test non-native.
725 2018-05-30 Ant Bikeneev <ant.bikineev@gmail.com>
728 * ar.c (display_offsets): New variable.
729 (usage): Add description of 'O' operator.
730 (decode_option): Handle 'O' operator.
731 (print_descr): Pass display_offsets to print_arelt_descr.
732 * arsup.c: Update call to printy_arelt_descr.
733 * objdump.c: Likewise.
734 * bucomm.c (print_arelt_descr): If offsets parameter is true then
735 display offset of archive element within the archive.
736 * bucomm.h: Update prototype for print_arelt_descr.
737 * doc/binutils.texi: Update description of ar command.
738 * NEWS: Mention the new feature.
739 * testsuite/binutils-all/ar.exp: Add text of new feature.
741 2018-05-28 Alan Modra <amodra@gmail.com>
744 * testsuite/binutils-all/compress.exp (test_gnu_debuglink): Return
745 unsupported rather than fail on compile errors.
746 * testsuite/binutils-all/objdump.exp (test_build_id_debuglink):
747 Likewise. Save and restore CFLAGS_FOR_TARGET.
749 2018-05-18 Kito Cheng <kito.cheng@gmail.com>
751 * readelf.c (get_machine_flags): Handle EF_RISCV_RVE.
753 2018-05-18 John Darrington <john@darrington.wattle.id.au>
755 * readelf.c: Add support for s12z architecture.
756 * testsuite/lib/binutils-common.exp (is_elf_format): Excluse s12z
759 2018-05-15 Tamar Christina <tamar.christina@arm.com>
762 * doc/binutils.texi (-M): Document AArch64 options.
764 2018-05-15 Tamar Christina <tamar.christina@arm.com>
767 * doc/binutils.texi (-M): Document AArch64 options.
768 * NEWS: Document notes and warnings.
770 2018-05-15 Alan Modra <amodra@gmail.com>
772 * testsuite/lib/binutils-common.exp (is_elf_format): Add chorus,
773 cloudabi, fuchsia, kaos and nto. Merge netbsdelf* into *elf*,
774 and *uclinux* into *linux*.
775 * testsuite/binutils-all/objcopy.exp: Accept armeb for rel
776 strip-13 test, exclude arm-vxworks and arm-windiss.
778 2018-05-10 John Darrington <john@darrington.wattle.id.au>
780 * readelf.c (get_machine_name): EM_S12Z - handle new case.
782 2018-05-09 Alan Modra <amodra@gmail.com>
784 * od-macho.c (dump_unwind_encoding_x86): Fix typo in last patch.
786 2018-05-09 Sebastian Rasmussen <sebras@gmail.com>
788 * od-macho.c (dump_unwind_encoding_x86): Adjust for macro renaming.
790 2018-05-08 Alan Modra <amodra@gmail.com>
793 * objcopy.c (is_strip_section): Strip groups without a valid
796 2018-05-07 Alan Modra <amodra@gmail.com>
799 * objcopy.c (group_signature): Don't accept groups that use a
800 symbol table other than the one we've read.
802 2018-04-30 Francois H. Theron <francois.theron@netronome.com>
804 * readelf.c: Very basic support for EM_NFP and its section types.
805 * testsuite/binutils-all/nfp: New directory.
806 * testsuite/binutils-all/nfp/objdump.exp: New file. Run new
808 * testsuite/binutils-all/nfp/test2_ctx8.d: New file.
809 * testsuite/binutils-all/nfp/test2_no-pc_ctx4.d: New file.
810 * testsuite/binutils-all/nfp/test1.d: New file.
811 * testsuite/binutils-all/nfp/nfp6000.nffw: New file.
812 * testsuite/binutils-all/nfp/test2_nfp6000.nffw: New file.
813 * NEWS: Mention the new support.
815 2018-04-27 Maciej W. Rozycki <macro@mips.com>
817 * testsuite/lib/binutils-common.exp (match_target): New procedure.
818 * testsuite/lib/utils-lib.exp (run_dump_test): Use it in place
819 of `istarget' for matching with `target', `not-target', `skip'
820 and `not-skip' options.
822 2018-04-26 Nick Clifton <nickc@redhat.com>
824 * readelf.c (is_32bit_abs_reloc): Support R_PARISC_DIR32 as a
825 32-bit absolute reloc for the HPPA target.
826 * testsuite/binutils-all/note-5.d: New test.
827 * testsuite/binutils-all/note-5.s: Source file for new test.
828 * testsuite/binutils-all/objcopy.exp: Run new test.
830 2018-04-25 Christophe Lyon <christophe.lyon@st.com>
832 * testsuite/binutils-all/elfedit-2.d: Accept arm*-*-uclinuxfdpiceabi.
833 * testsuite/binutils-all/elfedit-3.d: Likewise.
834 * testsuite/binutils-all/objcopy.exp: Likewise.
835 * testsuite/binutils-all/strip-3.d: Likewise.
836 * testsuite/lib/binutils-common.exp: Likewise.
838 2018-04-25 Christophe Lyon <christophe.lyon@st.com>
839 Mickaël Guêné <mickael.guene@st.com>
841 * readelf.c (decode_ARM_machine_flags): Support EF_ARM_PIC.
842 (get_osabi_name): Support ELFOSABI_ARM_FDPIC.
844 2018-04-25 Alan Modra <amodra@gmail.com>
846 * testsuite/binutils-all/arm/objdump.exp: Remove arm-aout and
848 * testsuite/binutils-all/objcopy.exp: Likewise.
849 * testsuite/lib/binutils-common.exp: Likewise.
851 2018-04-18 Nick Clifton <nickc@redhat.com>
854 * dwarf.c (read_and_display_attr_value): Replace assertions with
855 test and warning message.
857 2018-04-18 Alan Modra <amodra@gmail.com>
859 * testsuite/lib/binutils-common.exp: Remove support for assorted
862 2018-04-17 Nick Clifton <nickc@redhat.com>
865 * readelf.c (print_symbol): If the width is zero, return straight
869 * dwarf.c (process_cu_tu_index): Test for a potential buffer
870 overrun before copying signature pointer.
872 2018-04-17 Alan Modra <amodra@gmail.com>
874 * readelf.c: Revert 2018-04-16 and 2018-04-11 changes.
876 2018-04-16 Alan Modra <amodra@gmail.com>
878 * readelf.c (get_machine_name): Correct typo.
880 2018-04-16 Alan Modra <amodra@gmail.com>
882 * configure.ac: Remove arm-epoc-pe support.
883 * dlltool.c: Likewise.
884 * configure: Regenerate.
886 2018-04-16 Alan Modra <amodra@gmail.com>
888 * testsuite/lib/binutils-common.exp: Remove sparc-aout and
891 2018-04-16 Alan Modra <amodra@gmail.com>
893 * testsuite/binutils-all/copy-2.d: Remove m68k-aout and m68k-coff
895 * testsuite/binutils-all/copy-3.d: Likewise.
896 * testsuite/binutils-all/objcopy.exp: Likewise.
897 * testsuite/lib/binutils-common.exp: Likewise.
899 2018-04-16 Alan Modra <amodra@gmail.com>
901 * testsuite/binutils-all/objcopy.exp: Remove sh5 and sh64 support.
903 2018-04-16 Alan Modra <amodra@gmail.com>
905 * testsuite/binutils-all/objcopy.exp: Remove w65 support.
907 2018-04-16 Alan Modra <amodra@gmail.com>
909 * testsuite/binutils-all/objdump.exp: Remove we32k support.
911 2018-04-16 Alan Modra <amodra@gmail.com>
913 * MAINTAINERS (Mark Kettenis): Move to past maintainers.
914 * testsuite/binutils-all/objdump.exp: Remove m88k support.
916 2018-04-16 Alan Modra <amodra@gmail.com>
918 * readelf.c: Remove i370 support.
919 * testsuite/binutils-all/objdump.exp: Likewise.
921 2018-04-16 Alan Modra <amodra@gmail.com>
923 * testsuite/binutils-all/objcopy.exp: Remove h8500 support.
924 * testsuite/lib/binutils-common.exp: Likewise.
926 2018-04-16 Alan Modra <amodra@gmail.com>
928 * testsuite/binutils-all/objcopy.exp: Remove h8300-coff support.
930 2018-04-16 Alan Modra <amodra@gmail.com>
932 * Makefile.am: Remove IEEE 695 support.
934 * doc/binutils.texi: Likewise.
935 * makefile.vms: Likewise.
936 * objcopy.c: Likewise.
937 * objdump.c: Likewise.
940 * Makefile.in: Regenerate.
941 * po/POTFILES.in: Regenerate.
943 2018-04-16 Alan Modra <amodra@gmail.com>
945 * testsuite/binutils-all/copy-2.d: Remove newsos3 support.
946 * testsuite/binutils-all/nm.exp: Likewise.
948 2018-04-16 Alan Modra <amodra@gmail.com>
950 * .gitignore: Remove netware support.
951 * Makefile.am: Likewise.
952 * configure.ac: Likewise.
953 * doc/Makefile.am: Likewise.
954 * doc/binutils.texi: Likewise.
955 * testsuite/binutils-all/nm.exp: Likewise.
958 * nlmheader.y: Delete.
959 * Makefile.in: Regenerate.
960 * configure: Regenerate.
961 * doc/Makefile.in: Regenerate.
962 * po/POTFILES.in: Regenerate.
964 2018-04-16 Alan Modra <amodra@gmail.com>
966 * testsuite/binutils-all/objdump.exp: Remove tahoe support.
968 2018-04-14 Alan Modra <amodra@gmail.com>
970 * readelf.c (get_machine_name): Revert 2018-04-11 change.
972 2018-04-12 Nick Clifton <nickc@redhat.com>
975 * readelf.c (process_dynamic_section): Correct dynamic string
976 table size calculation.
978 2018-04-11 Alan Modra <amodra@gmail.com>
980 * ieee.c: Remove i960 support.
981 * od-macho.c: Remove i860 support.
982 * readelf.c: Remove i860 and i960 support.
983 * testsuite/binutils-all/objcopy.exp: Likewise.
984 * testsuite/binutils-all/objdump.exp: Likewise.
985 * testsuite/lib/binutils-common.exp: Likewise.
987 2018-04-11 Maciej W. Rozycki <macro@mips.com>
989 * testsuite/lib/binutils-common.exp (is_elf_format): Also return
990 1 for `*-*-lynxos*' and `*-*-symbianelf*' targets.
992 2018-04-10 Alan Modra <amodra@gmail.com>
994 * testsuite/binutils-all/objcopy.exp (strip-14, strip-15): Choose
995 reloc=11 for pru and reloc=50 for nds32.
996 * testsuite/binutils-all/strip-15.d: Accept 0xb reloc number.
998 2018-04-09 Maciej W. Rozycki <macro@mips.com>
1000 * testsuite/binutils-all/strip-15.d: New test.
1001 * testsuite/binutils-all/strip-15rel.s: New test source.
1002 * testsuite/binutils-all/strip-15rela.s: New test source.
1003 * testsuite/binutils-all/strip-15mips64.s: New test source.
1004 * testsuite/binutils-all/objcopy.exp: Run the new test.
1006 2018-04-09 Maciej W. Rozycki <macro@mips.com>
1008 * testsuite/binutils-all/strip-14.d: New test.
1009 * testsuite/binutils-all/strip-14rel.s: New test source.
1010 * testsuite/binutils-all/strip-14rela.s: New test source.
1011 * testsuite/binutils-all/strip-14mips64.s: New test source.
1012 * testsuite/binutils-all/objcopy.exp: Run the new test.
1014 2018-04-06 Tom Tromey <tom@tromey.com>
1016 * dwarf.c (read_and_display_attr_value): Add missing DW_LANG
1017 constants from DWARF 5.
1019 2018-04-05 H.J. Lu <hongjiu.lu@intel.com>
1022 * configure: Regenerated.
1024 2018-04-05 Maciej W. Rozycki <macro@mips.com>
1026 * testsuite/binutils-all/strip-13mips64.s: Use `.dc.l' rather
1027 than `.dc.w' in second relocation.
1029 2018-04-05 Maciej W. Rozycki <macro@mips.com>
1031 * testsuite/binutils-all/strip-13.d: Also expect `unsupported
1032 relocation type 0x8f' error message.
1034 2018-04-05 Maciej W. Rozycki <macro@mips.com>
1036 * testsuite/binutils-all/strip-13.s: Rename to...
1037 * testsuite/binutils-all/strip-13rela.s: ... this.
1038 * testsuite/binutils-all/strip-13rel.s: New test source.
1039 * testsuite/binutils-all/strip-13mips64.s: New test source.
1040 * testsuite/binutils-all/strip-13.d: Remove `arm-*', `d10v-*',
1041 `dlx-*' and `xgate-*' from `not-target' list. Add `m6811-*' and
1042 `m68hc11-*' to `not-target' list.
1043 * testsuite/binutils-all/objcopy.exp: Switch between sources for
1046 2018-04-05 Maciej W. Rozycki <macro@mips.com>
1048 * testsuite/binutils-all/strip-13.s: Use 143 (0x8f) rather than
1049 241 (0xf1) for the relocation number and RELA addend.
1050 * testsuite/binutils-all/strip-13.d: Remove `hppa*-*' from the
1053 2018-04-04 John David Anglin <danglin@gcc.gnu.org>
1055 * MAINTAINERS: Update my e-mail address.
1057 2018-04-04 Nick Clifton <nickc@redhat.com>
1059 * MAINTAINERS: Move Jason Eckhardt to past maintainers section.
1061 2018-03-23 Nick Clifton <nickc@redhat.com>
1063 * readelf.c (get_symbol_for_build_attribute): Skip ARM mapping
1065 (print_gnu_build_attribute_description): If no file start symbol
1066 could be found, look for one two bytes into the file.
1067 * testsuite/binutils-all/note-4-64.s: Set the address of the file
1068 start symbol to two bytes into the file.
1069 * testsuite/binutils-all/note-4-32.s: Likewise.
1071 2018-03-21 H.J. Lu <hongjiu.lu@intel.com>
1073 * readelf.c (process_dynamic_section): Also dump DF_1_KMOD,
1074 DF_1_WEAKFILTER and DF_1_NOCOMMON.
1076 2018-03-20 Nick Clifton <nickc@redhat.com>
1078 * po/es.po: Updated Spanish translation.
1079 * po/ru.po: Updated Russian translation.
1081 2018-03-13 Nick Clifton <nickc@redhat.com>
1084 * stabs.c (pop_binincl): Fail if the file index is off the end of
1087 2018-03-13 Nick Clifton <nickc@redhat.com>
1090 * stabs.c (parse_number): Add p_end parameter and use it to check
1091 the validity of the pp parameter. Add checks to prevent walking
1092 off the end of the string buffer.
1093 (parse_stab_string): Likewise.
1094 (parse_stab_type): Likewise.
1095 (parse_stab_type_number): Likewise.
1096 (parse_stab_range_type): Likewise.
1097 (parse_stab_sun_builtin_type): Likewise.
1098 (parse_stab_sun_floating_type): Likewise.
1099 (parse_stab_enum_type): Likewise.
1100 (parse_stab_struct_type): Likewise.
1101 (parse_stab_baseclasses): Likewise.
1102 (parse_stab_struct_fields): Likewise.
1103 (parse_stab_cpp_abbrev): Likewise.
1104 (parse_stab_one_struct_field): Likewise.
1105 (parse_stab_members): Likewise.
1106 (parse_stab_tilde_field): Likewise.
1107 (parse_stab_array_type): Likewise.
1109 * parse_stab: Compute the end of the string and then pass it on to
1110 individual parser functions.
1112 2018-03-07 Paul Pluzhnikov <ppluzhnikov@google.com>
1115 * binutils/readelf.c (get_ver_flags): Expand buffer to avoid
1118 2018-03-07 Alan Modra <amodra@gmail.com>
1120 * configure.ac: Add objdump_private_desc_xcoff for rs6000.
1121 * configure: Regenerate.
1123 2018-03-05 H.J. Lu <hongjiu.lu@intel.com>
1126 * objdump.c (is_significant_symbol_name): Return TRUE for all
1128 (find_symbol_for_address): Replace linear search with binary
1129 search on dynamic relocations.
1131 2018-03-01 Nick Clifton <nickc@redhat.com>
1134 * dwarf.c (display_debug_ranges): Check that the offset loaded
1135 from the range_entry structure is valid.
1137 2018-03-01 Alan Modra <amodra@gmail.com>
1139 * configure.ac (ALL_LINGUAS): Add sr. Sort.
1140 * configure: Regenerate.
1142 2018-02-27 Nick Clifton <nickc@redhat.com>
1144 * po/pt.po: New Portuguese translation.
1145 * configure.ac (ALL_LINGUAS): Add pt.
1146 * configure: Regenerate.
1148 2018-02-27 Nick Clifton <nickc@redhat.com>
1151 * objcopy.c (copy_object): Check the error status after marking
1152 symbols used in relocations.
1153 * testsuite/binutils-all/strip-13.s: New test source file.
1154 * testsuite/binutils-all/strip-13.s: New test driver file.
1155 * testsuite/binutils-all/objcopy.exp: Run the new test.
1157 2018-02-26 Alan Modra <amodra@gmail.com>
1159 * testsuite/binutils-all/mips/mips-reginfo-n32.d,
1160 * testsuite/binutils-all/mips/mips-reginfo.d: Update.
1162 2018-02-23 Alan Modra <amodra@gmail.com>
1164 * testsuite/binutils-all/mips/mips-reginfo-n32.d,
1165 * testsuite/binutils-all/mips/mips-reginfo.d: Update.
1167 2018-02-20 Ronald Hoogenboom <hoogenboom30@zonnet.nl>
1169 * doc/binutils.texi (objcopy): Add missing closing square
1170 parenthesis to listing of objcopy's command line options.
1172 2018-02-19 Matthias Klose <doko@debian.org>
1174 * strings.c (long_options): Include-all-whitespace does not take
1177 2018-02-13 Alan Modra <amodra@gmail.com>
1180 * testsuite/binutils-all/group-7.s,
1181 * testsuite/binutils-all/group-7a.d,
1182 * testsuite/binutils-all/group-7b.d,
1183 * testsuite/binutils-all/group-7c.d: New tests.
1184 * testsuite/binutils-all/objcopy.exp: Run them.
1186 2018-02-08 Nick Clifton <nickc@redhat.com>
1189 * dwarf.c (load_separate_debug_file): Return early if the user is
1190 not interested in debug links.
1192 2018-02-06 Nick Clifton <nickc@redhat.com>
1195 * readelf.c (find_section): Replace assertion with test and return
1197 (find_section_by_address): Add test of section header table
1199 (find_section_by_type): Likewise.
1200 (find_section_in_set): Likewise.
1202 2018-02-05 Maciej W. Rozycki <macro@mips.com>
1204 * testsuite/binutils-all/mips/mips-reginfo.d: New test.
1205 * testsuite/binutils-all/mips/mips-reginfo-n32.d: New test.
1206 * testsuite/binutils-all/mips/mips-reginfo.s: New test source.
1207 * testsuite/binutils-all/mips/mips.exp: Run the new tests.
1209 2018-02-05 Maciej W. Rozycki <macro@mips.com>
1211 * testsuite/config/default.exp (binutils_run): Document
1212 `binutils_run_status'.
1213 * testsuite/lib/utils-lib.exp (default_binutils_run): Likewise,
1215 (run_dump_test): Add `error', `error_output', `warning' and
1216 `warning_output' options. Update documentation accordingly.
1218 2018-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
1220 * dwarf.c (dwarf_regnames_riscv): New register name table.
1221 (init_dwarf_regnames_riscv): New function.
1222 (init_dwarf_regnames): Add call to initialise RiscV register
1224 * dwarf.h (init_dwarf_regnames_riscv): Declare.
1225 * objdump.c (dump_dwarf): Add call to initialise RiscV register
1228 2018-02-01 Alan Modra <amodra@gmail.com>
1231 * objdump.c (load_specific_debug_section): Check for overflow
1232 when adding one to section size for a string section terminator.
1234 2018-01-30 Nick Clifton <nickc@redhat.com>
1237 * doc/binutils.texi (nm): Update description to point out that
1238 zero-initialized values can also be shown as type B, b, S or s
1239 since they can be stored in the BSS section.
1241 2018-01-30 Alan Modra <amodra@gmail.com>
1243 * objcopy.c (merge_gnu_build_notes): Use (bfd_vma) -1 as
1244 "artificially large" end address.
1246 2018-01-28 Nick Clifton <nickc@redhat.com>
1248 * README-how-to-make-a-release: Add note about checking gpg key
1249 and the results of gnupload.
1251 2018-01-27 Nick Clifton <nickc@redhat.com>
1253 * README-how-to-make-a-release: Add details on how to actually
1256 2018-01-26 Nick Clifton <nickc@redhat.com>
1258 * README-how-to-make-a-release: Add more details on updating
1261 2018-01-22 Maciej W. Rozycki <macro@mips.com>
1263 * doc/binutils.texi (objcopy): Fix a typo in `--rename-section'
1266 2018-01-22 Maciej W. Rozycki <macro@mips.com>
1268 * MAINTAINERS: Update my company e-mail address.
1270 2018-01-22 Nick Clifton <nickc@redhat.com>
1272 * po/sv.po: Updated Swedish translation.
1274 2018-01-18 Nick Clifton <nickc@redhat.com>
1276 * po/bg.po: Updated Bulgarian translation.
1278 2018-01-16 Joel Brobecker <brobecker@adacore.com>
1280 * README-how-to-make-a-release: Add reminder to update the
1281 branch name in gdbadmin's crontab on sourceware.
1283 2018-01-16 Joel Brobecker <brobecker@adacore.com>
1285 * README-how-to-make-a-release: Remove trailing spaces.
1287 2018-01-16 Nick Clifton <nickc@redhat.com>
1289 * po/fr.po: Updated French translation.
1291 2018-01-15 Nick Clifton <nickc@redhat.com>
1293 * po/uk.po: Updated Ukranian translation.
1295 2018-01-13 Nick Clifton <nickc@redhat.com>
1297 * README-how-to-make-a-release: Update notes.
1298 * po/binutils.pot: Regenerated.
1300 2018-01-13 Nick Clifton <nickc@redhat.com>
1302 * configure: Regenerate.
1304 2018-01-13 Nick Clifton <nickc@redhat.com>
1306 2.30 branch created.
1307 * NEWS: Add marker for 2.30.
1309 2018-01-12 Nick Clifton <nickc@redhat.com>
1311 * README-how-to-make-a-release: Add notes on how to make the
1312 branch and prelease snapshot.
1313 * BRANCHES: Add binutils-2_29-branch.
1315 2018-01-10 Nick Clifton <nickc@redhat.com>
1317 * MAINTAINERS: Note that it is now the configure.ac file and not
1318 the configure.in file that needs to be kept in sync with gcc.
1319 Add a note about sending patches for libiberty to gcc.
1321 2018-01-03 Nick Clifton <nickc@redhat.com>
1323 * objcopy.c (merge_gnu_build_notes): Add cast to maximum address
1326 2018-01-03 Nick Clifton <nickc@redhat.com>
1328 * objcopy.c (objcopy_internal_note): New structure.
1329 (gap_exists): New function.
1330 (is_open_note): New function.
1331 (is_func_note): New function.
1332 (is_64bit): New function.
1333 (merge_gnu_build_notes): Handle v3 notes. Do not merge
1334 if there are relocations against the notes.
1335 * readelf.c (get_note_type): Use short names for build attribute
1337 (print_symbol_for_build_attribute): Rename to
1338 get_symbol_for_build_attribute. Returns the found symbol rather
1340 (print_gnu_build_attribute_description): Maintain address ranges
1341 for function notes as well as global notes. Handle v3 notes.
1342 (print_gnu_build_attribute_name): Use more space for printing the
1344 * testsuite/binutils-all/note-2-32.s: Use .dc.l instead of .word.
1345 Eliminate symbol references in order to remove the need for
1347 * testsuite/binutils-all/note-2-64.s: Likewise.
1348 * testsuite/binutils-all/note-3-32.s: Add a size to the note_1
1350 * testsuite/binutils-all/note-3-64.s: Likewise.
1351 * testsuite/binutils-all/mips/mips-note-2r-n32.d: Update expected
1353 * testsuite/binutils-all/mips/mips-note-2r-n64.d: Likewise.
1354 * testsuite/binutils-all/mips/mips-note-2r.d: Likewise.
1355 * testsuite/binutils-all/note-2-32.d: Likewise.
1356 * testsuite/binutils-all/note-2-64.d: Likewise.
1357 * testsuite/binutils-all/note-3-32.d: Likewise.
1358 * testsuite/binutils-all/note-3-64.d: Likewise.
1359 * testsuite/binutils-all/note-4-64.s: New test. Checks v3 notes.
1360 * testsuite/binutils-all/note-4-32.s: New test.
1361 * testsuite/binutils-all/note-4-64.d: New test result file.
1362 * testsuite/binutils-all/note-4-32.d: New test result file.
1364 2018-01-03 Alan Modra <amodra@gmail.com>
1366 Update year range in copyright notice of all files.
1368 For older changes see ChangeLog-2017
1370 Copyright (C) 2018 Free Software Foundation, Inc.
1372 Copying and distribution of this file, with or without modification,
1373 are permitted in any medium without royalty provided the copyright
1374 notice and this notice are preserved.
1380 version-control: never