1 2016-06-28 Maciej W. Rozycki <macro@imgtec.com>
3 * testsuite/binutils-all/ar.exp: Use `supports_gnu_unique' with
4 the `unique_symbol' test.
6 2016-06-28 Alan Modra <amodra@gmail.com>
9 * objdump.c (objdump_print_symname): Don't attempt to retrieve
10 version info from synthetic symbols.
12 2016-06-24 Alan Modra <amodra@gmail.com>
14 * objcopy.c (find_section_rename): Forward declare. Remove
15 ibfd and sec_ptr param. Add old_name param. Allow for NULL
16 returned_flags. Move read of section name and flags to..
17 (setup_section): ..here. Update find_section_rename call.
18 (filter_symbols): Rename section symbols for renamed sections.
19 (copy_object): Call filter_symbols when renamed sections.
20 * testsuite/lib/binutils-common.exp (is_bad_symtab): New.
21 * testsuite/binutils-all/update-section.exp: Revert 96037eb0
23 * testsuite/binutils-all/objcopy.exp (copy_executable): Use
25 (localize-hidden-1): xfail if is_bad_symtab.
26 * testsuite/binutils-all/readelf.exp: Use is_bad_symtab to select
29 2016-06-24 Alan Modra <amodra@gmail.com>
31 * objdump.c (struct print_file_list): Add "max_printed".
32 (try_print_file_open): Init new field.
33 (show_line): Don't show 5 context lines when redisplaying source.
35 2016-06-22 Nick Clifton <nickc@redhat.com>
37 * testsuite/binutils-all/ar.exp: Skip tests for Alpha target.
38 Skip bfdtest1 tests for tic30 target.
39 * testsuite/binutils-all/arm/objdump.exp: Skip for aout arm
41 * testsuite/binutils-all/compress.exp: Expect some tests to fail
43 * testsuite/binutils-all/copy-3.d: Skip for go32 targets.
44 * testsuite/binutils-all/copy-4.d: Skip for AIX and linuxecoff
46 * testsuite/binutils-all/nm.exp: Treat beos based targets as ELF
48 * testsuite/binutils-all/objcopy.exp: Only run reverse bytes tests
49 if the bintest.o file was created. Use the
50 get_standard_section_names proc to get the name of the data
52 * testsuite/binutils-all/objdump.exp: Update regexps to allow for
54 * testsuite/binutils-all/readelf.exp: Use
55 get_standard_section_names proc to get the name of the data
57 * testsuite/binutils-all/readelf.r: Allow for non standard text
59 * testsuite/binutils-all/readelf.s: Update regexps for tilepro.
60 * testsuite/binutils-all/size.exp: Allow for non standard section
62 * testsuite/binutils-all/update-section.exp: Expect comapre 1vs4
63 to fail on mips targets.
64 * testsuite/lib/utils-lib.exp (default_binutils_run): Use
65 get_standard_section_names proc.
66 (run_dump_test): Likewise.
67 (proc get_standard_section_names): New proc.
69 2016-06-22 Nick Clifton <nickc@redhat.com>
71 * readelf.c (dynamic_section_mips_val): Increase size of timebuf.
72 (process_mips_specific): Likewise.
73 (process_gnu_liblist): Likewise.
75 2016-06-21 Graham Markall <graham.markall@embecosm.com>
77 * readelf.c (decode_ARC_machine_flags): Remove E_ARC_MACH_NPS400
80 2016-06-15 Nick Clifton <nickc@redhat.com>
82 * readelf.c (is_24bit_abs_reloc): Add support for R_FT32_20
85 2016-06-14 John Baldwin <jhb@FreeBSD.org>
87 * objcopy.c (do_elf_stt_common): Use correct type.
89 2016-06-14 Alan Modra <amodra@gmail.com>
91 * ar.c: Expand uses of bfd_my_archive.
94 2016-06-14 Alan Modra <amodra@gmail.com>
97 * bucomm.c (bfd_get_archive_filename): Return file name within thin
100 2016-06-02 Nick Clifton <nickc@redhat.com>
103 * objcopy.c (group_signature): Fail if the input symbol table has
104 not been loaded, or if the sh_info field of the group header is 0.
106 * dwarf.c (display_debug_frames): Do not display any
107 interpretation if the block consists solely of DW__CFA_NOPs.
109 2016-05-31 Alan Modra <amodra@gmail.com>
111 * objcopy.c: Formatting, whitespace throughout.
112 (copy_main): Init newsym->othersym.
113 (parse_symflags): Make len a size_t. Adjust uses.
115 2016-05-25 H.J. Lu <hongjiu.lu@intel.com>
118 * NEWS: Mention --enable-64-bit-archive.
120 2016-05-18 Nick Clifton <nickc@redhat.com>
123 * objcopy.c (copy_relocations_in_section): Also check for the
124 symbol pointed to by sym_ptr_ptr being NULL.
126 2016-05-18 Maciej W. Rozycki <macro@imgtec.com>
128 * testsuite/binutils-all/mips/mixed-mips16-micromips.d: New test.
129 * testsuite/binutils-all/mips/mixed-mips16-micromips.s: New test
131 * testsuite/binutils-all/mips/mips.exp: Run the new test.
133 2016-05-18 Nick Clifton <nickc@redhat.com>
135 * po/sv.po: Updated Swedish translation.
137 2016-05-18 Maciej W. Rozycki <macro@imgtec.com>
139 * readelf.c (dynamic_section_mips_val) <DT_MIPS_RLD_VERSION>
140 <DT_MIPS_LOCAL_GOTNO, DT_MIPS_CONFLICTNO, DT_MIPS_LIBLISTNO>
141 <DT_MIPS_SYMTABNO, DT_MIPS_UNREFEXTNO, DT_MIPS_HIPAGENO>
142 <DT_MIPS_DELTA_CLASS_NO, DT_MIPS_DELTA_INSTANCE_NO>
143 <DT_MIPS_DELTA_RELOC_NO, DT_MIPS_DELTA_SYM_NO>
144 <DT_MIPS_DELTA_CLASSSYM_NO, DT_MIPS_COMPACT_SIZE>: Use the
145 `d_val' rather than `d_ptr' member of the dynamic entry.
147 2016-05-17 Maciej W. Rozycki <macro@imgtec.com>
149 * testsuite/lib/binutils-common.exp (supports_gnu_unique): New
151 * testsuite/binutils-all/objcopy.exp: Use `supports_gnu_unique'
152 with the `strip-10' test.
154 2016-05-16 Maciej W. Rozycki <macro@imgtec.com>
156 * testsuite/binutils-all/objcopy.exp: Don't skip the `strip-10'
159 2016-05-11 Andrew Bennett <andrew.bennett@imgtec.com>
161 * readelf.c (print_mips_ases): Add DSPR3.
163 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
165 * readelf.c (display_arm_attribute): Add output for Tag_DSP_extension.
166 (arm_attr_public_tags): Define DSP_extension attribute.
168 2016-05-10 Andrew Burgess <andrew.burgess@embecosm.com>
170 * doc/binutils.texi (nm): Update description of --size-sort.
172 2016-05-09 Nick Clifton <nickc@redhat.com>
175 * readelf.c (get_32bit_section_headers): Warn if an out of range
176 sh_link or sh_info field is encountered.
177 (get_64bit_section_headers): Likewise.
179 2016-05-04 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
181 * testsuite/lib/binutils-common.exp (is_elf_format): Add avr-*-*.
183 2016-05-03 Nick Clifton <nickc@redhat.com>
185 * po/sv.po: Updated Swedish translation.
187 2016-04-29 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
189 * readelf.c (is_32bit_pcrel_reloc): Return true if reloc is 32-bit
190 PC relocation for AVR target.
191 (is_none_reloc): Return true if reloc is any of AVR diff
194 2016-04-29 Nick Clifton <nickc@redhat.com>
197 * readelf.c (get_solaris_segment_type): New function.
198 (get_segment_type): Call it.
200 2016-04-28 Nick Clifton <nickc@redhat.com>
202 * po/zh_CN.po: Updated Chinese (simplified) translation.
204 2016-04-28 Nick Clifton <nickc@redhat.com>
207 * testsuite/binutils-all/aarch64/illegal.s: New test.
208 * testsuite/binutils-all/aarch64/illegal.d: New test driver.
210 2016-04-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
212 * resres.c: Likewise.
214 2016-04-15 H.J. Lu <hongjiu.lu@intel.com>
216 * Makefile.in: Regenerated with automake 1.11.6.
217 * aclocal.m4: Likewise.
218 * doc/Makefile.in: Likewise.
220 2016-04-14 Nick Clifton <nickc@redhat.com>
223 * testsuite/binutils-all/i386/compressed-1b.d: Allow for the
224 string sections possibly having the SHF_STRINGS flag bit set.
225 * testsuite/binutils-all/i386/compressed-1c.d: Likewise.
226 * testsuite/binutils-all/readelf.s: Likewise.
227 * testsuite/binutils-all/readelf.s-64: Likewise.
228 * testsuite/binutils-all/x86-64/compressed-1b.d: Likewise.
229 * testsuite/binutils-all/x86-64/compressed-1c.d: Likewise.
231 2016-04-13 Nick Clifton <nickc@redhat.com>
234 * readelf.c (get_solaris_section_type): New function: Returns the
235 name of Solaris specific section types.
236 (get_solaris_dynamic_type): New function: Return the name of
237 Solaris specific dynamic types.
238 (get_dynamic_type): Use get_solaris_dynamic_type.
239 (get_section_type_name): Use get_solaris_section_type.
240 (get_solaris_symbol_visibility): New function: Returns Solaris
241 specific symbol visibilities.
242 (print_dynamic_symbol): Use get_solaris_symbol_visibility.
243 (process_symbol_table): Likewise.
245 2016-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
247 * dwarf.h (init_dwarf_regnames_s390): Declare.
248 * dwarf.c (dwarf_regnames_s390): New.
249 (init_dwarf_regnames_s390): New.
250 (init_dwarf_regnames): Call it.
251 * objdump.c (dump_dwarf): Likewise.
253 2016-04-11 Maciej W. Rozycki <macro@imgtec.com>
255 * testsuite/binutils-all/mips/mips16-undecoded.d: New test.
256 * testsuite/binutils-all/mips/mips16-undecoded.s: New test
258 * testsuite/binutils-all/mips/mips.exp: Run the new test.
260 2016-04-04 Nick Clifton <nickc@redhat.com>
263 * dwarf.c (display_debug_aranges): Skip warning about unrecognised
264 version number if the version is zero.
266 2016-03-29 Alan Modra <amodra@gmail.com>
268 * readelf.c (get_data): Use BFD_VMA_FMT to print bfd_size_type vars.
269 (get_dynamic_data): Likewise.
271 2016-03-22 Nick Clifton <nickc@redhat.com>
274 * dwarf.c (SAFE_BYTE_GET): Replace local dynamic array allocation
275 with run time size check.
277 * configure: Regenerate.
279 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
281 * readelf.c (decode_ARC_machine_flags): Handle nps400.
283 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
285 * readelf.c (get_machine_flags): Move arc processing into...
286 (decode_ARC_machine_flags): ... new function. Remove use of
287 EF_ARC_CPU_GENERIC, change default case from "generic arc" to
288 "unknown arc". Merged ABI printing between two machine types.
290 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
292 * testsuite/binutils-all/objdump.exp (cpus_expected): Add ARC700
293 to the architecture list.
295 2016-03-21 Nick Clifton <nickc@redhat.com>
297 * dlltool.c: Replace use of alloca with call to xmalloc.
298 * dllwrap.c: Likewise.
299 * nlmconv.c: Likewise.
300 * objdump.c: Likewise.
302 * winduni.c: Likewise.
303 * configure: Regenerate.
305 2016-03-07 Nick Clifton <nickc@redhat.com>
308 * testsuite/binutils-all/ar.exp (proc empty_archive): New proc.
310 * testsuite/binutils-all/empty: New, empty, file.
312 2016-03-04 Matthew Wahab <matthew.wahab@arm.com>
314 * readelf.c (arm_attry_tag_FP_arch): Add "NEON for ARMv8.1".
316 2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
319 * NEWS: Mention --elf-stt-common= for objcopy.
320 * doc/binutils.texi: Document --elf-stt-common= for objcopy.
321 * objcopy.c (do_elf_stt_common): New.
322 (command_line_switch): Add OPTION_ELF_STT_COMMON.
323 (copy_options): Add --elf-stt-common=.
324 (copy_usage): Add --elf-stt-common=.
325 (copy_object): Also check do_elf_stt_common for ELF targets.
326 (copy_file): Handle do_elf_stt_common.
327 (copy_main): Handle OPTION_ELF_STT_COMMON.
328 * readelf.c (apply_relocations): Support STT_COMMON.
329 * testsuite/binutils-all/common-1.s: New file.
330 * testsuite/binutils-all/common-1a.d: Likewise.
331 * testsuite/binutils-all/common-1b.d: Likewise.
332 * testsuite/binutils-all/common-1c.d: Likewise.
333 * testsuite/binutils-all/common-1d.d: Likewise.
334 * testsuite/binutils-all/common-1e.d: Likewise.
335 * testsuite/binutils-all/common-1f.d: Likewise.
336 * testsuite/binutils-all/common-2.s: Likewise.
337 * testsuite/binutils-all/common-2a.d: Likewise.
338 * testsuite/binutils-all/common-2b.d: Likewise.
339 * testsuite/binutils-all/common-2c.d: Likewise.
340 * testsuite/binutils-all/common-2d.d: Likewise.
341 * testsuite/binutils-all/common-2e.d: Likewise.
342 * testsuite/binutils-all/common-2f.d: Likewise.
343 * testsuite/binutils-all/objcopy.exp
344 (objcopy_test_elf_common_symbols): New proc.
345 Run objcopy_test_elf_common_symbols for ELF targets
347 2016-02-16 H.J. Lu <hongjiu.lu@intel.com>
350 * readelf.c (get_section_type_name): Add a missing break.
352 2016-02-16 Claudiu Zissulescu <claziss@synopsys.com>
354 * readelf.c (is_32bit_pcrel_reloc): Add R_ARC_32_PCREL.
356 2016-02-15 Nick Clifton <nickc@redhat.com>
358 * readelf.c (get_section_type_name): Add hex prefix to offsets
359 printed for LOPROC and LOOS values. Ensure that a result is
360 always returned for the V850 target, even when an unrecognised
361 processor specific value is encountered.
362 (process_section_headers): Display key values in the order in
363 which they appear to the user. Add the "C (compressed)" value to
366 2016-02-12 H.J. Lu <hongjiu.lu@intel.com>
368 * doc/binutils.texi: Fix a typo.
370 2016-02-05 Cupertino Miranda <Cupertino.Miranda@synopsys.com>
372 * testsuite/binutils-all/objdump.exp: Update expected default
373 architecture value for ARC binaries.
375 2016-02-02 H.J. Lu <hongjiu.lu@intel.com>
378 * testsuite/binutils-all/objcopy.exp
379 (objcopy_test_without_global_symbol): New proc.
380 Run objcopy_test_without_global_symbol.
381 * testsuite/binutils-all/pr19547.c: New file.
383 2016-01-28 H.J. Lu <hongjiu.lu@intel.com>
386 * Makefile.am (check-DEJAGNU): Pass CC and CC_FOR_BUILD to
388 * Makefile.in: Regenerated.
389 * testsuite/binutils-all/compress.exp (test_gnu_debuglink): New
391 Run test_gnu_debuglink for native ELF build.
393 2016-01-20 Nick Clifton <nickc@redhat.com>
396 * testsuite/binutils-all/dlltool.exp: Fix tests for targets which
397 do not support inserting leading underscores.
399 2016-01-20 Mickael Guene <mickael.guene@st.com>
401 * readelf.c (get_elf_section_flags): Display y letter for section
402 with SHF_ARM_NOREAD section flag in readelf section output.
403 (process_section_headers): Add y letter in readelf section output
404 key mapping for ARM architecture.
405 * objdump.c (dump_section_header): Display NOREAD attributes as
407 * doc/binutils.texi (objdump): Note that it is correct for
408 sections to have both the READONLY and NOREAD attributes.
410 2016-01-19 John Baldwin <jhb@FreeBSD.org>
412 * readelf.c (get_freebsd_elfcore_note_type): Remove unused variable.
414 2016-01-19 John Baldwin <jhb@FreeBSD.org>
416 * readelf.c (get_freebsd_elfcore_note_type): New
417 (process_note): Add support for FreeBSD core notes.
419 2016-01-18 Miranda Cupertino <Cupertino.Miranda@synopsys.com>
420 Zissulescu Claudiu <Claudiu.Zissulescu@synopsys.com>
422 * readelf.c (get_machine_flags): Add support for newer ARC ELF
425 2016-01-18 Alan Modra <amodra@gmail.com>
427 * configure: Regenerate.
429 2016-01-17 Alan Modra <amodra@gmail.com>
431 * configure: Regenerate.
433 2016-01-17 Alan Modra <amodra@gmail.com>
435 * testsuite/lib/binutils-common.exp (is_elf_format): Return true
436 for m68hc11/12 and xgate triples.
438 2016-01-17 Alan Modra <amodra@gmail.com>
440 * readelf.c (is_32bit_abs_reloc): Add R_M68HC11_32.
442 2016-01-01 Alan Modra <amodra@gmail.com>
444 Update year range in copyright notice of all files.
446 For older changes see ChangeLog-2015 and testsuite/ChangeLog-1215
448 Copyright (C) 2016 Free Software Foundation, Inc.
450 Copying and distribution of this file, with or without modification,
451 are permitted in any medium without royalty provided the copyright
452 notice and this notice are preserved.
458 version-control: never