1 2016-06-14 John Baldwin <jhb@FreeBSD.org>
3 * objcopy.c (do_elf_stt_common): Use correct type.
5 2016-06-14 Alan Modra <amodra@gmail.com>
7 * ar.c: Expand uses of bfd_my_archive.
10 2016-06-14 Alan Modra <amodra@gmail.com>
13 * bucomm.c (bfd_get_archive_filename): Return file name within thin
16 2016-06-02 Nick Clifton <nickc@redhat.com>
19 * objcopy.c (group_signature): Fail if the input symbol table has
20 not been loaded, or if the sh_info field of the group header is 0.
22 * dwarf.c (display_debug_frames): Do not display any
23 interpretation if the block consists solely of DW__CFA_NOPs.
25 2016-05-31 Alan Modra <amodra@gmail.com>
27 * objcopy.c: Formatting, whitespace throughout.
28 (copy_main): Init newsym->othersym.
29 (parse_symflags): Make len a size_t. Adjust uses.
31 2016-05-25 H.J. Lu <hongjiu.lu@intel.com>
34 * NEWS: Mention --enable-64-bit-archive.
36 2016-05-18 Nick Clifton <nickc@redhat.com>
39 * objcopy.c (copy_relocations_in_section): Also check for the
40 symbol pointed to by sym_ptr_ptr being NULL.
42 2016-05-18 Maciej W. Rozycki <macro@imgtec.com>
44 * testsuite/binutils-all/mips/mixed-mips16-micromips.d: New test.
45 * testsuite/binutils-all/mips/mixed-mips16-micromips.s: New test
47 * testsuite/binutils-all/mips/mips.exp: Run the new test.
49 2016-05-18 Nick Clifton <nickc@redhat.com>
51 * po/sv.po: Updated Swedish translation.
53 2016-05-18 Maciej W. Rozycki <macro@imgtec.com>
55 * readelf.c (dynamic_section_mips_val) <DT_MIPS_RLD_VERSION>
56 <DT_MIPS_LOCAL_GOTNO, DT_MIPS_CONFLICTNO, DT_MIPS_LIBLISTNO>
57 <DT_MIPS_SYMTABNO, DT_MIPS_UNREFEXTNO, DT_MIPS_HIPAGENO>
58 <DT_MIPS_DELTA_CLASS_NO, DT_MIPS_DELTA_INSTANCE_NO>
59 <DT_MIPS_DELTA_RELOC_NO, DT_MIPS_DELTA_SYM_NO>
60 <DT_MIPS_DELTA_CLASSSYM_NO, DT_MIPS_COMPACT_SIZE>: Use the
61 `d_val' rather than `d_ptr' member of the dynamic entry.
63 2016-05-17 Maciej W. Rozycki <macro@imgtec.com>
65 * testsuite/lib/binutils-common.exp (supports_gnu_unique): New
67 * testsuite/binutils-all/objcopy.exp: Use `supports_gnu_unique'
68 with the `strip-10' test.
70 2016-05-16 Maciej W. Rozycki <macro@imgtec.com>
72 * testsuite/binutils-all/objcopy.exp: Don't skip the `strip-10'
75 2016-05-11 Andrew Bennett <andrew.bennett@imgtec.com>
77 * readelf.c (print_mips_ases): Add DSPR3.
79 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
81 * readelf.c (display_arm_attribute): Add output for Tag_DSP_extension.
82 (arm_attr_public_tags): Define DSP_extension attribute.
84 2016-05-10 Andrew Burgess <andrew.burgess@embecosm.com>
86 * doc/binutils.texi (nm): Update description of --size-sort.
88 2016-05-09 Nick Clifton <nickc@redhat.com>
91 * readelf.c (get_32bit_section_headers): Warn if an out of range
92 sh_link or sh_info field is encountered.
93 (get_64bit_section_headers): Likewise.
95 2016-05-04 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
97 * testsuite/lib/binutils-common.exp (is_elf_format): Add avr-*-*.
99 2016-05-03 Nick Clifton <nickc@redhat.com>
101 * po/sv.po: Updated Swedish translation.
103 2016-04-29 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
105 * readelf.c (is_32bit_pcrel_reloc): Return true if reloc is 32-bit
106 PC relocation for AVR target.
107 (is_none_reloc): Return true if reloc is any of AVR diff
110 2016-04-29 Nick Clifton <nickc@redhat.com>
113 * readelf.c (get_solaris_segment_type): New function.
114 (get_segment_type): Call it.
116 2016-04-28 Nick Clifton <nickc@redhat.com>
118 * po/zh_CN.po: Updated Chinese (simplified) translation.
120 2016-04-28 Nick Clifton <nickc@redhat.com>
123 * testsuite/binutils-all/aarch64/illegal.s: New test.
124 * testsuite/binutils-all/aarch64/illegal.d: New test driver.
126 2016-04-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
128 * resres.c: Likewise.
130 2016-04-15 H.J. Lu <hongjiu.lu@intel.com>
132 * Makefile.in: Regenerated with automake 1.11.6.
133 * aclocal.m4: Likewise.
134 * doc/Makefile.in: Likewise.
136 2016-04-14 Nick Clifton <nickc@redhat.com>
139 * testsuite/binutils-all/i386/compressed-1b.d: Allow for the
140 string sections possibly having the SHF_STRINGS flag bit set.
141 * testsuite/binutils-all/i386/compressed-1c.d: Likewise.
142 * testsuite/binutils-all/readelf.s: Likewise.
143 * testsuite/binutils-all/readelf.s-64: Likewise.
144 * testsuite/binutils-all/x86-64/compressed-1b.d: Likewise.
145 * testsuite/binutils-all/x86-64/compressed-1c.d: Likewise.
147 2016-04-13 Nick Clifton <nickc@redhat.com>
150 * readelf.c (get_solaris_section_type): New function: Returns the
151 name of Solaris specific section types.
152 (get_solaris_dynamic_type): New function: Return the name of
153 Solaris specific dynamic types.
154 (get_dynamic_type): Use get_solaris_dynamic_type.
155 (get_section_type_name): Use get_solaris_section_type.
156 (get_solaris_symbol_visibility): New function: Returns Solaris
157 specific symbol visibilities.
158 (print_dynamic_symbol): Use get_solaris_symbol_visibility.
159 (process_symbol_table): Likewise.
161 2016-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
163 * dwarf.h (init_dwarf_regnames_s390): Declare.
164 * dwarf.c (dwarf_regnames_s390): New.
165 (init_dwarf_regnames_s390): New.
166 (init_dwarf_regnames): Call it.
167 * objdump.c (dump_dwarf): Likewise.
169 2016-04-11 Maciej W. Rozycki <macro@imgtec.com>
171 * testsuite/binutils-all/mips/mips16-undecoded.d: New test.
172 * testsuite/binutils-all/mips/mips16-undecoded.s: New test
174 * testsuite/binutils-all/mips/mips.exp: Run the new test.
176 2016-04-04 Nick Clifton <nickc@redhat.com>
179 * dwarf.c (display_debug_aranges): Skip warning about unrecognised
180 version number if the version is zero.
182 2016-03-29 Alan Modra <amodra@gmail.com>
184 * readelf.c (get_data): Use BFD_VMA_FMT to print bfd_size_type vars.
185 (get_dynamic_data): Likewise.
187 2016-03-22 Nick Clifton <nickc@redhat.com>
190 * dwarf.c (SAFE_BYTE_GET): Replace local dynamic array allocation
191 with run time size check.
193 * configure: Regenerate.
195 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
197 * readelf.c (decode_ARC_machine_flags): Handle nps400.
199 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
201 * readelf.c (get_machine_flags): Move arc processing into...
202 (decode_ARC_machine_flags): ... new function. Remove use of
203 EF_ARC_CPU_GENERIC, change default case from "generic arc" to
204 "unknown arc". Merged ABI printing between two machine types.
206 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
208 * testsuite/binutils-all/objdump.exp (cpus_expected): Add ARC700
209 to the architecture list.
211 2016-03-21 Nick Clifton <nickc@redhat.com>
213 * dlltool.c: Replace use of alloca with call to xmalloc.
214 * dllwrap.c: Likewise.
215 * nlmconv.c: Likewise.
216 * objdump.c: Likewise.
218 * winduni.c: Likewise.
219 * configure: Regenerate.
221 2016-03-07 Nick Clifton <nickc@redhat.com>
224 * testsuite/binutils-all/ar.exp (proc empty_archive): New proc.
226 * testsuite/binutils-all/empty: New, empty, file.
228 2016-03-04 Matthew Wahab <matthew.wahab@arm.com>
230 * readelf.c (arm_attry_tag_FP_arch): Add "NEON for ARMv8.1".
232 2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
235 * NEWS: Mention --elf-stt-common= for objcopy.
236 * doc/binutils.texi: Document --elf-stt-common= for objcopy.
237 * objcopy.c (do_elf_stt_common): New.
238 (command_line_switch): Add OPTION_ELF_STT_COMMON.
239 (copy_options): Add --elf-stt-common=.
240 (copy_usage): Add --elf-stt-common=.
241 (copy_object): Also check do_elf_stt_common for ELF targets.
242 (copy_file): Handle do_elf_stt_common.
243 (copy_main): Handle OPTION_ELF_STT_COMMON.
244 * readelf.c (apply_relocations): Support STT_COMMON.
245 * testsuite/binutils-all/common-1.s: New file.
246 * testsuite/binutils-all/common-1a.d: Likewise.
247 * testsuite/binutils-all/common-1b.d: Likewise.
248 * testsuite/binutils-all/common-1c.d: Likewise.
249 * testsuite/binutils-all/common-1d.d: Likewise.
250 * testsuite/binutils-all/common-1e.d: Likewise.
251 * testsuite/binutils-all/common-1f.d: Likewise.
252 * testsuite/binutils-all/common-2.s: Likewise.
253 * testsuite/binutils-all/common-2a.d: Likewise.
254 * testsuite/binutils-all/common-2b.d: Likewise.
255 * testsuite/binutils-all/common-2c.d: Likewise.
256 * testsuite/binutils-all/common-2d.d: Likewise.
257 * testsuite/binutils-all/common-2e.d: Likewise.
258 * testsuite/binutils-all/common-2f.d: Likewise.
259 * testsuite/binutils-all/objcopy.exp
260 (objcopy_test_elf_common_symbols): New proc.
261 Run objcopy_test_elf_common_symbols for ELF targets
263 2016-02-16 H.J. Lu <hongjiu.lu@intel.com>
266 * readelf.c (get_section_type_name): Add a missing break.
268 2016-02-16 Claudiu Zissulescu <claziss@synopsys.com>
270 * readelf.c (is_32bit_pcrel_reloc): Add R_ARC_32_PCREL.
272 2016-02-15 Nick Clifton <nickc@redhat.com>
274 * readelf.c (get_section_type_name): Add hex prefix to offsets
275 printed for LOPROC and LOOS values. Ensure that a result is
276 always returned for the V850 target, even when an unrecognised
277 processor specific value is encountered.
278 (process_section_headers): Display key values in the order in
279 which they appear to the user. Add the "C (compressed)" value to
282 2016-02-12 H.J. Lu <hongjiu.lu@intel.com>
284 * doc/binutils.texi: Fix a typo.
286 2016-02-05 Cupertino Miranda <Cupertino.Miranda@synopsys.com>
288 * testsuite/binutils-all/objdump.exp: Update expected default
289 architecture value for ARC binaries.
291 2016-02-02 H.J. Lu <hongjiu.lu@intel.com>
294 * testsuite/binutils-all/objcopy.exp
295 (objcopy_test_without_global_symbol): New proc.
296 Run objcopy_test_without_global_symbol.
297 * testsuite/binutils-all/pr19547.c: New file.
299 2016-01-28 H.J. Lu <hongjiu.lu@intel.com>
302 * Makefile.am (check-DEJAGNU): Pass CC and CC_FOR_BUILD to
304 * Makefile.in: Regenerated.
305 * testsuite/binutils-all/compress.exp (test_gnu_debuglink): New
307 Run test_gnu_debuglink for native ELF build.
309 2016-01-20 Nick Clifton <nickc@redhat.com>
312 * testsuite/binutils-all/dlltool.exp: Fix tests for targets which
313 do not support inserting leading underscores.
315 2016-01-20 Mickael Guene <mickael.guene@st.com>
317 * readelf.c (get_elf_section_flags): Display y letter for section
318 with SHF_ARM_NOREAD section flag in readelf section output.
319 (process_section_headers): Add y letter in readelf section output
320 key mapping for ARM architecture.
321 * objdump.c (dump_section_header): Display NOREAD attributes as
323 * doc/binutils.texi (objdump): Note that it is correct for
324 sections to have both the READONLY and NOREAD attributes.
326 2016-01-19 John Baldwin <jhb@FreeBSD.org>
328 * readelf.c (get_freebsd_elfcore_note_type): Remove unused variable.
330 2016-01-19 John Baldwin <jhb@FreeBSD.org>
332 * readelf.c (get_freebsd_elfcore_note_type): New
333 (process_note): Add support for FreeBSD core notes.
335 2016-01-18 Miranda Cupertino <Cupertino.Miranda@synopsys.com>
336 Zissulescu Claudiu <Claudiu.Zissulescu@synopsys.com>
338 * readelf.c (get_machine_flags): Add support for newer ARC ELF
341 2016-01-18 Alan Modra <amodra@gmail.com>
343 * configure: Regenerate.
345 2016-01-17 Alan Modra <amodra@gmail.com>
347 * configure: Regenerate.
349 2016-01-17 Alan Modra <amodra@gmail.com>
351 * testsuite/lib/binutils-common.exp (is_elf_format): Return true
352 for m68hc11/12 and xgate triples.
354 2016-01-17 Alan Modra <amodra@gmail.com>
356 * readelf.c (is_32bit_abs_reloc): Add R_M68HC11_32.
358 2016-01-01 Alan Modra <amodra@gmail.com>
360 Update year range in copyright notice of all files.
362 For older changes see ChangeLog-2015 and testsuite/ChangeLog-1215
364 Copyright (C) 2016 Free Software Foundation, Inc.
366 Copying and distribution of this file, with or without modification,
367 are permitted in any medium without royalty provided the copyright
368 notice and this notice are preserved.
374 version-control: never