1 2018-11-07 Nick Clifton <nickc@redhat.com>
3 * po/pt.po: Updated Portuguese translation.
5 2018-11-06 Roman Bolshakov <r.bolshakov@yadro.com>
6 Saagar Jha <saagar@saagarjha.com>
9 * od-macho.c (printf_version): New.
10 (dump_load_command): Use it to print version. Print sdk version. Print
11 version info for watchOS and tvOS. Print LC_NOTE, LC_BUILD_VERSION.
12 (dump_buld_version): New.
13 (bfd_mach_o_platform_name): New
14 (bfd_mach_o_tool_name): New
16 2018-11-07 Yoshinori Sato <ysato@users.sourceforge.jp>
18 * testsuite/lib/binutils-common.exp: Special section name
21 2018-11-06 H.J. Lu <hongjiu.lu@intel.com>
23 * doc/binutils.texi: Document --enable-x86-feature and
24 --disable-x86-feature options for elfedit.
25 * elfedit.c: Include "config.h" and <sys/mman.h>.
26 (enable_x86_features): New.
27 (disable_x86_features): Likewise.
28 (update_gnu_property): Likewise.
29 (elf_x86_feature): Likewise.
30 (process_file): Call update_gnu_property on ET_EXEC or ET_DYN
32 (command_line_switch): Add OPTION_ENABLE_X86_FEATURE and
33 OPTION_DISABLE_X86_FEATURE.
34 (options): Add--enable-x86-feature and --disable-x86-feature.
36 (main): Handle OPTION_ENABLE_X86_FEATURE and
37 OPTION_DISABLE_X86_FEATURE.
39 2018-11-03 H.J. Lu <hongjiu.lu@intel.com>
41 * elfedit.c (update_elf_header): Move EI_MAG? check to ...
42 (get_file_header): Here.
44 2018-11-02 H.J. Lu <hongjiu.lu@intel.com>
46 * configure.ac (AC_FUNC_MMAP): New.
47 * config.in: Regenerated.
48 * configure: Likewise.
50 2018-11-02 Alan Modra <amodra@gmail.com>
52 * readelf.c (process_section_headers): Don't warn on a zero
53 sh_info or sh_link for any reloc section in an executable or
54 shared library. Do warn for .rel.dyn/.rela.dyn in ET_REL.
56 2018-11-01 Thomas Preud'homme <thomas.preudhomme@linaro.org>
58 * testsuite/config/default.exp: Define LD, LDFLAGS and
60 * testsuite/lib/binutils-common.exp (check_shared_lib_support): Moved
62 (run_dump_test): Set ld to $LD.
64 2018-10-18 Nick Clifton <nickc@redhat.com>
66 * doc/binutils.texi (readelf): Document alternatives to the
67 --unwind option if it is not supported for the target
70 2018-10-16 Alan Modra <amodra@gmail.com>
73 * readelf.c (display_raw_attribute): Correct assertion.
75 2018-10-15 Alan Modra <amodra@gmail.com>
78 * addr2line.c (main): Exit with fatal error if bfd_init
79 returns an unexpected value.
80 * ar.c (main): Likewise.
81 * dlltool.c (identify_dll_for_implib): Likewise.
82 * nm.c (main): Likewise.
83 * objcopy.c (main): Likewise.
84 * objdump.c (main): Likewise.
85 * size.c (main): Likewise.
86 * strings.c (main): Likewise.
87 * windmc.c (main): Likewise.
88 * windres.c (main): Likewise.
90 2018-10-11 Jordan Rupprecht <rupprecht@google.com>
91 Nick Clifton <nickc@redhat.com>
93 * objcopy.c (copy_main): Issue a fata error if the
94 --keep-global-symbol(s) and the --globalize-symbol(s) options are
96 * doc/binutils.texi: Document that the two options are
98 * testsuite/binutils-all/copy-5.d: New test.
99 * testsuite/binutils-all/objcopy.exp: Run the new test.
101 2018-10-10 Helge Deller <deller@gmx.de>
102 Alan Modra <amodra@gmail.com>
104 * readelf.c (hppa_process_unwind): Don't use eh_addr_size to
105 calculate number of entries.
106 (slurp_hppa_unwind_table): Don't use eh_addr_size here either.
108 2018-10-10 Alan Modra <amodra@gmail.com>
110 * objdump.c (dump_dwarf): Set s12z eh_addr_size to 4.
112 2018-10-08 Andreas Schwab <schwab@suse.de>
114 * readelf.c (is_32bit_pcrel_reloc): Handle R_RISCV_32_PCREL.
116 2018-10-03 Nick Clifton <nickc@redhat.com>
118 * po/pt.po: Updated Portuguese translation.
119 * po/fr.po: Updated French translation.
121 2018-09-22 Alan Modra <amodra@gmail.com>
123 * readelf.c (apply_relocations): Don't return FALSE for warnings.
125 2018-09-20 Nelson Chu <nelson.chu1990@gmail.com>
127 * testsuite/binutils-all/objcopy.exp: Set the unsupported reloc number
128 from 215 to 255 for NDS32.
130 2018-09-17 H.J. Lu <hongjiu.lu@intel.com>
132 * objcopy.c (strip_specific_buffer): New.
133 (strip_unneeded_buffer): Likewise.
134 (keep_specific_buffer): Likewise.
135 (localize_specific_buffer): Likewise.
136 (globalize_specific_buffer): Likewise.
137 (keepglobal_specific_buffer): Likewise.
138 (weaken_specific_buffer): Likewise.
139 (add_specific_symbols): Add an argument to return pointer to
141 (copy_main): Update add_specific_symbols to update pointers to
142 allocated buffer. Free pointers to allocated buffer before
145 2018-09-17 Alan Modra <amodra@gmail.com>
147 * objcopy.c (handle_remove_section_option): Don't require a dot
148 after .rela and .rel to handle a possible relocation section.
149 * testsuite/binutils-all/remove-relocs-07.s,
150 * testsuite/binutils-all/remove-relocs-07.d,
151 * testsuite/binutils-all/remove-relocs-08.d: New tests.
152 * testsuite/binutils-all/remove-relocs-01.d,
153 * testsuite/binutils-all/remove-relocs-04.d,
154 * testsuite/binutils-all/remove-relocs-05.d,
155 * testsuite/binutils-all/remove-relocs-06.d: Exclude mips64-openbsd.
157 2018-09-17 Alan Modra <amodra@gmail.com>
159 * testsuite/lib/binutils-common.exp (is_som_format): New proc.
160 (run_dump_test): Correct target test for alternate .comm syntax.
161 (get_standard_section_names): Handle som format.
162 * testsuite/lib/utils-lib.exp (default_binutils_assemble_flags):
163 Correct target test for alternate .comm syntax.
165 2018-09-17 Alan Modra <amodra@gmail.com>
167 * testsuite/binutils-all/strip-13mips64.s: Add section flags
169 * testsuite/binutils-all/strip-13rel.s: Likewise.
170 * testsuite/binutils-all/strip-13rela.s: Likewise.
171 * testsuite/binutils-all/strip-14mips64.s: Likewise.
172 * testsuite/binutils-all/strip-14rel.s: Likewise.
173 * testsuite/binutils-all/strip-14rela.s: Likewise.
174 * testsuite/binutils-all/strip-15mips64.s: Likewise.
175 * testsuite/binutils-all/strip-15rel.s: Likewise.
176 * testsuite/binutils-all/strip-15rela.s: Likewise.
178 2018-09-17 Nick Clifton <nickc@redhat.com>
180 * testsuite/binutils-all/compress.exp: Rename second "objcopy
181 zlib-gnu compress debug sections 3" test to "objcopy zlib-gabi
182 compress debug sections 3" and use gabi object files instead
184 * testsuite/binutils-all/objcopy.exp: Add suffix to the names
185 of the "ELF group" tests.
186 * testsuite/binutils-all/readelf.exp (proc readelf_find_size):
187 Add an iteration parameter and include it in the name of the
188 test. Update callers to include an iteration count.
190 2018-09-15 Alan Modra <amodra@gmail.com>
192 * testsuite/binutils-all/add-symbol.d: Add "section_subst: no".
193 * testsuite/binutils-all/elfedit.exp: Don't set tempfile or copyfile.
194 * testsuite/binutils-all/symbols-1.d,
195 * testsuite/binutils-all/symbols-2.d,
196 * testsuite/binutils-all/symbols-3.d,
197 * testsuite/binutils-all/symbols-4.d: Quote '*' and '!'.
198 * testsuite/binutils-all/add-empty-section.d,
199 * testsuite/binutils-all/add-section.d,
200 * testsuite/binutils-all/elfedit.exp,
201 * testsuite/binutils-all/note-1.d,
202 * testsuite/binutils-all/pr23633.d: Add $subdir after $srcdir.
203 * testsuite/config/default.exp (AS, ASFLAGS): Define.
204 * testsuite/config/hppa.sed: Handle all common symbols.
205 * testsuite/lib/binutils-common.exp (run_dump_test): New proc,
206 merged from three other versions.
207 (slurp_options, file_contents, set_file_contents): Likewise.
208 (big_or_little_endian, get_standard_section_names): Likewise.
209 * testsuite/lib/utils-lib.exp (run_dump_test): Delete.
210 (slurp_options, proc file_contents): Delete.
211 (get_standard_section_names): Delete.
213 2018-09-15 Alan Modra <amodra@gmail.com>
215 * testsuite/binutils-all/copy-2.d,
216 * testsuite/binutils-all/copy-3.d,
217 * testsuite/binutils-all/copy-4.d,
218 * testsuite/binutils-all/elfedit-1.d,
219 * testsuite/binutils-all/note-1.d,
220 * testsuite/binutils-all/note-2-64.d,
221 * testsuite/binutils-all/strip-11.d,
222 * testsuite/binutils-all/strip-13.d,
223 * testsuite/binutils-all/strip-14.d,
224 * testsuite/binutils-all/testranges.d,
225 * testsuite/binutils-all/x86-64/pr23494a-x32.d,
226 * testsuite/binutils-all/x86-64/pr23494a.d,
227 * testsuite/binutils-all/x86-64/pr23494b-x32.d,
228 * testsuite/binutils-all/x86-64/pr23494b.d,
229 * testsuite/binutils-all/x86-64/pr23494c-x32.d,
230 * testsuite/binutils-all/x86-64/pr23494c.d,
231 * testsuite/binutils-all/x86-64/pr23494d-x32.d,
232 * testsuite/binutils-all/x86-64/pr23494d.d,
233 * testsuite/binutils-all/x86-64/pr23494e-x32.d,
234 * testsuite/binutils-all/x86-64/pr23494e.d,
235 * testsuite/lib/utils-lib.exp (run_dump_test): Replace not-target
236 and not-skip with notarget and noskip.
238 2018-09-15 Alan Modra <amodra@gmail.com>
240 * testsuite/binutils-all/group-7a.d,
241 * testsuite/binutils-all/group-7b.d,
242 * testsuite/binutils-all/group-7c.d,
243 * testsuite/binutils-all/symbols-1.d,
244 * testsuite/binutils-all/symbols-2.d,
245 * testsuite/binutils-all/symbols-3.d,
246 * testsuite/binutils-all/symbols-4.d: Remove DUMPPROG.
248 2018-09-14 Alan Modra <amodra@gmail.com>
251 * testsuite/binutils-all/pr23633.d: Don't fail when assembler
252 generates sections other than .text.
254 2018-09-13 H.J. Lu <hongjiu.lu@intel.com>
257 * testsuite/binutils-all/objcopy.exp: Run pr23633.
258 * testsuite/binutils-all/pr23633.d: New file.
259 * testsuite/binutils-all/pr23633.list: Likewise.
260 * testsuite/binutils-all/pr23633.s: Likewise.
262 2018-09-13 Nick Clifton <nickc@redhat.com>
265 * objcopy.c (add_specific_symbols): Do not free the buffer at the
268 2018-09-10 Alan Modra <amodra@gmail.com>
271 * objcopy.c (handle_remove_section_option): Consider .rela and
272 .rel sections for stripping directly as well as attached to the
273 associated section they relocate.
274 * doc/binutils.texi (remove-relocations): Specify that this
275 option removes non-dynamic relocation sections.
276 * testsuite/binutils-all/objcopy.exp
277 (objcopy_remove_relocations_from_executable): New test.
279 2018-09-03 Nick Clifton <nickc@redhat.com>
281 * po/ja.po: Updated Japanese translation.
283 2018-08-31 H.J. Lu <hongjiu.lu@intel.com>
285 * testsuite/binutils-all/readelf.s-64: Adjusted for
286 .note.gnu.property section.
287 * testsuite/binutils-all/strip-3.d: Also strip
288 .note.gnu.property section.
290 2018-08-31 H.J. Lu <hongjiu.lu@intel.com>
292 * testsuite/binutils-all/i386/compressed-1b.d: Pass
293 -mx86-used-note=no to assembler.
294 * testsuite/binutils-all/i386/compressed-1c.d: Likewise.
295 * testsuite/binutils-all/x86-64/compressed-1b.d: Likewise.
296 * testsuite/binutils-all/x86-64/compressed-1c.d: Likewise.
297 * testsuite/binutils-all/i386/empty.d: Pass -mx86-used-note=yes
298 to assembler and update expected output from "readelf -n".
299 * testsuite/binutils-all/i386/ibt.d: Likewise.
300 * testsuite/binutils-all/i386/pr21231a.d: Likewise.
301 * testsuite/binutils-all/i386/pr21231b.d: Likewise.
302 * testsuite/binutils-all/i386/shstk.d: Likewise.
303 * testsuite/binutils-all/x86-64/empty-x32.d: Likewise.
304 * testsuite/binutils-all/x86-64/empty.d: Likewise.
305 * testsuite/binutils-all/x86-64/ibt-x32.d: Likewise.
306 * testsuite/binutils-all/x86-64/ibt.d: Likewise.
307 * testsuite/binutils-all/x86-64/pr21231a.d: Likewise.
308 * testsuite/binutils-all/x86-64/pr21231b.d: Likewise.
309 * testsuite/binutils-all/x86-64/pr23494a-x32.d: Likewise.
310 * testsuite/binutils-all/x86-64/pr23494a.d: Likewise.
311 * testsuite/binutils-all/x86-64/pr23494b-x32.d: Likewise.
312 * testsuite/binutils-all/x86-64/pr23494b.d: Likewise.
313 * testsuite/binutils-all/x86-64/pr23494c-x32.d: Likewise.
314 * testsuite/binutils-all/x86-64/pr23494c.d: Likewise.
315 * testsuite/binutils-all/x86-64/pr23494d-x32.d: Likewise.
316 * testsuite/binutils-all/x86-64/pr23494d.d: Likewise.
317 * testsuite/binutils-all/x86-64/pr23494e-x32.d: Likewise.
318 * testsuite/binutils-all/x86-64/pr23494e.d: Likewise.
319 * testsuite/binutils-all/x86-64/shstk-x32.d: Likewise.
320 * testsuite/binutils-all/x86-64/shstk.d: Likewise.
322 2018-08-30 H.J. Lu <hongjiu.lu@intel.com>
324 * readelf.c (process_section_headers): Treat SHT_FINI_ARRAY and
325 SHT_PREINIT_ARRAY as relocatable sections.
327 2018-08-30 Chenghua Xu <paul.hua.gm@gmail.com>
329 * MAINTAINERS: Add myself as a MIPS port maintainer.
331 2018-08-29 Chenghua Xu <paul.hua.gm@gmail.com>
333 * NEWS: Mention Loongson 2K1000 proccessor support.
334 * readelf.c (get_machine_flags): Handle gs264e.
336 2018-08-29 Chenghua Xu <paul.hua.gm@gmail.com>
338 * NEWS: Mention Loongson 3A2000/3A3000 proccessor support.
339 * readelf.c (get_machine_flags): Handle gs464e.
341 2018-08-29 Chenghua Xu <paul.hua.gm@gmail.com>
343 * NEWS: Mention Loongson 3A1000 proccessor support.
344 * readelf.c (get_machine_flags): Rename loongson-3a to gs464.
345 (print_mips_isa_ext): Delete AFL_EXT_LOONGSON_3A.
347 2018-08-29 Chenghua Xu <paul.hua.gm@gmail.com>
349 * readelf.c (print_mips_ases): Add Loongson EXT2 extension.
351 2018-08-29 Chenghua Xu <paul.hua.gm@gmail.com>
353 * readelf.c (print_mips_ases): Add Loongson EXT extension.
355 2018-08-29 Chenghua Xu <paul.hua.gm@gmail.com>
357 * readelf.c (print_mips_ases): Add CAM extension.
359 2018-08-27 H.J. Lu <hongjiu.lu@intel.com>
361 * readelf.c (decode_x86_isa): Print <None> if bitmask only
362 contains the GNU_PROPERTY_X86_UINT32_VALID bit.
363 (decode_x86_feature_1): Likewise.
364 (decode_x86_feature_2): Likewise.
365 (print_gnu_property_note): Don't mask out the
366 GNU_PROPERTY_X86_UINT32_VALID bit.
367 * testsuite/binutils-all/i386/pr21231b.d: Updated.
368 * testsuite/binutils-all/x86-64/pr21231b.d: Likewise.
370 2018-08-27 H.J. Lu <hongjiu.lu@intel.com>
372 * readelf.c (decode_x86_compat_isa): Break multi-statement line.
373 (decode_x86_isa): Likewise.
374 (decode_x86_feature_2): Likewise.
376 2018-08-25 H.J. Lu <hongjiu.lu@intel.com>
379 * readelf.c (get_symbol_version_string): Return _("<corrupt>")
380 for corrupt symbol version info.
382 2018-08-24 H.J. Lu <hongjiu.lu@intel.com>
384 * readelf.c (decode_x86_compat_isa): New function.
385 (decode_x86_feature_2): Likewise.
386 (decode_x86_isa): Updated for new X86_ISA_1_XXX bits.
387 (decode_x86_feature): Renamed to ...
388 (decode_x86_feature_1): This. Remove the type argument.
389 (print_gnu_property_note): Handle X86_COMPAT_ISA_1_USED,
390 X86_COMPAT_ISA_1_NEEDED, X86_UINT32_AND_LO, X86_UINT32_AND_HI,
391 X86_UINT32_OR_LO, X86_UINT32_OR_HI, X86_UINT32_OR_AND_LO and
392 X86_UINT32_OR_AND_HI instead of X86_ISA_1_USED, X86_ISA_1_NEEDED
393 and X86_FEATURE_1_AND.
394 * testsuite/binutils-all/i386/pr21231b.s: Updated to the current
395 GNU_PROPERTY_X86_ISA_1_USED and GNU_PROPERTY_X86_ISA_1_NEEDED
397 * testsuite/binutils-all/x86-64/pr21231b.s: Likewise.
398 * testsuite/binutils-all/x86-64/pr23494a.s: Likewise.
399 * testsuite/binutils-all/x86-64/pr23494b.s: Likewise.
400 * testsuite/binutils-all/x86-64/pr23494c.s: Likewise.
401 * testsuite/binutils-all/i386/pr21231b.d: Updated.
402 * testsuite/binutils-all/x86-64/pr21231b.d: Likewise.
403 * testsuite/binutils-all/x86-64/pr23494a-x32.d: Likewise.
404 * testsuite/binutils-all/x86-64/pr23494a.d: Likewise.
405 * testsuite/binutils-all/x86-64/pr23494c-x32.d: Likewise.
406 * testsuite/binutils-all/x86-64/pr23494c.d: Likewise.
407 * testsuite/binutils-all/x86-64/pr23494d-x32.d: Likewise.
408 * testsuite/binutils-all/x86-64/pr23494d.d: Likewise.
409 * testsuite/binutils-all/x86-64/pr23494e-x32.d: Likewise.
410 * testsuite/binutils-all/x86-64/pr23494e.d: Likewise.
412 2018-08-24 H.J. Lu <hongjiu.lu@intel.com>
414 * readelf.c (print_gnu_property_note): Check the
415 GNU_PROPERTY_X86_UINT32_VALID bit for invalid GNU property note.
417 2018-08-23 Alan Modra <amodra@gmail.com>
419 * readelf.c (get_ppc64_symbol_other): Return NULL if st_other
420 field contains unrecognised or reserved values. Handle
423 2018-08-23 H.J. Lu <hongjiu.lu@intel.com>
426 * Makefile.am (development.exp): New target.
427 (EXTRA_DEJAGNU_SITE_CONFIG): New.
428 (DISTCLEANFILES): Add development.exp.
429 * Makefile.in: Regenerated.
430 * testsuite/binutils-all/objcopy.exp (strip_test): Call
431 prune_warnings to prune BFD output.
432 (strip_test_with_saving_a_symbol): Likewise.
433 (objcopy_test_without_global_symbol): Likewise.
434 * testsuite/lib/binutils-common.exp (prune_warnings_extra):
436 (prune_warnings): Likewise.
438 2018-08-23 H.J. Lu <hongjiu.lu@intel.com>
440 * README-how-to-make-a-release: Document setting "experimental"
443 2018-08-22 Alan Modra <amodra@gmail.com>
445 * readelf.c (process_file_header): Assign updated values from
446 section_header[0] fields to e_phnum, e_shnum and e_shstrndx
447 during printing of header. Correct e_shstrndx range check.
448 Remove unnecessary casts and use %u rather than %ld for
449 unsigned int header fields. Don't print a random %lx when
450 reporting an unknown EI_VERSION.
452 2018-08-21 Nick Clifton <nickc@redhat.com>
454 * MAINTAINERS: Note that Arnold Metselaar has retired as the z80
457 2018-08-21 L. Simon <l.simon@samsung.com>
460 * readelf.c (hppa_process_unwind): Only dump the unwind table if
461 the data was successfully read in.
463 2018-08-18 Alan Modra <amodra@gmail.com>
465 * testsuite/lib/binutils-common.exp (is_elf64): Use directory of
466 input file for readelf.out.
468 * testsuite/binutils-all/objcopy.exp (elf64): Set new variable
469 from first result of is_elf64 test.
470 (reloc_format): Set using is_rela.
471 (strip-13): Pass RELOC and ELF64 to assembler.
472 (strip-14, strip-15): Use elf64 rather than calling is_elf64 again.
473 * testsuite/binutils-all/strip-13.d: Run for more targets.
474 * testsuite/binutils-all/strip-13mips64.s: Use RELOC and set
476 * testsuite/binutils-all/strip-13rel.s: Use RELOC and ELF64.
477 Don't add _NONE reloc.
478 * testsuite/binutils-all/strip-13rela.s: Likewise.
480 2018-08-10 H.J. Lu <hongjiu.lu@intel.com>
483 * testsuite/binutils-all/x86-64/pr23494c.s: New file.
484 * testsuite/binutils-all/x86-64/pr23494e-x32.d: Likewise.
485 * testsuite/binutils-all/x86-64/pr23494e.d: Likewise.
487 2018-08-10 H.J. Lu <hongjiu.lu@intel.com>
489 * testsuite/binutils-all/x86-64/pr23494a-x32.d: Skip nacl
491 * testsuite/binutils-all/x86-64/pr23494a.d: Likewise.
492 * testsuite/binutils-all/x86-64/pr23494b-x32.d: Likewise.
493 * testsuite/binutils-all/x86-64/pr23494b.d: Likewise.
494 * testsuite/binutils-all/x86-64/pr23494c-x32.d: Likewise.
495 * testsuite/binutils-all/x86-64/pr23494c.d: Likewise.
496 * testsuite/binutils-all/x86-64/pr23494d-x32.d: Likewise.
497 * testsuite/binutils-all/x86-64/pr23494d.d: Likewise.
499 2018-08-08 H.J. Lu <hongjiu.lu@intel.com>
502 * testsuite/binutils-all/x86-64/pr23494a-x32.d: New file.
503 * testsuite/binutils-all/x86-64/pr23494a.d: Likewise.
504 * testsuite/binutils-all/x86-64/pr23494a.s: Likewise.
505 * testsuite/binutils-all/x86-64/pr23494b-x32.d: Likewise.
506 * testsuite/binutils-all/x86-64/pr23494b.d: Likewise.
507 * testsuite/binutils-all/x86-64/pr23494b.s: Likewise.
508 * testsuite/binutils-all/x86-64/pr23494c-x32.d: Likewise.
509 * testsuite/binutils-all/x86-64/pr23494c.d: Likewise.
510 * testsuite/binutils-all/x86-64/pr23494d-x32.d: Likewise.
511 * testsuite/binutils-all/x86-64/pr23494d.d: Likewise.
513 2018-08-08 Kevin Buettner <kevinb@redhat.com>
515 * dwarf.c (decode_location_expresion): Add case for
516 DW_OP_GNU_variable_value.
518 2018-08-06 Claudiu Zissulescu <claziss@synopsys.com>
520 * readelf.c (display_arc_attribute): Print Tag_ARC_ATR_version.
522 2018-08-03 Nick Clifton <nickc@redhat.com>
524 * objcopy.c (merge_gnu_build_notes): Delete empty notes. Merge
525 identical function notes.
527 2018-08-01 Nick Clifton <nickc@redhat.com>
529 * README-how-to-make-a-release: Add note about regenerating the
530 info files prior to the release.
532 2018-07-30 Andrew Jenner <andrew@codesourcery.com>
534 * MAINTAINERS (C-SKY): Add Yunhai Shang as co-maintainer.
536 2018-07-30 Andrew Jenner <andrew@codesourcery.com>
538 * MAINTAINERS (C-SKY): Add Lifang Xia as maintainer.
540 2018-07-30 Andrew Jenner <andrew@codesourcery.com>
542 * readelf.c: Include elf/csky.h.
543 (guess_is_rela): Handle EM_CSKY.
544 (dump_relocations): Likewise.
545 (get_machine_name): Likewise.
546 (is_32bit_abs_reloc): Likewise.
548 2018-07-25 Nick Clifton <nickc@redhat.com>
550 * rdcoff.c (parse_coff_struct_type): Free fields array upon early
552 (parse_coff_enum_type): Free names and vals arrays upon early
554 * rddbg.c (read_section_stabs_debugging_info): Free shandle and
555 strings and stabs arrays upon early exit.
556 * readelf.c (get_32bit_section_headers): Free shdrs structure upon
558 (get_64bit_section_headers): Likewise.
559 (get_32bit_elf_symbols): Generate an error if multiple symbol
560 table index sections are associated with the same symbol section.
561 (get_64bit_elf_symbols): Likewise.
562 (process_dynamic_section): Generate an error if there are multiple
563 dynamic symbol table sections, multiple dynamic string tables or
564 multiple dynamic symbol information sections.
566 2018-07-24 Nick Clifton <nickc@redhat.com>
568 * po/sv.po: Updated Swedish translation.
570 2018-07-24 Alan Modra <amodra@gmail.com>
573 * dwarf.c (display_formatted_table): Replace "what" parameter
574 with "is_dir". Expand messages. Fix capitalisation.
575 * testsuite/binutils-all/dw5.W: Update expected output.
577 2018-07-24 Alan Modra <amodra@gmail.com>
580 * elfcomm.h (struct archive_info): Rename uses_64bit_indicies
581 to uses_64bit_indices.
582 * elfcomm.c (setup_archive): Update uses of above.
583 * readelf.c (process_archive): Likewise.
584 (get_section_type_name): Rename indicies to indices.
585 (get_32bit_elf_symbols, get_64bit_elf_symbols): Likewise.
586 (process_section_groups): Likewise.
588 2018-07-20 Maciej W. Rozycki <macro@mips.com>
590 * MAINTAINERS: Update my e-mail address, downgrade to MIPS I-IV
593 2018-07-20 Nick Clifton <nickc@redhat.com>
595 * objcopy.c (add_specific_symbols): Free buffer on exit.
596 (add_redefine_syms_file): Close file handle on exit.
597 (copy_object): Close file handle on early exit.
598 Free buffer on early exit.
599 Free gaps buffers once they are no longer needed.
600 * dwarf.c (display_debug_frames): Free allocated memory on exit.
601 (load_separate_debug_info): Free allocate memory on early exit.
603 2018-07-20 Chenghua Xu <paul.hua.gm@gmail.com>
604 Maciej W. Rozycki <macro@mips.com>
606 * readelf.c (print_mips_ases): Add MMI extension.
608 2018-07-19 DJ Delorie <dj@redhat.com>
610 * MAINTAINERS (RL78, RX): Remove myself as maintainer.
612 2018-07-19 Nick Clifton <nickc@redhat.com>
614 * dwarf.c (read_cie): Free allocated memory before returning with
617 2018-07-16 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
619 * readelf.c (get_note_type): Fix typo in NT_PPC_TM_CVSX note
622 2018-07-16 Nick Clifton <nickc@redhat.com>
624 * README-how-to-make-a-release: Add note to check for new top
625 level files and add them to the src-release.sh script.
627 2018-07-14 Nick Clifton <nickc@redhat.com>
629 * README-how-to-make-a-release: Updated with corrections based on
630 the 2.31 release experience.
632 2018-07-12 Francois H. Theron <francois.theron@netronome.com>
634 * readelf.c (process_section_headers): Don't print section type
635 twice for --section-details.
637 2018-07-10 Alan Modra <amodra@gmail.com>
639 * testsuite/lib/binutils-common.exp (supports_gnu_unique): Return
642 2018-07-06 Nick Clifton <nickc@redhat.com>
644 * readelf.c (same_section): New function.
645 (print_gnu_build_attribute_description): Do not complain about
646 gaps that cross a section boundary.
648 2018-07-05 Nick Clifton <nickc@redhat.com>
650 * po/bg.po: Updated Bulgarian translation.
652 2018-07-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
654 * NEWS: Use command-line consistently when used in a compount word.
655 * doc/binutils.texi: Likewise and fix trailing whitespace on same
658 2018-06-26 Nick Clifton <nickc@redhat.com>
660 * po/sv.po: Updated Swedish translation.
661 * po/uk.po: Updated Ukranian translation.
663 2018-06-26 Nick Clifton <nickc@redhat.com>
665 * doc/binutils.texi: Fix spelling mistakes.
666 * README--how-to-make-a-release: Likewise.
668 2018-06-25 Tom Tromey <tom@tromey.com>
670 * dwarf-mode.el (dwarf-mode-syntax-table): New variable.
673 2018-06-24 Nick Clifton <nickc@redhat.com>
675 * README-how-to-make-a-release: Update with experiences from
677 * po/binutils.pot: Regenerate.
678 * configure: Regenerate.
680 2018-06-24 Nick Clifton <nickc@redhat.com>
683 * NEWS: Add marker for 2.31.
685 2018-06-21 Alan Modra <amodra@gmail.com>
687 * doc/Makefile.am (AUTOMAKE_OPTIONS): Add "foreign".
688 * doc/Makefile.in: Regenerate.
690 2018-06-19 Simon Marchi <simon.marchi@ericsson.com>
692 * configure.ac: Remove AC_PREREQ.
693 * doc/Makefile.am (AUTOMAKE_OPTIONS): Remove cygnus, add
694 info-in-builddir no-texinfo.tex.
695 * Makefile.in: Re-generate.
696 * aclocal.m4: Re-generate.
697 * config.in: Re-generate.
698 * configure: Re-generate.
699 * doc/Makefile.in: Re-generate.
701 2018-06-19 Andreas Schwab <schwab@suse.de>
703 * readelf.c (is_16bit_abs_reloc): Handle R_RISCV_SET16.
704 (is_8bit_abs_reloc): New function.
705 (is_6bit_abs_reloc): New function.
706 (is_6bit_inplace_sub_reloc): New function.
707 (apply_relocations): Use them. Handle 6-bit relocations.
709 2018-06-14 Faraz Shahbazker <Faraz.Shahbazker@mips.com>
711 * readelf.c (print_mips_ases): Add GINV extension.
713 2018-06-14 H.J. Lu <hongjiu.lu@intel.com>
716 * readelf.c (get_symbol_version_string): Check if the first
717 symbol version is base version.
719 2018-06-13 Scott Egerton <scott.egerton@imgtec.com>
720 Faraz Shahbazker <Faraz.Shahbazker@mips.com>
722 * readelf.c (print_mips_ases): Add CRC.
724 2018-06-13 Nick Clifton <nickc@redhat.com>
726 * doc/binutils.texi (objdump): Add missing closing square
727 parenthesis to listing of objcopy's command line options.
729 2018-06-11 Nick Clifton <nickc@redhat.com>
731 * po/es.po: Updated Spanish translation.
733 2018-06-01 H.J. Lu <hongjiu.lu@intel.com>
735 * configure: Regenerated.
737 2018-05-31 Alan Modra <amodra@gmail.com>
739 * testsuite/binutils-all/compress.exp (test_gnu_debuglink): Don't
740 set CC_FOR_TARGET. Run test non-native.
741 * testsuite/binutils-all/objdump.exp (test_build_id_debuglink):
743 (test_follow_debuglink): Run test non-native.
745 2018-05-30 Ant Bikeneev <ant.bikineev@gmail.com>
748 * ar.c (display_offsets): New variable.
749 (usage): Add description of 'O' operator.
750 (decode_option): Handle 'O' operator.
751 (print_descr): Pass display_offsets to print_arelt_descr.
752 * arsup.c: Update call to printy_arelt_descr.
753 * objdump.c: Likewise.
754 * bucomm.c (print_arelt_descr): If offsets parameter is true then
755 display offset of archive element within the archive.
756 * bucomm.h: Update prototype for print_arelt_descr.
757 * doc/binutils.texi: Update description of ar command.
758 * NEWS: Mention the new feature.
759 * testsuite/binutils-all/ar.exp: Add text of new feature.
761 2018-05-28 Alan Modra <amodra@gmail.com>
764 * testsuite/binutils-all/compress.exp (test_gnu_debuglink): Return
765 unsupported rather than fail on compile errors.
766 * testsuite/binutils-all/objdump.exp (test_build_id_debuglink):
767 Likewise. Save and restore CFLAGS_FOR_TARGET.
769 2018-05-18 Kito Cheng <kito.cheng@gmail.com>
771 * readelf.c (get_machine_flags): Handle EF_RISCV_RVE.
773 2018-05-18 John Darrington <john@darrington.wattle.id.au>
775 * readelf.c: Add support for s12z architecture.
776 * testsuite/lib/binutils-common.exp (is_elf_format): Excluse s12z
779 2018-05-15 Tamar Christina <tamar.christina@arm.com>
782 * doc/binutils.texi (-M): Document AArch64 options.
784 2018-05-15 Tamar Christina <tamar.christina@arm.com>
787 * doc/binutils.texi (-M): Document AArch64 options.
788 * NEWS: Document notes and warnings.
790 2018-05-15 Alan Modra <amodra@gmail.com>
792 * testsuite/lib/binutils-common.exp (is_elf_format): Add chorus,
793 cloudabi, fuchsia, kaos and nto. Merge netbsdelf* into *elf*,
794 and *uclinux* into *linux*.
795 * testsuite/binutils-all/objcopy.exp: Accept armeb for rel
796 strip-13 test, exclude arm-vxworks and arm-windiss.
798 2018-05-10 John Darrington <john@darrington.wattle.id.au>
800 * readelf.c (get_machine_name): EM_S12Z - handle new case.
802 2018-05-09 Alan Modra <amodra@gmail.com>
804 * od-macho.c (dump_unwind_encoding_x86): Fix typo in last patch.
806 2018-05-09 Sebastian Rasmussen <sebras@gmail.com>
808 * od-macho.c (dump_unwind_encoding_x86): Adjust for macro renaming.
810 2018-05-08 Alan Modra <amodra@gmail.com>
813 * objcopy.c (is_strip_section): Strip groups without a valid
816 2018-05-07 Alan Modra <amodra@gmail.com>
819 * objcopy.c (group_signature): Don't accept groups that use a
820 symbol table other than the one we've read.
822 2018-04-30 Francois H. Theron <francois.theron@netronome.com>
824 * readelf.c: Very basic support for EM_NFP and its section types.
825 * testsuite/binutils-all/nfp: New directory.
826 * testsuite/binutils-all/nfp/objdump.exp: New file. Run new
828 * testsuite/binutils-all/nfp/test2_ctx8.d: New file.
829 * testsuite/binutils-all/nfp/test2_no-pc_ctx4.d: New file.
830 * testsuite/binutils-all/nfp/test1.d: New file.
831 * testsuite/binutils-all/nfp/nfp6000.nffw: New file.
832 * testsuite/binutils-all/nfp/test2_nfp6000.nffw: New file.
833 * NEWS: Mention the new support.
835 2018-04-27 Maciej W. Rozycki <macro@mips.com>
837 * testsuite/lib/binutils-common.exp (match_target): New procedure.
838 * testsuite/lib/utils-lib.exp (run_dump_test): Use it in place
839 of `istarget' for matching with `target', `not-target', `skip'
840 and `not-skip' options.
842 2018-04-26 Nick Clifton <nickc@redhat.com>
844 * readelf.c (is_32bit_abs_reloc): Support R_PARISC_DIR32 as a
845 32-bit absolute reloc for the HPPA target.
846 * testsuite/binutils-all/note-5.d: New test.
847 * testsuite/binutils-all/note-5.s: Source file for new test.
848 * testsuite/binutils-all/objcopy.exp: Run new test.
850 2018-04-25 Christophe Lyon <christophe.lyon@st.com>
852 * testsuite/binutils-all/elfedit-2.d: Accept arm*-*-uclinuxfdpiceabi.
853 * testsuite/binutils-all/elfedit-3.d: Likewise.
854 * testsuite/binutils-all/objcopy.exp: Likewise.
855 * testsuite/binutils-all/strip-3.d: Likewise.
856 * testsuite/lib/binutils-common.exp: Likewise.
858 2018-04-25 Christophe Lyon <christophe.lyon@st.com>
859 Mickaël Guêné <mickael.guene@st.com>
861 * readelf.c (decode_ARM_machine_flags): Support EF_ARM_PIC.
862 (get_osabi_name): Support ELFOSABI_ARM_FDPIC.
864 2018-04-25 Alan Modra <amodra@gmail.com>
866 * testsuite/binutils-all/arm/objdump.exp: Remove arm-aout and
868 * testsuite/binutils-all/objcopy.exp: Likewise.
869 * testsuite/lib/binutils-common.exp: Likewise.
871 2018-04-18 Nick Clifton <nickc@redhat.com>
874 * dwarf.c (read_and_display_attr_value): Replace assertions with
875 test and warning message.
877 2018-04-18 Alan Modra <amodra@gmail.com>
879 * testsuite/lib/binutils-common.exp: Remove support for assorted
882 2018-04-17 Nick Clifton <nickc@redhat.com>
885 * readelf.c (print_symbol): If the width is zero, return straight
889 * dwarf.c (process_cu_tu_index): Test for a potential buffer
890 overrun before copying signature pointer.
892 2018-04-17 Alan Modra <amodra@gmail.com>
894 * readelf.c: Revert 2018-04-16 and 2018-04-11 changes.
896 2018-04-16 Alan Modra <amodra@gmail.com>
898 * readelf.c (get_machine_name): Correct typo.
900 2018-04-16 Alan Modra <amodra@gmail.com>
902 * configure.ac: Remove arm-epoc-pe support.
903 * dlltool.c: Likewise.
904 * configure: Regenerate.
906 2018-04-16 Alan Modra <amodra@gmail.com>
908 * testsuite/lib/binutils-common.exp: Remove sparc-aout and
911 2018-04-16 Alan Modra <amodra@gmail.com>
913 * testsuite/binutils-all/copy-2.d: Remove m68k-aout and m68k-coff
915 * testsuite/binutils-all/copy-3.d: Likewise.
916 * testsuite/binutils-all/objcopy.exp: Likewise.
917 * testsuite/lib/binutils-common.exp: Likewise.
919 2018-04-16 Alan Modra <amodra@gmail.com>
921 * testsuite/binutils-all/objcopy.exp: Remove sh5 and sh64 support.
923 2018-04-16 Alan Modra <amodra@gmail.com>
925 * testsuite/binutils-all/objcopy.exp: Remove w65 support.
927 2018-04-16 Alan Modra <amodra@gmail.com>
929 * testsuite/binutils-all/objdump.exp: Remove we32k support.
931 2018-04-16 Alan Modra <amodra@gmail.com>
933 * MAINTAINERS (Mark Kettenis): Move to past maintainers.
934 * testsuite/binutils-all/objdump.exp: Remove m88k support.
936 2018-04-16 Alan Modra <amodra@gmail.com>
938 * readelf.c: Remove i370 support.
939 * testsuite/binutils-all/objdump.exp: Likewise.
941 2018-04-16 Alan Modra <amodra@gmail.com>
943 * testsuite/binutils-all/objcopy.exp: Remove h8500 support.
944 * testsuite/lib/binutils-common.exp: Likewise.
946 2018-04-16 Alan Modra <amodra@gmail.com>
948 * testsuite/binutils-all/objcopy.exp: Remove h8300-coff support.
950 2018-04-16 Alan Modra <amodra@gmail.com>
952 * Makefile.am: Remove IEEE 695 support.
954 * doc/binutils.texi: Likewise.
955 * makefile.vms: Likewise.
956 * objcopy.c: Likewise.
957 * objdump.c: Likewise.
960 * Makefile.in: Regenerate.
961 * po/POTFILES.in: Regenerate.
963 2018-04-16 Alan Modra <amodra@gmail.com>
965 * testsuite/binutils-all/copy-2.d: Remove newsos3 support.
966 * testsuite/binutils-all/nm.exp: Likewise.
968 2018-04-16 Alan Modra <amodra@gmail.com>
970 * .gitignore: Remove netware support.
971 * Makefile.am: Likewise.
972 * configure.ac: Likewise.
973 * doc/Makefile.am: Likewise.
974 * doc/binutils.texi: Likewise.
975 * testsuite/binutils-all/nm.exp: Likewise.
978 * nlmheader.y: Delete.
979 * Makefile.in: Regenerate.
980 * configure: Regenerate.
981 * doc/Makefile.in: Regenerate.
982 * po/POTFILES.in: Regenerate.
984 2018-04-16 Alan Modra <amodra@gmail.com>
986 * testsuite/binutils-all/objdump.exp: Remove tahoe support.
988 2018-04-14 Alan Modra <amodra@gmail.com>
990 * readelf.c (get_machine_name): Revert 2018-04-11 change.
992 2018-04-12 Nick Clifton <nickc@redhat.com>
995 * readelf.c (process_dynamic_section): Correct dynamic string
996 table size calculation.
998 2018-04-11 Alan Modra <amodra@gmail.com>
1000 * ieee.c: Remove i960 support.
1001 * od-macho.c: Remove i860 support.
1002 * readelf.c: Remove i860 and i960 support.
1003 * testsuite/binutils-all/objcopy.exp: Likewise.
1004 * testsuite/binutils-all/objdump.exp: Likewise.
1005 * testsuite/lib/binutils-common.exp: Likewise.
1007 2018-04-11 Maciej W. Rozycki <macro@mips.com>
1009 * testsuite/lib/binutils-common.exp (is_elf_format): Also return
1010 1 for `*-*-lynxos*' and `*-*-symbianelf*' targets.
1012 2018-04-10 Alan Modra <amodra@gmail.com>
1014 * testsuite/binutils-all/objcopy.exp (strip-14, strip-15): Choose
1015 reloc=11 for pru and reloc=50 for nds32.
1016 * testsuite/binutils-all/strip-15.d: Accept 0xb reloc number.
1018 2018-04-09 Maciej W. Rozycki <macro@mips.com>
1020 * testsuite/binutils-all/strip-15.d: New test.
1021 * testsuite/binutils-all/strip-15rel.s: New test source.
1022 * testsuite/binutils-all/strip-15rela.s: New test source.
1023 * testsuite/binutils-all/strip-15mips64.s: New test source.
1024 * testsuite/binutils-all/objcopy.exp: Run the new test.
1026 2018-04-09 Maciej W. Rozycki <macro@mips.com>
1028 * testsuite/binutils-all/strip-14.d: New test.
1029 * testsuite/binutils-all/strip-14rel.s: New test source.
1030 * testsuite/binutils-all/strip-14rela.s: New test source.
1031 * testsuite/binutils-all/strip-14mips64.s: New test source.
1032 * testsuite/binutils-all/objcopy.exp: Run the new test.
1034 2018-04-06 Tom Tromey <tom@tromey.com>
1036 * dwarf.c (read_and_display_attr_value): Add missing DW_LANG
1037 constants from DWARF 5.
1039 2018-04-05 H.J. Lu <hongjiu.lu@intel.com>
1042 * configure: Regenerated.
1044 2018-04-05 Maciej W. Rozycki <macro@mips.com>
1046 * testsuite/binutils-all/strip-13mips64.s: Use `.dc.l' rather
1047 than `.dc.w' in second relocation.
1049 2018-04-05 Maciej W. Rozycki <macro@mips.com>
1051 * testsuite/binutils-all/strip-13.d: Also expect `unsupported
1052 relocation type 0x8f' error message.
1054 2018-04-05 Maciej W. Rozycki <macro@mips.com>
1056 * testsuite/binutils-all/strip-13.s: Rename to...
1057 * testsuite/binutils-all/strip-13rela.s: ... this.
1058 * testsuite/binutils-all/strip-13rel.s: New test source.
1059 * testsuite/binutils-all/strip-13mips64.s: New test source.
1060 * testsuite/binutils-all/strip-13.d: Remove `arm-*', `d10v-*',
1061 `dlx-*' and `xgate-*' from `not-target' list. Add `m6811-*' and
1062 `m68hc11-*' to `not-target' list.
1063 * testsuite/binutils-all/objcopy.exp: Switch between sources for
1066 2018-04-05 Maciej W. Rozycki <macro@mips.com>
1068 * testsuite/binutils-all/strip-13.s: Use 143 (0x8f) rather than
1069 241 (0xf1) for the relocation number and RELA addend.
1070 * testsuite/binutils-all/strip-13.d: Remove `hppa*-*' from the
1073 2018-04-04 John David Anglin <danglin@gcc.gnu.org>
1075 * MAINTAINERS: Update my e-mail address.
1077 2018-04-04 Nick Clifton <nickc@redhat.com>
1079 * MAINTAINERS: Move Jason Eckhardt to past maintainers section.
1081 2018-03-23 Nick Clifton <nickc@redhat.com>
1083 * readelf.c (get_symbol_for_build_attribute): Skip ARM mapping
1085 (print_gnu_build_attribute_description): If no file start symbol
1086 could be found, look for one two bytes into the file.
1087 * testsuite/binutils-all/note-4-64.s: Set the address of the file
1088 start symbol to two bytes into the file.
1089 * testsuite/binutils-all/note-4-32.s: Likewise.
1091 2018-03-21 H.J. Lu <hongjiu.lu@intel.com>
1093 * readelf.c (process_dynamic_section): Also dump DF_1_KMOD,
1094 DF_1_WEAKFILTER and DF_1_NOCOMMON.
1096 2018-03-20 Nick Clifton <nickc@redhat.com>
1098 * po/es.po: Updated Spanish translation.
1099 * po/ru.po: Updated Russian translation.
1101 2018-03-13 Nick Clifton <nickc@redhat.com>
1104 * stabs.c (pop_binincl): Fail if the file index is off the end of
1107 2018-03-13 Nick Clifton <nickc@redhat.com>
1110 * stabs.c (parse_number): Add p_end parameter and use it to check
1111 the validity of the pp parameter. Add checks to prevent walking
1112 off the end of the string buffer.
1113 (parse_stab_string): Likewise.
1114 (parse_stab_type): Likewise.
1115 (parse_stab_type_number): Likewise.
1116 (parse_stab_range_type): Likewise.
1117 (parse_stab_sun_builtin_type): Likewise.
1118 (parse_stab_sun_floating_type): Likewise.
1119 (parse_stab_enum_type): Likewise.
1120 (parse_stab_struct_type): Likewise.
1121 (parse_stab_baseclasses): Likewise.
1122 (parse_stab_struct_fields): Likewise.
1123 (parse_stab_cpp_abbrev): Likewise.
1124 (parse_stab_one_struct_field): Likewise.
1125 (parse_stab_members): Likewise.
1126 (parse_stab_tilde_field): Likewise.
1127 (parse_stab_array_type): Likewise.
1129 * parse_stab: Compute the end of the string and then pass it on to
1130 individual parser functions.
1132 2018-03-07 Paul Pluzhnikov <ppluzhnikov@google.com>
1135 * binutils/readelf.c (get_ver_flags): Expand buffer to avoid
1138 2018-03-07 Alan Modra <amodra@gmail.com>
1140 * configure.ac: Add objdump_private_desc_xcoff for rs6000.
1141 * configure: Regenerate.
1143 2018-03-05 H.J. Lu <hongjiu.lu@intel.com>
1146 * objdump.c (is_significant_symbol_name): Return TRUE for all
1148 (find_symbol_for_address): Replace linear search with binary
1149 search on dynamic relocations.
1151 2018-03-01 Nick Clifton <nickc@redhat.com>
1154 * dwarf.c (display_debug_ranges): Check that the offset loaded
1155 from the range_entry structure is valid.
1157 2018-03-01 Alan Modra <amodra@gmail.com>
1159 * configure.ac (ALL_LINGUAS): Add sr. Sort.
1160 * configure: Regenerate.
1162 2018-02-27 Nick Clifton <nickc@redhat.com>
1164 * po/pt.po: New Portuguese translation.
1165 * configure.ac (ALL_LINGUAS): Add pt.
1166 * configure: Regenerate.
1168 2018-02-27 Nick Clifton <nickc@redhat.com>
1171 * objcopy.c (copy_object): Check the error status after marking
1172 symbols used in relocations.
1173 * testsuite/binutils-all/strip-13.s: New test source file.
1174 * testsuite/binutils-all/strip-13.s: New test driver file.
1175 * testsuite/binutils-all/objcopy.exp: Run the new test.
1177 2018-02-26 Alan Modra <amodra@gmail.com>
1179 * testsuite/binutils-all/mips/mips-reginfo-n32.d,
1180 * testsuite/binutils-all/mips/mips-reginfo.d: Update.
1182 2018-02-23 Alan Modra <amodra@gmail.com>
1184 * testsuite/binutils-all/mips/mips-reginfo-n32.d,
1185 * testsuite/binutils-all/mips/mips-reginfo.d: Update.
1187 2018-02-20 Ronald Hoogenboom <hoogenboom30@zonnet.nl>
1189 * doc/binutils.texi (objcopy): Add missing closing square
1190 parenthesis to listing of objcopy's command line options.
1192 2018-02-19 Matthias Klose <doko@debian.org>
1194 * strings.c (long_options): Include-all-whitespace does not take
1197 2018-02-13 Alan Modra <amodra@gmail.com>
1200 * testsuite/binutils-all/group-7.s,
1201 * testsuite/binutils-all/group-7a.d,
1202 * testsuite/binutils-all/group-7b.d,
1203 * testsuite/binutils-all/group-7c.d: New tests.
1204 * testsuite/binutils-all/objcopy.exp: Run them.
1206 2018-02-08 Nick Clifton <nickc@redhat.com>
1209 * dwarf.c (load_separate_debug_file): Return early if the user is
1210 not interested in debug links.
1212 2018-02-06 Nick Clifton <nickc@redhat.com>
1215 * readelf.c (find_section): Replace assertion with test and return
1217 (find_section_by_address): Add test of section header table
1219 (find_section_by_type): Likewise.
1220 (find_section_in_set): Likewise.
1222 2018-02-05 Maciej W. Rozycki <macro@mips.com>
1224 * testsuite/binutils-all/mips/mips-reginfo.d: New test.
1225 * testsuite/binutils-all/mips/mips-reginfo-n32.d: New test.
1226 * testsuite/binutils-all/mips/mips-reginfo.s: New test source.
1227 * testsuite/binutils-all/mips/mips.exp: Run the new tests.
1229 2018-02-05 Maciej W. Rozycki <macro@mips.com>
1231 * testsuite/config/default.exp (binutils_run): Document
1232 `binutils_run_status'.
1233 * testsuite/lib/utils-lib.exp (default_binutils_run): Likewise,
1235 (run_dump_test): Add `error', `error_output', `warning' and
1236 `warning_output' options. Update documentation accordingly.
1238 2018-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
1240 * dwarf.c (dwarf_regnames_riscv): New register name table.
1241 (init_dwarf_regnames_riscv): New function.
1242 (init_dwarf_regnames): Add call to initialise RiscV register
1244 * dwarf.h (init_dwarf_regnames_riscv): Declare.
1245 * objdump.c (dump_dwarf): Add call to initialise RiscV register
1248 2018-02-01 Alan Modra <amodra@gmail.com>
1251 * objdump.c (load_specific_debug_section): Check for overflow
1252 when adding one to section size for a string section terminator.
1254 2018-01-30 Nick Clifton <nickc@redhat.com>
1257 * doc/binutils.texi (nm): Update description to point out that
1258 zero-initialized values can also be shown as type B, b, S or s
1259 since they can be stored in the BSS section.
1261 2018-01-30 Alan Modra <amodra@gmail.com>
1263 * objcopy.c (merge_gnu_build_notes): Use (bfd_vma) -1 as
1264 "artificially large" end address.
1266 2018-01-28 Nick Clifton <nickc@redhat.com>
1268 * README-how-to-make-a-release: Add note about checking gpg key
1269 and the results of gnupload.
1271 2018-01-27 Nick Clifton <nickc@redhat.com>
1273 * README-how-to-make-a-release: Add details on how to actually
1276 2018-01-26 Nick Clifton <nickc@redhat.com>
1278 * README-how-to-make-a-release: Add more details on updating
1281 2018-01-22 Maciej W. Rozycki <macro@mips.com>
1283 * doc/binutils.texi (objcopy): Fix a typo in `--rename-section'
1286 2018-01-22 Maciej W. Rozycki <macro@mips.com>
1288 * MAINTAINERS: Update my company e-mail address.
1290 2018-01-22 Nick Clifton <nickc@redhat.com>
1292 * po/sv.po: Updated Swedish translation.
1294 2018-01-18 Nick Clifton <nickc@redhat.com>
1296 * po/bg.po: Updated Bulgarian translation.
1298 2018-01-16 Joel Brobecker <brobecker@adacore.com>
1300 * README-how-to-make-a-release: Add reminder to update the
1301 branch name in gdbadmin's crontab on sourceware.
1303 2018-01-16 Joel Brobecker <brobecker@adacore.com>
1305 * README-how-to-make-a-release: Remove trailing spaces.
1307 2018-01-16 Nick Clifton <nickc@redhat.com>
1309 * po/fr.po: Updated French translation.
1311 2018-01-15 Nick Clifton <nickc@redhat.com>
1313 * po/uk.po: Updated Ukranian translation.
1315 2018-01-13 Nick Clifton <nickc@redhat.com>
1317 * README-how-to-make-a-release: Update notes.
1318 * po/binutils.pot: Regenerated.
1320 2018-01-13 Nick Clifton <nickc@redhat.com>
1322 * configure: Regenerate.
1324 2018-01-13 Nick Clifton <nickc@redhat.com>
1326 2.30 branch created.
1327 * NEWS: Add marker for 2.30.
1329 2018-01-12 Nick Clifton <nickc@redhat.com>
1331 * README-how-to-make-a-release: Add notes on how to make the
1332 branch and prelease snapshot.
1333 * BRANCHES: Add binutils-2_29-branch.
1335 2018-01-10 Nick Clifton <nickc@redhat.com>
1337 * MAINTAINERS: Note that it is now the configure.ac file and not
1338 the configure.in file that needs to be kept in sync with gcc.
1339 Add a note about sending patches for libiberty to gcc.
1341 2018-01-03 Nick Clifton <nickc@redhat.com>
1343 * objcopy.c (merge_gnu_build_notes): Add cast to maximum address
1346 2018-01-03 Nick Clifton <nickc@redhat.com>
1348 * objcopy.c (objcopy_internal_note): New structure.
1349 (gap_exists): New function.
1350 (is_open_note): New function.
1351 (is_func_note): New function.
1352 (is_64bit): New function.
1353 (merge_gnu_build_notes): Handle v3 notes. Do not merge
1354 if there are relocations against the notes.
1355 * readelf.c (get_note_type): Use short names for build attribute
1357 (print_symbol_for_build_attribute): Rename to
1358 get_symbol_for_build_attribute. Returns the found symbol rather
1360 (print_gnu_build_attribute_description): Maintain address ranges
1361 for function notes as well as global notes. Handle v3 notes.
1362 (print_gnu_build_attribute_name): Use more space for printing the
1364 * testsuite/binutils-all/note-2-32.s: Use .dc.l instead of .word.
1365 Eliminate symbol references in order to remove the need for
1367 * testsuite/binutils-all/note-2-64.s: Likewise.
1368 * testsuite/binutils-all/note-3-32.s: Add a size to the note_1
1370 * testsuite/binutils-all/note-3-64.s: Likewise.
1371 * testsuite/binutils-all/mips/mips-note-2r-n32.d: Update expected
1373 * testsuite/binutils-all/mips/mips-note-2r-n64.d: Likewise.
1374 * testsuite/binutils-all/mips/mips-note-2r.d: Likewise.
1375 * testsuite/binutils-all/note-2-32.d: Likewise.
1376 * testsuite/binutils-all/note-2-64.d: Likewise.
1377 * testsuite/binutils-all/note-3-32.d: Likewise.
1378 * testsuite/binutils-all/note-3-64.d: Likewise.
1379 * testsuite/binutils-all/note-4-64.s: New test. Checks v3 notes.
1380 * testsuite/binutils-all/note-4-32.s: New test.
1381 * testsuite/binutils-all/note-4-64.d: New test result file.
1382 * testsuite/binutils-all/note-4-32.d: New test result file.
1384 2018-01-03 Alan Modra <amodra@gmail.com>
1386 Update year range in copyright notice of all files.
1388 For older changes see ChangeLog-2017
1390 Copyright (C) 2018 Free Software Foundation, Inc.
1392 Copying and distribution of this file, with or without modification,
1393 are permitted in any medium without royalty provided the copyright
1394 notice and this notice are preserved.
1400 version-control: never