1 2016-07-05 Andre Vieria <andre.simoesdiasvieira@arm.com>
3 * objdump.c (dump_section_header): Rename SEC_ELF_NOREAD
5 * readelf.c (get_elf_section_flags): Rename ARM_NOREAD to
6 ARM_PURECODE and SHF_ARM_NOREAD to SHF_ARM_PURECODE.
7 (process_section_headers): Rename noread to purecode.
9 * section.c (SEC_ELF_NOREAD): Rename to ...
10 (SEC_ELF_PURECODE): ... this.
12 2016-07-01 Nick Clifton <nickc@redhat.com>
14 * prdbg.c (pr_enum_type): Use a buffer big enough to hold an
15 extremely large decimal value.
16 (pr_range_type): Likewise.
17 (pr_array_type): Likewise.
18 (pr_struct_field): Likewise.
19 (pr_class_baseclass): Likewise.
20 (pr_class_method_variant): Likewise.
21 (pr_tag_type): Likewise.
22 (pr_int_constant): Likewise.
23 (pr_typed_constant): Likewise.
24 (pr_variable): Likewise.
25 (pr_function_parameter): Likewise.
26 (pr_start_block): Likewise.
27 (pr_lineno): Likewise.
28 (pr_end_block): Likewise.
29 (tg_enum_type): Likewise.
30 (tg_int_constant): Likewise.
31 (tg_typed_constant): Likewise.
32 (tg_start_block): Likewise.
34 2016-07-01 Nick Clifton <nickc@redhat.com>
36 * testsuite/binutils-all/objcopy.exp
37 (objcopy_test_without_global_symbol): Expect this test to fail on
38 the AArch64 and ARM targets, since they preserve their mapping
41 2016-07-01 Tristan Gingold <gingold@adacore.com>
43 * NEWS: Add marker for 2.27.
45 2016-07-30 Tristan Gingold <gingold@adacore.com>
47 * doc/binutils.texi (objdump): Fix mis-placement.
49 2016-06-28 Nick Clifton <nickc@redhat.com>
51 * testsuite/binutils-all/ar.exp: Relax previous restriction on
52 Alpha targets. Allow ELF based Alpha targets.
54 2016-06-28 Maciej W. Rozycki <macro@imgtec.com>
56 * testsuite/binutils-all/ar.exp: Use `supports_gnu_unique' with
57 the `unique_symbol' test.
59 2016-06-28 Alan Modra <amodra@gmail.com>
62 * objdump.c (objdump_print_symname): Don't attempt to retrieve
63 version info from synthetic symbols.
65 2016-06-24 Alan Modra <amodra@gmail.com>
67 * objcopy.c (find_section_rename): Forward declare. Remove
68 ibfd and sec_ptr param. Add old_name param. Allow for NULL
69 returned_flags. Move read of section name and flags to..
70 (setup_section): ..here. Update find_section_rename call.
71 (filter_symbols): Rename section symbols for renamed sections.
72 (copy_object): Call filter_symbols when renamed sections.
73 * testsuite/lib/binutils-common.exp (is_bad_symtab): New.
74 * testsuite/binutils-all/update-section.exp: Revert 96037eb0
76 * testsuite/binutils-all/objcopy.exp (copy_executable): Use
78 (localize-hidden-1): xfail if is_bad_symtab.
79 * testsuite/binutils-all/readelf.exp: Use is_bad_symtab to select
82 2016-06-24 Alan Modra <amodra@gmail.com>
84 * objdump.c (struct print_file_list): Add "max_printed".
85 (try_print_file_open): Init new field.
86 (show_line): Don't show 5 context lines when redisplaying source.
88 2016-06-22 Nick Clifton <nickc@redhat.com>
90 * testsuite/binutils-all/ar.exp: Skip tests for Alpha target.
91 Skip bfdtest1 tests for tic30 target.
92 * testsuite/binutils-all/arm/objdump.exp: Skip for aout arm
94 * testsuite/binutils-all/compress.exp: Expect some tests to fail
96 * testsuite/binutils-all/copy-3.d: Skip for go32 targets.
97 * testsuite/binutils-all/copy-4.d: Skip for AIX and linuxecoff
99 * testsuite/binutils-all/nm.exp: Treat beos based targets as ELF
101 * testsuite/binutils-all/objcopy.exp: Only run reverse bytes tests
102 if the bintest.o file was created. Use the
103 get_standard_section_names proc to get the name of the data
105 * testsuite/binutils-all/objdump.exp: Update regexps to allow for
107 * testsuite/binutils-all/readelf.exp: Use
108 get_standard_section_names proc to get the name of the data
110 * testsuite/binutils-all/readelf.r: Allow for non standard text
112 * testsuite/binutils-all/readelf.s: Update regexps for tilepro.
113 * testsuite/binutils-all/size.exp: Allow for non standard section
115 * testsuite/binutils-all/update-section.exp: Expect comapre 1vs4
116 to fail on mips targets.
117 * testsuite/lib/utils-lib.exp (default_binutils_run): Use
118 get_standard_section_names proc.
119 (run_dump_test): Likewise.
120 (proc get_standard_section_names): New proc.
122 2016-06-22 Nick Clifton <nickc@redhat.com>
124 * readelf.c (dynamic_section_mips_val): Increase size of timebuf.
125 (process_mips_specific): Likewise.
126 (process_gnu_liblist): Likewise.
128 2016-06-21 Graham Markall <graham.markall@embecosm.com>
130 * readelf.c (decode_ARC_machine_flags): Remove E_ARC_MACH_NPS400
133 2016-06-15 Nick Clifton <nickc@redhat.com>
135 * readelf.c (is_24bit_abs_reloc): Add support for R_FT32_20
138 2016-06-14 John Baldwin <jhb@FreeBSD.org>
140 * objcopy.c (do_elf_stt_common): Use correct type.
142 2016-06-14 Alan Modra <amodra@gmail.com>
144 * ar.c: Expand uses of bfd_my_archive.
147 2016-06-14 Alan Modra <amodra@gmail.com>
150 * bucomm.c (bfd_get_archive_filename): Return file name within thin
153 2016-06-02 Nick Clifton <nickc@redhat.com>
156 * objcopy.c (group_signature): Fail if the input symbol table has
157 not been loaded, or if the sh_info field of the group header is 0.
159 * dwarf.c (display_debug_frames): Do not display any
160 interpretation if the block consists solely of DW__CFA_NOPs.
162 2016-05-31 Alan Modra <amodra@gmail.com>
164 * objcopy.c: Formatting, whitespace throughout.
165 (copy_main): Init newsym->othersym.
166 (parse_symflags): Make len a size_t. Adjust uses.
168 2016-05-25 H.J. Lu <hongjiu.lu@intel.com>
171 * NEWS: Mention --enable-64-bit-archive.
173 2016-05-18 Nick Clifton <nickc@redhat.com>
176 * objcopy.c (copy_relocations_in_section): Also check for the
177 symbol pointed to by sym_ptr_ptr being NULL.
179 2016-05-18 Maciej W. Rozycki <macro@imgtec.com>
181 * testsuite/binutils-all/mips/mixed-mips16-micromips.d: New test.
182 * testsuite/binutils-all/mips/mixed-mips16-micromips.s: New test
184 * testsuite/binutils-all/mips/mips.exp: Run the new test.
186 2016-05-18 Nick Clifton <nickc@redhat.com>
188 * po/sv.po: Updated Swedish translation.
190 2016-05-18 Maciej W. Rozycki <macro@imgtec.com>
192 * readelf.c (dynamic_section_mips_val) <DT_MIPS_RLD_VERSION>
193 <DT_MIPS_LOCAL_GOTNO, DT_MIPS_CONFLICTNO, DT_MIPS_LIBLISTNO>
194 <DT_MIPS_SYMTABNO, DT_MIPS_UNREFEXTNO, DT_MIPS_HIPAGENO>
195 <DT_MIPS_DELTA_CLASS_NO, DT_MIPS_DELTA_INSTANCE_NO>
196 <DT_MIPS_DELTA_RELOC_NO, DT_MIPS_DELTA_SYM_NO>
197 <DT_MIPS_DELTA_CLASSSYM_NO, DT_MIPS_COMPACT_SIZE>: Use the
198 `d_val' rather than `d_ptr' member of the dynamic entry.
200 2016-05-17 Maciej W. Rozycki <macro@imgtec.com>
202 * testsuite/lib/binutils-common.exp (supports_gnu_unique): New
204 * testsuite/binutils-all/objcopy.exp: Use `supports_gnu_unique'
205 with the `strip-10' test.
207 2016-05-16 Maciej W. Rozycki <macro@imgtec.com>
209 * testsuite/binutils-all/objcopy.exp: Don't skip the `strip-10'
212 2016-05-11 Andrew Bennett <andrew.bennett@imgtec.com>
214 * readelf.c (print_mips_ases): Add DSPR3.
216 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
218 * readelf.c (display_arm_attribute): Add output for Tag_DSP_extension.
219 (arm_attr_public_tags): Define DSP_extension attribute.
221 2016-05-10 Andrew Burgess <andrew.burgess@embecosm.com>
223 * doc/binutils.texi (nm): Update description of --size-sort.
225 2016-05-09 Nick Clifton <nickc@redhat.com>
228 * readelf.c (get_32bit_section_headers): Warn if an out of range
229 sh_link or sh_info field is encountered.
230 (get_64bit_section_headers): Likewise.
232 2016-05-04 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
234 * testsuite/lib/binutils-common.exp (is_elf_format): Add avr-*-*.
236 2016-05-03 Nick Clifton <nickc@redhat.com>
238 * po/sv.po: Updated Swedish translation.
240 2016-04-29 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
242 * readelf.c (is_32bit_pcrel_reloc): Return true if reloc is 32-bit
243 PC relocation for AVR target.
244 (is_none_reloc): Return true if reloc is any of AVR diff
247 2016-04-29 Nick Clifton <nickc@redhat.com>
250 * readelf.c (get_solaris_segment_type): New function.
251 (get_segment_type): Call it.
253 2016-04-28 Nick Clifton <nickc@redhat.com>
255 * po/zh_CN.po: Updated Chinese (simplified) translation.
257 2016-04-28 Nick Clifton <nickc@redhat.com>
260 * testsuite/binutils-all/aarch64/illegal.s: New test.
261 * testsuite/binutils-all/aarch64/illegal.d: New test driver.
263 2016-04-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
265 * resres.c: Likewise.
267 2016-04-15 H.J. Lu <hongjiu.lu@intel.com>
269 * Makefile.in: Regenerated with automake 1.11.6.
270 * aclocal.m4: Likewise.
271 * doc/Makefile.in: Likewise.
273 2016-04-14 Nick Clifton <nickc@redhat.com>
276 * testsuite/binutils-all/i386/compressed-1b.d: Allow for the
277 string sections possibly having the SHF_STRINGS flag bit set.
278 * testsuite/binutils-all/i386/compressed-1c.d: Likewise.
279 * testsuite/binutils-all/readelf.s: Likewise.
280 * testsuite/binutils-all/readelf.s-64: Likewise.
281 * testsuite/binutils-all/x86-64/compressed-1b.d: Likewise.
282 * testsuite/binutils-all/x86-64/compressed-1c.d: Likewise.
284 2016-04-13 Nick Clifton <nickc@redhat.com>
287 * readelf.c (get_solaris_section_type): New function: Returns the
288 name of Solaris specific section types.
289 (get_solaris_dynamic_type): New function: Return the name of
290 Solaris specific dynamic types.
291 (get_dynamic_type): Use get_solaris_dynamic_type.
292 (get_section_type_name): Use get_solaris_section_type.
293 (get_solaris_symbol_visibility): New function: Returns Solaris
294 specific symbol visibilities.
295 (print_dynamic_symbol): Use get_solaris_symbol_visibility.
296 (process_symbol_table): Likewise.
298 2016-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
300 * dwarf.h (init_dwarf_regnames_s390): Declare.
301 * dwarf.c (dwarf_regnames_s390): New.
302 (init_dwarf_regnames_s390): New.
303 (init_dwarf_regnames): Call it.
304 * objdump.c (dump_dwarf): Likewise.
306 2016-04-11 Maciej W. Rozycki <macro@imgtec.com>
308 * testsuite/binutils-all/mips/mips16-undecoded.d: New test.
309 * testsuite/binutils-all/mips/mips16-undecoded.s: New test
311 * testsuite/binutils-all/mips/mips.exp: Run the new test.
313 2016-04-04 Nick Clifton <nickc@redhat.com>
316 * dwarf.c (display_debug_aranges): Skip warning about unrecognised
317 version number if the version is zero.
319 2016-03-29 Alan Modra <amodra@gmail.com>
321 * readelf.c (get_data): Use BFD_VMA_FMT to print bfd_size_type vars.
322 (get_dynamic_data): Likewise.
324 2016-03-22 Nick Clifton <nickc@redhat.com>
327 * dwarf.c (SAFE_BYTE_GET): Replace local dynamic array allocation
328 with run time size check.
330 * configure: Regenerate.
332 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
334 * readelf.c (decode_ARC_machine_flags): Handle nps400.
336 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
338 * readelf.c (get_machine_flags): Move arc processing into...
339 (decode_ARC_machine_flags): ... new function. Remove use of
340 EF_ARC_CPU_GENERIC, change default case from "generic arc" to
341 "unknown arc". Merged ABI printing between two machine types.
343 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
345 * testsuite/binutils-all/objdump.exp (cpus_expected): Add ARC700
346 to the architecture list.
348 2016-03-21 Nick Clifton <nickc@redhat.com>
350 * dlltool.c: Replace use of alloca with call to xmalloc.
351 * dllwrap.c: Likewise.
352 * nlmconv.c: Likewise.
353 * objdump.c: Likewise.
355 * winduni.c: Likewise.
356 * configure: Regenerate.
358 2016-03-07 Nick Clifton <nickc@redhat.com>
361 * testsuite/binutils-all/ar.exp (proc empty_archive): New proc.
363 * testsuite/binutils-all/empty: New, empty, file.
365 2016-03-04 Matthew Wahab <matthew.wahab@arm.com>
367 * readelf.c (arm_attry_tag_FP_arch): Add "NEON for ARMv8.1".
369 2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
372 * NEWS: Mention --elf-stt-common= for objcopy.
373 * doc/binutils.texi: Document --elf-stt-common= for objcopy.
374 * objcopy.c (do_elf_stt_common): New.
375 (command_line_switch): Add OPTION_ELF_STT_COMMON.
376 (copy_options): Add --elf-stt-common=.
377 (copy_usage): Add --elf-stt-common=.
378 (copy_object): Also check do_elf_stt_common for ELF targets.
379 (copy_file): Handle do_elf_stt_common.
380 (copy_main): Handle OPTION_ELF_STT_COMMON.
381 * readelf.c (apply_relocations): Support STT_COMMON.
382 * testsuite/binutils-all/common-1.s: New file.
383 * testsuite/binutils-all/common-1a.d: Likewise.
384 * testsuite/binutils-all/common-1b.d: Likewise.
385 * testsuite/binutils-all/common-1c.d: Likewise.
386 * testsuite/binutils-all/common-1d.d: Likewise.
387 * testsuite/binutils-all/common-1e.d: Likewise.
388 * testsuite/binutils-all/common-1f.d: Likewise.
389 * testsuite/binutils-all/common-2.s: Likewise.
390 * testsuite/binutils-all/common-2a.d: Likewise.
391 * testsuite/binutils-all/common-2b.d: Likewise.
392 * testsuite/binutils-all/common-2c.d: Likewise.
393 * testsuite/binutils-all/common-2d.d: Likewise.
394 * testsuite/binutils-all/common-2e.d: Likewise.
395 * testsuite/binutils-all/common-2f.d: Likewise.
396 * testsuite/binutils-all/objcopy.exp
397 (objcopy_test_elf_common_symbols): New proc.
398 Run objcopy_test_elf_common_symbols for ELF targets
400 2016-02-16 H.J. Lu <hongjiu.lu@intel.com>
403 * readelf.c (get_section_type_name): Add a missing break.
405 2016-02-16 Claudiu Zissulescu <claziss@synopsys.com>
407 * readelf.c (is_32bit_pcrel_reloc): Add R_ARC_32_PCREL.
409 2016-02-15 Nick Clifton <nickc@redhat.com>
411 * readelf.c (get_section_type_name): Add hex prefix to offsets
412 printed for LOPROC and LOOS values. Ensure that a result is
413 always returned for the V850 target, even when an unrecognised
414 processor specific value is encountered.
415 (process_section_headers): Display key values in the order in
416 which they appear to the user. Add the "C (compressed)" value to
419 2016-02-12 H.J. Lu <hongjiu.lu@intel.com>
421 * doc/binutils.texi: Fix a typo.
423 2016-02-05 Cupertino Miranda <Cupertino.Miranda@synopsys.com>
425 * testsuite/binutils-all/objdump.exp: Update expected default
426 architecture value for ARC binaries.
428 2016-02-02 H.J. Lu <hongjiu.lu@intel.com>
431 * testsuite/binutils-all/objcopy.exp
432 (objcopy_test_without_global_symbol): New proc.
433 Run objcopy_test_without_global_symbol.
434 * testsuite/binutils-all/pr19547.c: New file.
436 2016-01-28 H.J. Lu <hongjiu.lu@intel.com>
439 * Makefile.am (check-DEJAGNU): Pass CC and CC_FOR_BUILD to
441 * Makefile.in: Regenerated.
442 * testsuite/binutils-all/compress.exp (test_gnu_debuglink): New
444 Run test_gnu_debuglink for native ELF build.
446 2016-01-20 Nick Clifton <nickc@redhat.com>
449 * testsuite/binutils-all/dlltool.exp: Fix tests for targets which
450 do not support inserting leading underscores.
452 2016-01-20 Mickael Guene <mickael.guene@st.com>
454 * readelf.c (get_elf_section_flags): Display y letter for section
455 with SHF_ARM_NOREAD section flag in readelf section output.
456 (process_section_headers): Add y letter in readelf section output
457 key mapping for ARM architecture.
458 * objdump.c (dump_section_header): Display NOREAD attributes as
460 * doc/binutils.texi (objdump): Note that it is correct for
461 sections to have both the READONLY and NOREAD attributes.
463 2016-01-19 John Baldwin <jhb@FreeBSD.org>
465 * readelf.c (get_freebsd_elfcore_note_type): Remove unused variable.
467 2016-01-19 John Baldwin <jhb@FreeBSD.org>
469 * readelf.c (get_freebsd_elfcore_note_type): New
470 (process_note): Add support for FreeBSD core notes.
472 2016-01-18 Miranda Cupertino <Cupertino.Miranda@synopsys.com>
473 Zissulescu Claudiu <Claudiu.Zissulescu@synopsys.com>
475 * readelf.c (get_machine_flags): Add support for newer ARC ELF
478 2016-01-18 Alan Modra <amodra@gmail.com>
480 * configure: Regenerate.
482 2016-01-17 Alan Modra <amodra@gmail.com>
484 * configure: Regenerate.
486 2016-01-17 Alan Modra <amodra@gmail.com>
488 * testsuite/lib/binutils-common.exp (is_elf_format): Return true
489 for m68hc11/12 and xgate triples.
491 2016-01-17 Alan Modra <amodra@gmail.com>
493 * readelf.c (is_32bit_abs_reloc): Add R_M68HC11_32.
495 2016-01-01 Alan Modra <amodra@gmail.com>
497 Update year range in copyright notice of all files.
499 For older changes see ChangeLog-2015 and testsuite/ChangeLog-1215
501 Copyright (C) 2016 Free Software Foundation, Inc.
503 Copying and distribution of this file, with or without modification,
504 are permitted in any medium without royalty provided the copyright
505 notice and this notice are preserved.
511 version-control: never