1 2018-11-06 Roman Bolshakov <r.bolshakov@yadro.com>
2 Saagar Jha <saagar@saagarjha.com>
5 * od-macho.c (printf_version): New.
6 (dump_load_command): Use it to print version. Print sdk version. Print
7 version info for watchOS and tvOS. Print LC_NOTE, LC_BUILD_VERSION.
8 (dump_buld_version): New.
9 (bfd_mach_o_platform_name): New
10 (bfd_mach_o_tool_name): New
12 2018-11-07 Yoshinori Sato <ysato@users.sourceforge.jp>
14 * testsuite/lib/binutils-common.exp: Special section name
17 2018-11-06 H.J. Lu <hongjiu.lu@intel.com>
19 * doc/binutils.texi: Document --enable-x86-feature and
20 --disable-x86-feature options for elfedit.
21 * elfedit.c: Include "config.h" and <sys/mman.h>.
22 (enable_x86_features): New.
23 (disable_x86_features): Likewise.
24 (update_gnu_property): Likewise.
25 (elf_x86_feature): Likewise.
26 (process_file): Call update_gnu_property on ET_EXEC or ET_DYN
28 (command_line_switch): Add OPTION_ENABLE_X86_FEATURE and
29 OPTION_DISABLE_X86_FEATURE.
30 (options): Add--enable-x86-feature and --disable-x86-feature.
32 (main): Handle OPTION_ENABLE_X86_FEATURE and
33 OPTION_DISABLE_X86_FEATURE.
35 2018-11-03 H.J. Lu <hongjiu.lu@intel.com>
37 * elfedit.c (update_elf_header): Move EI_MAG? check to ...
38 (get_file_header): Here.
40 2018-11-02 H.J. Lu <hongjiu.lu@intel.com>
42 * configure.ac (AC_FUNC_MMAP): New.
43 * config.in: Regenerated.
44 * configure: Likewise.
46 2018-11-02 Alan Modra <amodra@gmail.com>
48 * readelf.c (process_section_headers): Don't warn on a zero
49 sh_info or sh_link for any reloc section in an executable or
50 shared library. Do warn for .rel.dyn/.rela.dyn in ET_REL.
52 2018-11-01 Thomas Preud'homme <thomas.preudhomme@linaro.org>
54 * testsuite/config/default.exp: Define LD, LDFLAGS and
56 * testsuite/lib/binutils-common.exp (check_shared_lib_support): Moved
58 (run_dump_test): Set ld to $LD.
60 2018-10-18 Nick Clifton <nickc@redhat.com>
62 * doc/binutils.texi (readelf): Document alternatives to the
63 --unwind option if it is not supported for the target
66 2018-10-16 Alan Modra <amodra@gmail.com>
69 * readelf.c (display_raw_attribute): Correct assertion.
71 2018-10-15 Alan Modra <amodra@gmail.com>
74 * addr2line.c (main): Exit with fatal error if bfd_init
75 returns an unexpected value.
76 * ar.c (main): Likewise.
77 * dlltool.c (identify_dll_for_implib): Likewise.
78 * nm.c (main): Likewise.
79 * objcopy.c (main): Likewise.
80 * objdump.c (main): Likewise.
81 * size.c (main): Likewise.
82 * strings.c (main): Likewise.
83 * windmc.c (main): Likewise.
84 * windres.c (main): Likewise.
86 2018-10-11 Jordan Rupprecht <rupprecht@google.com>
87 Nick Clifton <nickc@redhat.com>
89 * objcopy.c (copy_main): Issue a fata error if the
90 --keep-global-symbol(s) and the --globalize-symbol(s) options are
92 * doc/binutils.texi: Document that the two options are
94 * testsuite/binutils-all/copy-5.d: New test.
95 * testsuite/binutils-all/objcopy.exp: Run the new test.
97 2018-10-10 Helge Deller <deller@gmx.de>
98 Alan Modra <amodra@gmail.com>
100 * readelf.c (hppa_process_unwind): Don't use eh_addr_size to
101 calculate number of entries.
102 (slurp_hppa_unwind_table): Don't use eh_addr_size here either.
104 2018-10-10 Alan Modra <amodra@gmail.com>
106 * objdump.c (dump_dwarf): Set s12z eh_addr_size to 4.
108 2018-10-08 Andreas Schwab <schwab@suse.de>
110 * readelf.c (is_32bit_pcrel_reloc): Handle R_RISCV_32_PCREL.
112 2018-10-03 Nick Clifton <nickc@redhat.com>
114 * po/pt.po: Updated Portuguese translation.
115 * po/fr.po: Updated French translation.
117 2018-09-22 Alan Modra <amodra@gmail.com>
119 * readelf.c (apply_relocations): Don't return FALSE for warnings.
121 2018-09-20 Nelson Chu <nelson.chu1990@gmail.com>
123 * testsuite/binutils-all/objcopy.exp: Set the unsupported reloc number
124 from 215 to 255 for NDS32.
126 2018-09-17 H.J. Lu <hongjiu.lu@intel.com>
128 * objcopy.c (strip_specific_buffer): New.
129 (strip_unneeded_buffer): Likewise.
130 (keep_specific_buffer): Likewise.
131 (localize_specific_buffer): Likewise.
132 (globalize_specific_buffer): Likewise.
133 (keepglobal_specific_buffer): Likewise.
134 (weaken_specific_buffer): Likewise.
135 (add_specific_symbols): Add an argument to return pointer to
137 (copy_main): Update add_specific_symbols to update pointers to
138 allocated buffer. Free pointers to allocated buffer before
141 2018-09-17 Alan Modra <amodra@gmail.com>
143 * objcopy.c (handle_remove_section_option): Don't require a dot
144 after .rela and .rel to handle a possible relocation section.
145 * testsuite/binutils-all/remove-relocs-07.s,
146 * testsuite/binutils-all/remove-relocs-07.d,
147 * testsuite/binutils-all/remove-relocs-08.d: New tests.
148 * testsuite/binutils-all/remove-relocs-01.d,
149 * testsuite/binutils-all/remove-relocs-04.d,
150 * testsuite/binutils-all/remove-relocs-05.d,
151 * testsuite/binutils-all/remove-relocs-06.d: Exclude mips64-openbsd.
153 2018-09-17 Alan Modra <amodra@gmail.com>
155 * testsuite/lib/binutils-common.exp (is_som_format): New proc.
156 (run_dump_test): Correct target test for alternate .comm syntax.
157 (get_standard_section_names): Handle som format.
158 * testsuite/lib/utils-lib.exp (default_binutils_assemble_flags):
159 Correct target test for alternate .comm syntax.
161 2018-09-17 Alan Modra <amodra@gmail.com>
163 * testsuite/binutils-all/strip-13mips64.s: Add section flags
165 * testsuite/binutils-all/strip-13rel.s: Likewise.
166 * testsuite/binutils-all/strip-13rela.s: Likewise.
167 * testsuite/binutils-all/strip-14mips64.s: Likewise.
168 * testsuite/binutils-all/strip-14rel.s: Likewise.
169 * testsuite/binutils-all/strip-14rela.s: Likewise.
170 * testsuite/binutils-all/strip-15mips64.s: Likewise.
171 * testsuite/binutils-all/strip-15rel.s: Likewise.
172 * testsuite/binutils-all/strip-15rela.s: Likewise.
174 2018-09-17 Nick Clifton <nickc@redhat.com>
176 * testsuite/binutils-all/compress.exp: Rename second "objcopy
177 zlib-gnu compress debug sections 3" test to "objcopy zlib-gabi
178 compress debug sections 3" and use gabi object files instead
180 * testsuite/binutils-all/objcopy.exp: Add suffix to the names
181 of the "ELF group" tests.
182 * testsuite/binutils-all/readelf.exp (proc readelf_find_size):
183 Add an iteration parameter and include it in the name of the
184 test. Update callers to include an iteration count.
186 2018-09-15 Alan Modra <amodra@gmail.com>
188 * testsuite/binutils-all/add-symbol.d: Add "section_subst: no".
189 * testsuite/binutils-all/elfedit.exp: Don't set tempfile or copyfile.
190 * testsuite/binutils-all/symbols-1.d,
191 * testsuite/binutils-all/symbols-2.d,
192 * testsuite/binutils-all/symbols-3.d,
193 * testsuite/binutils-all/symbols-4.d: Quote '*' and '!'.
194 * testsuite/binutils-all/add-empty-section.d,
195 * testsuite/binutils-all/add-section.d,
196 * testsuite/binutils-all/elfedit.exp,
197 * testsuite/binutils-all/note-1.d,
198 * testsuite/binutils-all/pr23633.d: Add $subdir after $srcdir.
199 * testsuite/config/default.exp (AS, ASFLAGS): Define.
200 * testsuite/config/hppa.sed: Handle all common symbols.
201 * testsuite/lib/binutils-common.exp (run_dump_test): New proc,
202 merged from three other versions.
203 (slurp_options, file_contents, set_file_contents): Likewise.
204 (big_or_little_endian, get_standard_section_names): Likewise.
205 * testsuite/lib/utils-lib.exp (run_dump_test): Delete.
206 (slurp_options, proc file_contents): Delete.
207 (get_standard_section_names): Delete.
209 2018-09-15 Alan Modra <amodra@gmail.com>
211 * testsuite/binutils-all/copy-2.d,
212 * testsuite/binutils-all/copy-3.d,
213 * testsuite/binutils-all/copy-4.d,
214 * testsuite/binutils-all/elfedit-1.d,
215 * testsuite/binutils-all/note-1.d,
216 * testsuite/binutils-all/note-2-64.d,
217 * testsuite/binutils-all/strip-11.d,
218 * testsuite/binutils-all/strip-13.d,
219 * testsuite/binutils-all/strip-14.d,
220 * testsuite/binutils-all/testranges.d,
221 * testsuite/binutils-all/x86-64/pr23494a-x32.d,
222 * testsuite/binutils-all/x86-64/pr23494a.d,
223 * testsuite/binutils-all/x86-64/pr23494b-x32.d,
224 * testsuite/binutils-all/x86-64/pr23494b.d,
225 * testsuite/binutils-all/x86-64/pr23494c-x32.d,
226 * testsuite/binutils-all/x86-64/pr23494c.d,
227 * testsuite/binutils-all/x86-64/pr23494d-x32.d,
228 * testsuite/binutils-all/x86-64/pr23494d.d,
229 * testsuite/binutils-all/x86-64/pr23494e-x32.d,
230 * testsuite/binutils-all/x86-64/pr23494e.d,
231 * testsuite/lib/utils-lib.exp (run_dump_test): Replace not-target
232 and not-skip with notarget and noskip.
234 2018-09-15 Alan Modra <amodra@gmail.com>
236 * testsuite/binutils-all/group-7a.d,
237 * testsuite/binutils-all/group-7b.d,
238 * testsuite/binutils-all/group-7c.d,
239 * testsuite/binutils-all/symbols-1.d,
240 * testsuite/binutils-all/symbols-2.d,
241 * testsuite/binutils-all/symbols-3.d,
242 * testsuite/binutils-all/symbols-4.d: Remove DUMPPROG.
244 2018-09-14 Alan Modra <amodra@gmail.com>
247 * testsuite/binutils-all/pr23633.d: Don't fail when assembler
248 generates sections other than .text.
250 2018-09-13 H.J. Lu <hongjiu.lu@intel.com>
253 * testsuite/binutils-all/objcopy.exp: Run pr23633.
254 * testsuite/binutils-all/pr23633.d: New file.
255 * testsuite/binutils-all/pr23633.list: Likewise.
256 * testsuite/binutils-all/pr23633.s: Likewise.
258 2018-09-13 Nick Clifton <nickc@redhat.com>
261 * objcopy.c (add_specific_symbols): Do not free the buffer at the
264 2018-09-10 Alan Modra <amodra@gmail.com>
267 * objcopy.c (handle_remove_section_option): Consider .rela and
268 .rel sections for stripping directly as well as attached to the
269 associated section they relocate.
270 * doc/binutils.texi (remove-relocations): Specify that this
271 option removes non-dynamic relocation sections.
272 * testsuite/binutils-all/objcopy.exp
273 (objcopy_remove_relocations_from_executable): New test.
275 2018-09-03 Nick Clifton <nickc@redhat.com>
277 * po/ja.po: Updated Japanese translation.
279 2018-08-31 H.J. Lu <hongjiu.lu@intel.com>
281 * testsuite/binutils-all/readelf.s-64: Adjusted for
282 .note.gnu.property section.
283 * testsuite/binutils-all/strip-3.d: Also strip
284 .note.gnu.property section.
286 2018-08-31 H.J. Lu <hongjiu.lu@intel.com>
288 * testsuite/binutils-all/i386/compressed-1b.d: Pass
289 -mx86-used-note=no to assembler.
290 * testsuite/binutils-all/i386/compressed-1c.d: Likewise.
291 * testsuite/binutils-all/x86-64/compressed-1b.d: Likewise.
292 * testsuite/binutils-all/x86-64/compressed-1c.d: Likewise.
293 * testsuite/binutils-all/i386/empty.d: Pass -mx86-used-note=yes
294 to assembler and update expected output from "readelf -n".
295 * testsuite/binutils-all/i386/ibt.d: Likewise.
296 * testsuite/binutils-all/i386/pr21231a.d: Likewise.
297 * testsuite/binutils-all/i386/pr21231b.d: Likewise.
298 * testsuite/binutils-all/i386/shstk.d: Likewise.
299 * testsuite/binutils-all/x86-64/empty-x32.d: Likewise.
300 * testsuite/binutils-all/x86-64/empty.d: Likewise.
301 * testsuite/binutils-all/x86-64/ibt-x32.d: Likewise.
302 * testsuite/binutils-all/x86-64/ibt.d: Likewise.
303 * testsuite/binutils-all/x86-64/pr21231a.d: Likewise.
304 * testsuite/binutils-all/x86-64/pr21231b.d: Likewise.
305 * testsuite/binutils-all/x86-64/pr23494a-x32.d: Likewise.
306 * testsuite/binutils-all/x86-64/pr23494a.d: Likewise.
307 * testsuite/binutils-all/x86-64/pr23494b-x32.d: Likewise.
308 * testsuite/binutils-all/x86-64/pr23494b.d: Likewise.
309 * testsuite/binutils-all/x86-64/pr23494c-x32.d: Likewise.
310 * testsuite/binutils-all/x86-64/pr23494c.d: Likewise.
311 * testsuite/binutils-all/x86-64/pr23494d-x32.d: Likewise.
312 * testsuite/binutils-all/x86-64/pr23494d.d: Likewise.
313 * testsuite/binutils-all/x86-64/pr23494e-x32.d: Likewise.
314 * testsuite/binutils-all/x86-64/pr23494e.d: Likewise.
315 * testsuite/binutils-all/x86-64/shstk-x32.d: Likewise.
316 * testsuite/binutils-all/x86-64/shstk.d: Likewise.
318 2018-08-30 H.J. Lu <hongjiu.lu@intel.com>
320 * readelf.c (process_section_headers): Treat SHT_FINI_ARRAY and
321 SHT_PREINIT_ARRAY as relocatable sections.
323 2018-08-30 Chenghua Xu <paul.hua.gm@gmail.com>
325 * MAINTAINERS: Add myself as a MIPS port maintainer.
327 2018-08-29 Chenghua Xu <paul.hua.gm@gmail.com>
329 * NEWS: Mention Loongson 2K1000 proccessor support.
330 * readelf.c (get_machine_flags): Handle gs264e.
332 2018-08-29 Chenghua Xu <paul.hua.gm@gmail.com>
334 * NEWS: Mention Loongson 3A2000/3A3000 proccessor support.
335 * readelf.c (get_machine_flags): Handle gs464e.
337 2018-08-29 Chenghua Xu <paul.hua.gm@gmail.com>
339 * NEWS: Mention Loongson 3A1000 proccessor support.
340 * readelf.c (get_machine_flags): Rename loongson-3a to gs464.
341 (print_mips_isa_ext): Delete AFL_EXT_LOONGSON_3A.
343 2018-08-29 Chenghua Xu <paul.hua.gm@gmail.com>
345 * readelf.c (print_mips_ases): Add Loongson EXT2 extension.
347 2018-08-29 Chenghua Xu <paul.hua.gm@gmail.com>
349 * readelf.c (print_mips_ases): Add Loongson EXT extension.
351 2018-08-29 Chenghua Xu <paul.hua.gm@gmail.com>
353 * readelf.c (print_mips_ases): Add CAM extension.
355 2018-08-27 H.J. Lu <hongjiu.lu@intel.com>
357 * readelf.c (decode_x86_isa): Print <None> if bitmask only
358 contains the GNU_PROPERTY_X86_UINT32_VALID bit.
359 (decode_x86_feature_1): Likewise.
360 (decode_x86_feature_2): Likewise.
361 (print_gnu_property_note): Don't mask out the
362 GNU_PROPERTY_X86_UINT32_VALID bit.
363 * testsuite/binutils-all/i386/pr21231b.d: Updated.
364 * testsuite/binutils-all/x86-64/pr21231b.d: Likewise.
366 2018-08-27 H.J. Lu <hongjiu.lu@intel.com>
368 * readelf.c (decode_x86_compat_isa): Break multi-statement line.
369 (decode_x86_isa): Likewise.
370 (decode_x86_feature_2): Likewise.
372 2018-08-25 H.J. Lu <hongjiu.lu@intel.com>
375 * readelf.c (get_symbol_version_string): Return _("<corrupt>")
376 for corrupt symbol version info.
378 2018-08-24 H.J. Lu <hongjiu.lu@intel.com>
380 * readelf.c (decode_x86_compat_isa): New function.
381 (decode_x86_feature_2): Likewise.
382 (decode_x86_isa): Updated for new X86_ISA_1_XXX bits.
383 (decode_x86_feature): Renamed to ...
384 (decode_x86_feature_1): This. Remove the type argument.
385 (print_gnu_property_note): Handle X86_COMPAT_ISA_1_USED,
386 X86_COMPAT_ISA_1_NEEDED, X86_UINT32_AND_LO, X86_UINT32_AND_HI,
387 X86_UINT32_OR_LO, X86_UINT32_OR_HI, X86_UINT32_OR_AND_LO and
388 X86_UINT32_OR_AND_HI instead of X86_ISA_1_USED, X86_ISA_1_NEEDED
389 and X86_FEATURE_1_AND.
390 * testsuite/binutils-all/i386/pr21231b.s: Updated to the current
391 GNU_PROPERTY_X86_ISA_1_USED and GNU_PROPERTY_X86_ISA_1_NEEDED
393 * testsuite/binutils-all/x86-64/pr21231b.s: Likewise.
394 * testsuite/binutils-all/x86-64/pr23494a.s: Likewise.
395 * testsuite/binutils-all/x86-64/pr23494b.s: Likewise.
396 * testsuite/binutils-all/x86-64/pr23494c.s: Likewise.
397 * testsuite/binutils-all/i386/pr21231b.d: Updated.
398 * testsuite/binutils-all/x86-64/pr21231b.d: Likewise.
399 * testsuite/binutils-all/x86-64/pr23494a-x32.d: Likewise.
400 * testsuite/binutils-all/x86-64/pr23494a.d: Likewise.
401 * testsuite/binutils-all/x86-64/pr23494c-x32.d: Likewise.
402 * testsuite/binutils-all/x86-64/pr23494c.d: Likewise.
403 * testsuite/binutils-all/x86-64/pr23494d-x32.d: Likewise.
404 * testsuite/binutils-all/x86-64/pr23494d.d: Likewise.
405 * testsuite/binutils-all/x86-64/pr23494e-x32.d: Likewise.
406 * testsuite/binutils-all/x86-64/pr23494e.d: Likewise.
408 2018-08-24 H.J. Lu <hongjiu.lu@intel.com>
410 * readelf.c (print_gnu_property_note): Check the
411 GNU_PROPERTY_X86_UINT32_VALID bit for invalid GNU property note.
413 2018-08-23 Alan Modra <amodra@gmail.com>
415 * readelf.c (get_ppc64_symbol_other): Return NULL if st_other
416 field contains unrecognised or reserved values. Handle
419 2018-08-23 H.J. Lu <hongjiu.lu@intel.com>
422 * Makefile.am (development.exp): New target.
423 (EXTRA_DEJAGNU_SITE_CONFIG): New.
424 (DISTCLEANFILES): Add development.exp.
425 * Makefile.in: Regenerated.
426 * testsuite/binutils-all/objcopy.exp (strip_test): Call
427 prune_warnings to prune BFD output.
428 (strip_test_with_saving_a_symbol): Likewise.
429 (objcopy_test_without_global_symbol): Likewise.
430 * testsuite/lib/binutils-common.exp (prune_warnings_extra):
432 (prune_warnings): Likewise.
434 2018-08-23 H.J. Lu <hongjiu.lu@intel.com>
436 * README-how-to-make-a-release: Document setting "experimental"
439 2018-08-22 Alan Modra <amodra@gmail.com>
441 * readelf.c (process_file_header): Assign updated values from
442 section_header[0] fields to e_phnum, e_shnum and e_shstrndx
443 during printing of header. Correct e_shstrndx range check.
444 Remove unnecessary casts and use %u rather than %ld for
445 unsigned int header fields. Don't print a random %lx when
446 reporting an unknown EI_VERSION.
448 2018-08-21 Nick Clifton <nickc@redhat.com>
450 * MAINTAINERS: Note that Arnold Metselaar has retired as the z80
453 2018-08-21 L. Simon <l.simon@samsung.com>
456 * readelf.c (hppa_process_unwind): Only dump the unwind table if
457 the data was successfully read in.
459 2018-08-18 Alan Modra <amodra@gmail.com>
461 * testsuite/lib/binutils-common.exp (is_elf64): Use directory of
462 input file for readelf.out.
464 * testsuite/binutils-all/objcopy.exp (elf64): Set new variable
465 from first result of is_elf64 test.
466 (reloc_format): Set using is_rela.
467 (strip-13): Pass RELOC and ELF64 to assembler.
468 (strip-14, strip-15): Use elf64 rather than calling is_elf64 again.
469 * testsuite/binutils-all/strip-13.d: Run for more targets.
470 * testsuite/binutils-all/strip-13mips64.s: Use RELOC and set
472 * testsuite/binutils-all/strip-13rel.s: Use RELOC and ELF64.
473 Don't add _NONE reloc.
474 * testsuite/binutils-all/strip-13rela.s: Likewise.
476 2018-08-10 H.J. Lu <hongjiu.lu@intel.com>
479 * testsuite/binutils-all/x86-64/pr23494c.s: New file.
480 * testsuite/binutils-all/x86-64/pr23494e-x32.d: Likewise.
481 * testsuite/binutils-all/x86-64/pr23494e.d: Likewise.
483 2018-08-10 H.J. Lu <hongjiu.lu@intel.com>
485 * testsuite/binutils-all/x86-64/pr23494a-x32.d: Skip nacl
487 * testsuite/binutils-all/x86-64/pr23494a.d: Likewise.
488 * testsuite/binutils-all/x86-64/pr23494b-x32.d: Likewise.
489 * testsuite/binutils-all/x86-64/pr23494b.d: Likewise.
490 * testsuite/binutils-all/x86-64/pr23494c-x32.d: Likewise.
491 * testsuite/binutils-all/x86-64/pr23494c.d: Likewise.
492 * testsuite/binutils-all/x86-64/pr23494d-x32.d: Likewise.
493 * testsuite/binutils-all/x86-64/pr23494d.d: Likewise.
495 2018-08-08 H.J. Lu <hongjiu.lu@intel.com>
498 * testsuite/binutils-all/x86-64/pr23494a-x32.d: New file.
499 * testsuite/binutils-all/x86-64/pr23494a.d: Likewise.
500 * testsuite/binutils-all/x86-64/pr23494a.s: Likewise.
501 * testsuite/binutils-all/x86-64/pr23494b-x32.d: Likewise.
502 * testsuite/binutils-all/x86-64/pr23494b.d: Likewise.
503 * testsuite/binutils-all/x86-64/pr23494b.s: Likewise.
504 * testsuite/binutils-all/x86-64/pr23494c-x32.d: Likewise.
505 * testsuite/binutils-all/x86-64/pr23494c.d: Likewise.
506 * testsuite/binutils-all/x86-64/pr23494d-x32.d: Likewise.
507 * testsuite/binutils-all/x86-64/pr23494d.d: Likewise.
509 2018-08-08 Kevin Buettner <kevinb@redhat.com>
511 * dwarf.c (decode_location_expresion): Add case for
512 DW_OP_GNU_variable_value.
514 2018-08-06 Claudiu Zissulescu <claziss@synopsys.com>
516 * readelf.c (display_arc_attribute): Print Tag_ARC_ATR_version.
518 2018-08-03 Nick Clifton <nickc@redhat.com>
520 * objcopy.c (merge_gnu_build_notes): Delete empty notes. Merge
521 identical function notes.
523 2018-08-01 Nick Clifton <nickc@redhat.com>
525 * README-how-to-make-a-release: Add note about regenerating the
526 info files prior to the release.
528 2018-07-30 Andrew Jenner <andrew@codesourcery.com>
530 * MAINTAINERS (C-SKY): Add Yunhai Shang as co-maintainer.
532 2018-07-30 Andrew Jenner <andrew@codesourcery.com>
534 * MAINTAINERS (C-SKY): Add Lifang Xia as maintainer.
536 2018-07-30 Andrew Jenner <andrew@codesourcery.com>
538 * readelf.c: Include elf/csky.h.
539 (guess_is_rela): Handle EM_CSKY.
540 (dump_relocations): Likewise.
541 (get_machine_name): Likewise.
542 (is_32bit_abs_reloc): Likewise.
544 2018-07-25 Nick Clifton <nickc@redhat.com>
546 * rdcoff.c (parse_coff_struct_type): Free fields array upon early
548 (parse_coff_enum_type): Free names and vals arrays upon early
550 * rddbg.c (read_section_stabs_debugging_info): Free shandle and
551 strings and stabs arrays upon early exit.
552 * readelf.c (get_32bit_section_headers): Free shdrs structure upon
554 (get_64bit_section_headers): Likewise.
555 (get_32bit_elf_symbols): Generate an error if multiple symbol
556 table index sections are associated with the same symbol section.
557 (get_64bit_elf_symbols): Likewise.
558 (process_dynamic_section): Generate an error if there are multiple
559 dynamic symbol table sections, multiple dynamic string tables or
560 multiple dynamic symbol information sections.
562 2018-07-24 Nick Clifton <nickc@redhat.com>
564 * po/sv.po: Updated Swedish translation.
566 2018-07-24 Alan Modra <amodra@gmail.com>
569 * dwarf.c (display_formatted_table): Replace "what" parameter
570 with "is_dir". Expand messages. Fix capitalisation.
571 * testsuite/binutils-all/dw5.W: Update expected output.
573 2018-07-24 Alan Modra <amodra@gmail.com>
576 * elfcomm.h (struct archive_info): Rename uses_64bit_indicies
577 to uses_64bit_indices.
578 * elfcomm.c (setup_archive): Update uses of above.
579 * readelf.c (process_archive): Likewise.
580 (get_section_type_name): Rename indicies to indices.
581 (get_32bit_elf_symbols, get_64bit_elf_symbols): Likewise.
582 (process_section_groups): Likewise.
584 2018-07-20 Maciej W. Rozycki <macro@mips.com>
586 * MAINTAINERS: Update my e-mail address, downgrade to MIPS I-IV
589 2018-07-20 Nick Clifton <nickc@redhat.com>
591 * objcopy.c (add_specific_symbols): Free buffer on exit.
592 (add_redefine_syms_file): Close file handle on exit.
593 (copy_object): Close file handle on early exit.
594 Free buffer on early exit.
595 Free gaps buffers once they are no longer needed.
596 * dwarf.c (display_debug_frames): Free allocated memory on exit.
597 (load_separate_debug_info): Free allocate memory on early exit.
599 2018-07-20 Chenghua Xu <paul.hua.gm@gmail.com>
600 Maciej W. Rozycki <macro@mips.com>
602 * readelf.c (print_mips_ases): Add MMI extension.
604 2018-07-19 DJ Delorie <dj@redhat.com>
606 * MAINTAINERS (RL78, RX): Remove myself as maintainer.
608 2018-07-19 Nick Clifton <nickc@redhat.com>
610 * dwarf.c (read_cie): Free allocated memory before returning with
613 2018-07-16 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
615 * readelf.c (get_note_type): Fix typo in NT_PPC_TM_CVSX note
618 2018-07-16 Nick Clifton <nickc@redhat.com>
620 * README-how-to-make-a-release: Add note to check for new top
621 level files and add them to the src-release.sh script.
623 2018-07-14 Nick Clifton <nickc@redhat.com>
625 * README-how-to-make-a-release: Updated with corrections based on
626 the 2.31 release experience.
628 2018-07-12 Francois H. Theron <francois.theron@netronome.com>
630 * readelf.c (process_section_headers): Don't print section type
631 twice for --section-details.
633 2018-07-10 Alan Modra <amodra@gmail.com>
635 * testsuite/lib/binutils-common.exp (supports_gnu_unique): Return
638 2018-07-06 Nick Clifton <nickc@redhat.com>
640 * readelf.c (same_section): New function.
641 (print_gnu_build_attribute_description): Do not complain about
642 gaps that cross a section boundary.
644 2018-07-05 Nick Clifton <nickc@redhat.com>
646 * po/bg.po: Updated Bulgarian translation.
648 2018-07-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
650 * NEWS: Use command-line consistently when used in a compount word.
651 * doc/binutils.texi: Likewise and fix trailing whitespace on same
654 2018-06-26 Nick Clifton <nickc@redhat.com>
656 * po/sv.po: Updated Swedish translation.
657 * po/uk.po: Updated Ukranian translation.
659 2018-06-26 Nick Clifton <nickc@redhat.com>
661 * doc/binutils.texi: Fix spelling mistakes.
662 * README--how-to-make-a-release: Likewise.
664 2018-06-25 Tom Tromey <tom@tromey.com>
666 * dwarf-mode.el (dwarf-mode-syntax-table): New variable.
669 2018-06-24 Nick Clifton <nickc@redhat.com>
671 * README-how-to-make-a-release: Update with experiences from
673 * po/binutils.pot: Regenerate.
674 * configure: Regenerate.
676 2018-06-24 Nick Clifton <nickc@redhat.com>
679 * NEWS: Add marker for 2.31.
681 2018-06-21 Alan Modra <amodra@gmail.com>
683 * doc/Makefile.am (AUTOMAKE_OPTIONS): Add "foreign".
684 * doc/Makefile.in: Regenerate.
686 2018-06-19 Simon Marchi <simon.marchi@ericsson.com>
688 * configure.ac: Remove AC_PREREQ.
689 * doc/Makefile.am (AUTOMAKE_OPTIONS): Remove cygnus, add
690 info-in-builddir no-texinfo.tex.
691 * Makefile.in: Re-generate.
692 * aclocal.m4: Re-generate.
693 * config.in: Re-generate.
694 * configure: Re-generate.
695 * doc/Makefile.in: Re-generate.
697 2018-06-19 Andreas Schwab <schwab@suse.de>
699 * readelf.c (is_16bit_abs_reloc): Handle R_RISCV_SET16.
700 (is_8bit_abs_reloc): New function.
701 (is_6bit_abs_reloc): New function.
702 (is_6bit_inplace_sub_reloc): New function.
703 (apply_relocations): Use them. Handle 6-bit relocations.
705 2018-06-14 Faraz Shahbazker <Faraz.Shahbazker@mips.com>
707 * readelf.c (print_mips_ases): Add GINV extension.
709 2018-06-14 H.J. Lu <hongjiu.lu@intel.com>
712 * readelf.c (get_symbol_version_string): Check if the first
713 symbol version is base version.
715 2018-06-13 Scott Egerton <scott.egerton@imgtec.com>
716 Faraz Shahbazker <Faraz.Shahbazker@mips.com>
718 * readelf.c (print_mips_ases): Add CRC.
720 2018-06-13 Nick Clifton <nickc@redhat.com>
722 * doc/binutils.texi (objdump): Add missing closing square
723 parenthesis to listing of objcopy's command line options.
725 2018-06-11 Nick Clifton <nickc@redhat.com>
727 * po/es.po: Updated Spanish translation.
729 2018-06-01 H.J. Lu <hongjiu.lu@intel.com>
731 * configure: Regenerated.
733 2018-05-31 Alan Modra <amodra@gmail.com>
735 * testsuite/binutils-all/compress.exp (test_gnu_debuglink): Don't
736 set CC_FOR_TARGET. Run test non-native.
737 * testsuite/binutils-all/objdump.exp (test_build_id_debuglink):
739 (test_follow_debuglink): Run test non-native.
741 2018-05-30 Ant Bikeneev <ant.bikineev@gmail.com>
744 * ar.c (display_offsets): New variable.
745 (usage): Add description of 'O' operator.
746 (decode_option): Handle 'O' operator.
747 (print_descr): Pass display_offsets to print_arelt_descr.
748 * arsup.c: Update call to printy_arelt_descr.
749 * objdump.c: Likewise.
750 * bucomm.c (print_arelt_descr): If offsets parameter is true then
751 display offset of archive element within the archive.
752 * bucomm.h: Update prototype for print_arelt_descr.
753 * doc/binutils.texi: Update description of ar command.
754 * NEWS: Mention the new feature.
755 * testsuite/binutils-all/ar.exp: Add text of new feature.
757 2018-05-28 Alan Modra <amodra@gmail.com>
760 * testsuite/binutils-all/compress.exp (test_gnu_debuglink): Return
761 unsupported rather than fail on compile errors.
762 * testsuite/binutils-all/objdump.exp (test_build_id_debuglink):
763 Likewise. Save and restore CFLAGS_FOR_TARGET.
765 2018-05-18 Kito Cheng <kito.cheng@gmail.com>
767 * readelf.c (get_machine_flags): Handle EF_RISCV_RVE.
769 2018-05-18 John Darrington <john@darrington.wattle.id.au>
771 * readelf.c: Add support for s12z architecture.
772 * testsuite/lib/binutils-common.exp (is_elf_format): Excluse s12z
775 2018-05-15 Tamar Christina <tamar.christina@arm.com>
778 * doc/binutils.texi (-M): Document AArch64 options.
780 2018-05-15 Tamar Christina <tamar.christina@arm.com>
783 * doc/binutils.texi (-M): Document AArch64 options.
784 * NEWS: Document notes and warnings.
786 2018-05-15 Alan Modra <amodra@gmail.com>
788 * testsuite/lib/binutils-common.exp (is_elf_format): Add chorus,
789 cloudabi, fuchsia, kaos and nto. Merge netbsdelf* into *elf*,
790 and *uclinux* into *linux*.
791 * testsuite/binutils-all/objcopy.exp: Accept armeb for rel
792 strip-13 test, exclude arm-vxworks and arm-windiss.
794 2018-05-10 John Darrington <john@darrington.wattle.id.au>
796 * readelf.c (get_machine_name): EM_S12Z - handle new case.
798 2018-05-09 Alan Modra <amodra@gmail.com>
800 * od-macho.c (dump_unwind_encoding_x86): Fix typo in last patch.
802 2018-05-09 Sebastian Rasmussen <sebras@gmail.com>
804 * od-macho.c (dump_unwind_encoding_x86): Adjust for macro renaming.
806 2018-05-08 Alan Modra <amodra@gmail.com>
809 * objcopy.c (is_strip_section): Strip groups without a valid
812 2018-05-07 Alan Modra <amodra@gmail.com>
815 * objcopy.c (group_signature): Don't accept groups that use a
816 symbol table other than the one we've read.
818 2018-04-30 Francois H. Theron <francois.theron@netronome.com>
820 * readelf.c: Very basic support for EM_NFP and its section types.
821 * testsuite/binutils-all/nfp: New directory.
822 * testsuite/binutils-all/nfp/objdump.exp: New file. Run new
824 * testsuite/binutils-all/nfp/test2_ctx8.d: New file.
825 * testsuite/binutils-all/nfp/test2_no-pc_ctx4.d: New file.
826 * testsuite/binutils-all/nfp/test1.d: New file.
827 * testsuite/binutils-all/nfp/nfp6000.nffw: New file.
828 * testsuite/binutils-all/nfp/test2_nfp6000.nffw: New file.
829 * NEWS: Mention the new support.
831 2018-04-27 Maciej W. Rozycki <macro@mips.com>
833 * testsuite/lib/binutils-common.exp (match_target): New procedure.
834 * testsuite/lib/utils-lib.exp (run_dump_test): Use it in place
835 of `istarget' for matching with `target', `not-target', `skip'
836 and `not-skip' options.
838 2018-04-26 Nick Clifton <nickc@redhat.com>
840 * readelf.c (is_32bit_abs_reloc): Support R_PARISC_DIR32 as a
841 32-bit absolute reloc for the HPPA target.
842 * testsuite/binutils-all/note-5.d: New test.
843 * testsuite/binutils-all/note-5.s: Source file for new test.
844 * testsuite/binutils-all/objcopy.exp: Run new test.
846 2018-04-25 Christophe Lyon <christophe.lyon@st.com>
848 * testsuite/binutils-all/elfedit-2.d: Accept arm*-*-uclinuxfdpiceabi.
849 * testsuite/binutils-all/elfedit-3.d: Likewise.
850 * testsuite/binutils-all/objcopy.exp: Likewise.
851 * testsuite/binutils-all/strip-3.d: Likewise.
852 * testsuite/lib/binutils-common.exp: Likewise.
854 2018-04-25 Christophe Lyon <christophe.lyon@st.com>
855 Mickaël Guêné <mickael.guene@st.com>
857 * readelf.c (decode_ARM_machine_flags): Support EF_ARM_PIC.
858 (get_osabi_name): Support ELFOSABI_ARM_FDPIC.
860 2018-04-25 Alan Modra <amodra@gmail.com>
862 * testsuite/binutils-all/arm/objdump.exp: Remove arm-aout and
864 * testsuite/binutils-all/objcopy.exp: Likewise.
865 * testsuite/lib/binutils-common.exp: Likewise.
867 2018-04-18 Nick Clifton <nickc@redhat.com>
870 * dwarf.c (read_and_display_attr_value): Replace assertions with
871 test and warning message.
873 2018-04-18 Alan Modra <amodra@gmail.com>
875 * testsuite/lib/binutils-common.exp: Remove support for assorted
878 2018-04-17 Nick Clifton <nickc@redhat.com>
881 * readelf.c (print_symbol): If the width is zero, return straight
885 * dwarf.c (process_cu_tu_index): Test for a potential buffer
886 overrun before copying signature pointer.
888 2018-04-17 Alan Modra <amodra@gmail.com>
890 * readelf.c: Revert 2018-04-16 and 2018-04-11 changes.
892 2018-04-16 Alan Modra <amodra@gmail.com>
894 * readelf.c (get_machine_name): Correct typo.
896 2018-04-16 Alan Modra <amodra@gmail.com>
898 * configure.ac: Remove arm-epoc-pe support.
899 * dlltool.c: Likewise.
900 * configure: Regenerate.
902 2018-04-16 Alan Modra <amodra@gmail.com>
904 * testsuite/lib/binutils-common.exp: Remove sparc-aout and
907 2018-04-16 Alan Modra <amodra@gmail.com>
909 * testsuite/binutils-all/copy-2.d: Remove m68k-aout and m68k-coff
911 * testsuite/binutils-all/copy-3.d: Likewise.
912 * testsuite/binutils-all/objcopy.exp: Likewise.
913 * testsuite/lib/binutils-common.exp: Likewise.
915 2018-04-16 Alan Modra <amodra@gmail.com>
917 * testsuite/binutils-all/objcopy.exp: Remove sh5 and sh64 support.
919 2018-04-16 Alan Modra <amodra@gmail.com>
921 * testsuite/binutils-all/objcopy.exp: Remove w65 support.
923 2018-04-16 Alan Modra <amodra@gmail.com>
925 * testsuite/binutils-all/objdump.exp: Remove we32k support.
927 2018-04-16 Alan Modra <amodra@gmail.com>
929 * MAINTAINERS (Mark Kettenis): Move to past maintainers.
930 * testsuite/binutils-all/objdump.exp: Remove m88k support.
932 2018-04-16 Alan Modra <amodra@gmail.com>
934 * readelf.c: Remove i370 support.
935 * testsuite/binutils-all/objdump.exp: Likewise.
937 2018-04-16 Alan Modra <amodra@gmail.com>
939 * testsuite/binutils-all/objcopy.exp: Remove h8500 support.
940 * testsuite/lib/binutils-common.exp: Likewise.
942 2018-04-16 Alan Modra <amodra@gmail.com>
944 * testsuite/binutils-all/objcopy.exp: Remove h8300-coff support.
946 2018-04-16 Alan Modra <amodra@gmail.com>
948 * Makefile.am: Remove IEEE 695 support.
950 * doc/binutils.texi: Likewise.
951 * makefile.vms: Likewise.
952 * objcopy.c: Likewise.
953 * objdump.c: Likewise.
956 * Makefile.in: Regenerate.
957 * po/POTFILES.in: Regenerate.
959 2018-04-16 Alan Modra <amodra@gmail.com>
961 * testsuite/binutils-all/copy-2.d: Remove newsos3 support.
962 * testsuite/binutils-all/nm.exp: Likewise.
964 2018-04-16 Alan Modra <amodra@gmail.com>
966 * .gitignore: Remove netware support.
967 * Makefile.am: Likewise.
968 * configure.ac: Likewise.
969 * doc/Makefile.am: Likewise.
970 * doc/binutils.texi: Likewise.
971 * testsuite/binutils-all/nm.exp: Likewise.
974 * nlmheader.y: Delete.
975 * Makefile.in: Regenerate.
976 * configure: Regenerate.
977 * doc/Makefile.in: Regenerate.
978 * po/POTFILES.in: Regenerate.
980 2018-04-16 Alan Modra <amodra@gmail.com>
982 * testsuite/binutils-all/objdump.exp: Remove tahoe support.
984 2018-04-14 Alan Modra <amodra@gmail.com>
986 * readelf.c (get_machine_name): Revert 2018-04-11 change.
988 2018-04-12 Nick Clifton <nickc@redhat.com>
991 * readelf.c (process_dynamic_section): Correct dynamic string
992 table size calculation.
994 2018-04-11 Alan Modra <amodra@gmail.com>
996 * ieee.c: Remove i960 support.
997 * od-macho.c: Remove i860 support.
998 * readelf.c: Remove i860 and i960 support.
999 * testsuite/binutils-all/objcopy.exp: Likewise.
1000 * testsuite/binutils-all/objdump.exp: Likewise.
1001 * testsuite/lib/binutils-common.exp: Likewise.
1003 2018-04-11 Maciej W. Rozycki <macro@mips.com>
1005 * testsuite/lib/binutils-common.exp (is_elf_format): Also return
1006 1 for `*-*-lynxos*' and `*-*-symbianelf*' targets.
1008 2018-04-10 Alan Modra <amodra@gmail.com>
1010 * testsuite/binutils-all/objcopy.exp (strip-14, strip-15): Choose
1011 reloc=11 for pru and reloc=50 for nds32.
1012 * testsuite/binutils-all/strip-15.d: Accept 0xb reloc number.
1014 2018-04-09 Maciej W. Rozycki <macro@mips.com>
1016 * testsuite/binutils-all/strip-15.d: New test.
1017 * testsuite/binutils-all/strip-15rel.s: New test source.
1018 * testsuite/binutils-all/strip-15rela.s: New test source.
1019 * testsuite/binutils-all/strip-15mips64.s: New test source.
1020 * testsuite/binutils-all/objcopy.exp: Run the new test.
1022 2018-04-09 Maciej W. Rozycki <macro@mips.com>
1024 * testsuite/binutils-all/strip-14.d: New test.
1025 * testsuite/binutils-all/strip-14rel.s: New test source.
1026 * testsuite/binutils-all/strip-14rela.s: New test source.
1027 * testsuite/binutils-all/strip-14mips64.s: New test source.
1028 * testsuite/binutils-all/objcopy.exp: Run the new test.
1030 2018-04-06 Tom Tromey <tom@tromey.com>
1032 * dwarf.c (read_and_display_attr_value): Add missing DW_LANG
1033 constants from DWARF 5.
1035 2018-04-05 H.J. Lu <hongjiu.lu@intel.com>
1038 * configure: Regenerated.
1040 2018-04-05 Maciej W. Rozycki <macro@mips.com>
1042 * testsuite/binutils-all/strip-13mips64.s: Use `.dc.l' rather
1043 than `.dc.w' in second relocation.
1045 2018-04-05 Maciej W. Rozycki <macro@mips.com>
1047 * testsuite/binutils-all/strip-13.d: Also expect `unsupported
1048 relocation type 0x8f' error message.
1050 2018-04-05 Maciej W. Rozycki <macro@mips.com>
1052 * testsuite/binutils-all/strip-13.s: Rename to...
1053 * testsuite/binutils-all/strip-13rela.s: ... this.
1054 * testsuite/binutils-all/strip-13rel.s: New test source.
1055 * testsuite/binutils-all/strip-13mips64.s: New test source.
1056 * testsuite/binutils-all/strip-13.d: Remove `arm-*', `d10v-*',
1057 `dlx-*' and `xgate-*' from `not-target' list. Add `m6811-*' and
1058 `m68hc11-*' to `not-target' list.
1059 * testsuite/binutils-all/objcopy.exp: Switch between sources for
1062 2018-04-05 Maciej W. Rozycki <macro@mips.com>
1064 * testsuite/binutils-all/strip-13.s: Use 143 (0x8f) rather than
1065 241 (0xf1) for the relocation number and RELA addend.
1066 * testsuite/binutils-all/strip-13.d: Remove `hppa*-*' from the
1069 2018-04-04 John David Anglin <danglin@gcc.gnu.org>
1071 * MAINTAINERS: Update my e-mail address.
1073 2018-04-04 Nick Clifton <nickc@redhat.com>
1075 * MAINTAINERS: Move Jason Eckhardt to past maintainers section.
1077 2018-03-23 Nick Clifton <nickc@redhat.com>
1079 * readelf.c (get_symbol_for_build_attribute): Skip ARM mapping
1081 (print_gnu_build_attribute_description): If no file start symbol
1082 could be found, look for one two bytes into the file.
1083 * testsuite/binutils-all/note-4-64.s: Set the address of the file
1084 start symbol to two bytes into the file.
1085 * testsuite/binutils-all/note-4-32.s: Likewise.
1087 2018-03-21 H.J. Lu <hongjiu.lu@intel.com>
1089 * readelf.c (process_dynamic_section): Also dump DF_1_KMOD,
1090 DF_1_WEAKFILTER and DF_1_NOCOMMON.
1092 2018-03-20 Nick Clifton <nickc@redhat.com>
1094 * po/es.po: Updated Spanish translation.
1095 * po/ru.po: Updated Russian translation.
1097 2018-03-13 Nick Clifton <nickc@redhat.com>
1100 * stabs.c (pop_binincl): Fail if the file index is off the end of
1103 2018-03-13 Nick Clifton <nickc@redhat.com>
1106 * stabs.c (parse_number): Add p_end parameter and use it to check
1107 the validity of the pp parameter. Add checks to prevent walking
1108 off the end of the string buffer.
1109 (parse_stab_string): Likewise.
1110 (parse_stab_type): Likewise.
1111 (parse_stab_type_number): Likewise.
1112 (parse_stab_range_type): Likewise.
1113 (parse_stab_sun_builtin_type): Likewise.
1114 (parse_stab_sun_floating_type): Likewise.
1115 (parse_stab_enum_type): Likewise.
1116 (parse_stab_struct_type): Likewise.
1117 (parse_stab_baseclasses): Likewise.
1118 (parse_stab_struct_fields): Likewise.
1119 (parse_stab_cpp_abbrev): Likewise.
1120 (parse_stab_one_struct_field): Likewise.
1121 (parse_stab_members): Likewise.
1122 (parse_stab_tilde_field): Likewise.
1123 (parse_stab_array_type): Likewise.
1125 * parse_stab: Compute the end of the string and then pass it on to
1126 individual parser functions.
1128 2018-03-07 Paul Pluzhnikov <ppluzhnikov@google.com>
1131 * binutils/readelf.c (get_ver_flags): Expand buffer to avoid
1134 2018-03-07 Alan Modra <amodra@gmail.com>
1136 * configure.ac: Add objdump_private_desc_xcoff for rs6000.
1137 * configure: Regenerate.
1139 2018-03-05 H.J. Lu <hongjiu.lu@intel.com>
1142 * objdump.c (is_significant_symbol_name): Return TRUE for all
1144 (find_symbol_for_address): Replace linear search with binary
1145 search on dynamic relocations.
1147 2018-03-01 Nick Clifton <nickc@redhat.com>
1150 * dwarf.c (display_debug_ranges): Check that the offset loaded
1151 from the range_entry structure is valid.
1153 2018-03-01 Alan Modra <amodra@gmail.com>
1155 * configure.ac (ALL_LINGUAS): Add sr. Sort.
1156 * configure: Regenerate.
1158 2018-02-27 Nick Clifton <nickc@redhat.com>
1160 * po/pt.po: New Portuguese translation.
1161 * configure.ac (ALL_LINGUAS): Add pt.
1162 * configure: Regenerate.
1164 2018-02-27 Nick Clifton <nickc@redhat.com>
1167 * objcopy.c (copy_object): Check the error status after marking
1168 symbols used in relocations.
1169 * testsuite/binutils-all/strip-13.s: New test source file.
1170 * testsuite/binutils-all/strip-13.s: New test driver file.
1171 * testsuite/binutils-all/objcopy.exp: Run the new test.
1173 2018-02-26 Alan Modra <amodra@gmail.com>
1175 * testsuite/binutils-all/mips/mips-reginfo-n32.d,
1176 * testsuite/binutils-all/mips/mips-reginfo.d: Update.
1178 2018-02-23 Alan Modra <amodra@gmail.com>
1180 * testsuite/binutils-all/mips/mips-reginfo-n32.d,
1181 * testsuite/binutils-all/mips/mips-reginfo.d: Update.
1183 2018-02-20 Ronald Hoogenboom <hoogenboom30@zonnet.nl>
1185 * doc/binutils.texi (objcopy): Add missing closing square
1186 parenthesis to listing of objcopy's command line options.
1188 2018-02-19 Matthias Klose <doko@debian.org>
1190 * strings.c (long_options): Include-all-whitespace does not take
1193 2018-02-13 Alan Modra <amodra@gmail.com>
1196 * testsuite/binutils-all/group-7.s,
1197 * testsuite/binutils-all/group-7a.d,
1198 * testsuite/binutils-all/group-7b.d,
1199 * testsuite/binutils-all/group-7c.d: New tests.
1200 * testsuite/binutils-all/objcopy.exp: Run them.
1202 2018-02-08 Nick Clifton <nickc@redhat.com>
1205 * dwarf.c (load_separate_debug_file): Return early if the user is
1206 not interested in debug links.
1208 2018-02-06 Nick Clifton <nickc@redhat.com>
1211 * readelf.c (find_section): Replace assertion with test and return
1213 (find_section_by_address): Add test of section header table
1215 (find_section_by_type): Likewise.
1216 (find_section_in_set): Likewise.
1218 2018-02-05 Maciej W. Rozycki <macro@mips.com>
1220 * testsuite/binutils-all/mips/mips-reginfo.d: New test.
1221 * testsuite/binutils-all/mips/mips-reginfo-n32.d: New test.
1222 * testsuite/binutils-all/mips/mips-reginfo.s: New test source.
1223 * testsuite/binutils-all/mips/mips.exp: Run the new tests.
1225 2018-02-05 Maciej W. Rozycki <macro@mips.com>
1227 * testsuite/config/default.exp (binutils_run): Document
1228 `binutils_run_status'.
1229 * testsuite/lib/utils-lib.exp (default_binutils_run): Likewise,
1231 (run_dump_test): Add `error', `error_output', `warning' and
1232 `warning_output' options. Update documentation accordingly.
1234 2018-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
1236 * dwarf.c (dwarf_regnames_riscv): New register name table.
1237 (init_dwarf_regnames_riscv): New function.
1238 (init_dwarf_regnames): Add call to initialise RiscV register
1240 * dwarf.h (init_dwarf_regnames_riscv): Declare.
1241 * objdump.c (dump_dwarf): Add call to initialise RiscV register
1244 2018-02-01 Alan Modra <amodra@gmail.com>
1247 * objdump.c (load_specific_debug_section): Check for overflow
1248 when adding one to section size for a string section terminator.
1250 2018-01-30 Nick Clifton <nickc@redhat.com>
1253 * doc/binutils.texi (nm): Update description to point out that
1254 zero-initialized values can also be shown as type B, b, S or s
1255 since they can be stored in the BSS section.
1257 2018-01-30 Alan Modra <amodra@gmail.com>
1259 * objcopy.c (merge_gnu_build_notes): Use (bfd_vma) -1 as
1260 "artificially large" end address.
1262 2018-01-28 Nick Clifton <nickc@redhat.com>
1264 * README-how-to-make-a-release: Add note about checking gpg key
1265 and the results of gnupload.
1267 2018-01-27 Nick Clifton <nickc@redhat.com>
1269 * README-how-to-make-a-release: Add details on how to actually
1272 2018-01-26 Nick Clifton <nickc@redhat.com>
1274 * README-how-to-make-a-release: Add more details on updating
1277 2018-01-22 Maciej W. Rozycki <macro@mips.com>
1279 * doc/binutils.texi (objcopy): Fix a typo in `--rename-section'
1282 2018-01-22 Maciej W. Rozycki <macro@mips.com>
1284 * MAINTAINERS: Update my company e-mail address.
1286 2018-01-22 Nick Clifton <nickc@redhat.com>
1288 * po/sv.po: Updated Swedish translation.
1290 2018-01-18 Nick Clifton <nickc@redhat.com>
1292 * po/bg.po: Updated Bulgarian translation.
1294 2018-01-16 Joel Brobecker <brobecker@adacore.com>
1296 * README-how-to-make-a-release: Add reminder to update the
1297 branch name in gdbadmin's crontab on sourceware.
1299 2018-01-16 Joel Brobecker <brobecker@adacore.com>
1301 * README-how-to-make-a-release: Remove trailing spaces.
1303 2018-01-16 Nick Clifton <nickc@redhat.com>
1305 * po/fr.po: Updated French translation.
1307 2018-01-15 Nick Clifton <nickc@redhat.com>
1309 * po/uk.po: Updated Ukranian translation.
1311 2018-01-13 Nick Clifton <nickc@redhat.com>
1313 * README-how-to-make-a-release: Update notes.
1314 * po/binutils.pot: Regenerated.
1316 2018-01-13 Nick Clifton <nickc@redhat.com>
1318 * configure: Regenerate.
1320 2018-01-13 Nick Clifton <nickc@redhat.com>
1322 2.30 branch created.
1323 * NEWS: Add marker for 2.30.
1325 2018-01-12 Nick Clifton <nickc@redhat.com>
1327 * README-how-to-make-a-release: Add notes on how to make the
1328 branch and prelease snapshot.
1329 * BRANCHES: Add binutils-2_29-branch.
1331 2018-01-10 Nick Clifton <nickc@redhat.com>
1333 * MAINTAINERS: Note that it is now the configure.ac file and not
1334 the configure.in file that needs to be kept in sync with gcc.
1335 Add a note about sending patches for libiberty to gcc.
1337 2018-01-03 Nick Clifton <nickc@redhat.com>
1339 * objcopy.c (merge_gnu_build_notes): Add cast to maximum address
1342 2018-01-03 Nick Clifton <nickc@redhat.com>
1344 * objcopy.c (objcopy_internal_note): New structure.
1345 (gap_exists): New function.
1346 (is_open_note): New function.
1347 (is_func_note): New function.
1348 (is_64bit): New function.
1349 (merge_gnu_build_notes): Handle v3 notes. Do not merge
1350 if there are relocations against the notes.
1351 * readelf.c (get_note_type): Use short names for build attribute
1353 (print_symbol_for_build_attribute): Rename to
1354 get_symbol_for_build_attribute. Returns the found symbol rather
1356 (print_gnu_build_attribute_description): Maintain address ranges
1357 for function notes as well as global notes. Handle v3 notes.
1358 (print_gnu_build_attribute_name): Use more space for printing the
1360 * testsuite/binutils-all/note-2-32.s: Use .dc.l instead of .word.
1361 Eliminate symbol references in order to remove the need for
1363 * testsuite/binutils-all/note-2-64.s: Likewise.
1364 * testsuite/binutils-all/note-3-32.s: Add a size to the note_1
1366 * testsuite/binutils-all/note-3-64.s: Likewise.
1367 * testsuite/binutils-all/mips/mips-note-2r-n32.d: Update expected
1369 * testsuite/binutils-all/mips/mips-note-2r-n64.d: Likewise.
1370 * testsuite/binutils-all/mips/mips-note-2r.d: Likewise.
1371 * testsuite/binutils-all/note-2-32.d: Likewise.
1372 * testsuite/binutils-all/note-2-64.d: Likewise.
1373 * testsuite/binutils-all/note-3-32.d: Likewise.
1374 * testsuite/binutils-all/note-3-64.d: Likewise.
1375 * testsuite/binutils-all/note-4-64.s: New test. Checks v3 notes.
1376 * testsuite/binutils-all/note-4-32.s: New test.
1377 * testsuite/binutils-all/note-4-64.d: New test result file.
1378 * testsuite/binutils-all/note-4-32.d: New test result file.
1380 2018-01-03 Alan Modra <amodra@gmail.com>
1382 Update year range in copyright notice of all files.
1384 For older changes see ChangeLog-2017
1386 Copyright (C) 2018 Free Software Foundation, Inc.
1388 Copying and distribution of this file, with or without modification,
1389 are permitted in any medium without royalty provided the copyright
1390 notice and this notice are preserved.
1396 version-control: never