]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blob - binutils/ChangeLog
Also check that the group header's sh_info field is valid.
[thirdparty/binutils-gdb.git] / binutils / ChangeLog
1 2016-06-02 Nick Clifton <nickc@redhat.com>
2
3 PR 20089
4 * objcopy.c (group_signature): Fail if the input symbol table has
5 not been loaded, or if the sh_info field of the group header is 0.
6
7 * dwarf.c (display_debug_frames): Do not display any
8 interpretation if the block consists solely of DW__CFA_NOPs.
9
10 2016-05-31 Alan Modra <amodra@gmail.com>
11
12 * objcopy.c: Formatting, whitespace throughout.
13 (copy_main): Init newsym->othersym.
14 (parse_symflags): Make len a size_t. Adjust uses.
15
16 2016-05-25 H.J. Lu <hongjiu.lu@intel.com>
17
18 PR binutils/14625
19 * NEWS: Mention --enable-64-bit-archive.
20
21 2016-05-18 Nick Clifton <nickc@redhat.com>
22
23 PR 20096
24 * objcopy.c (copy_relocations_in_section): Also check for the
25 symbol pointed to by sym_ptr_ptr being NULL.
26
27 2016-05-18 Maciej W. Rozycki <macro@imgtec.com>
28
29 * testsuite/binutils-all/mips/mixed-mips16-micromips.d: New test.
30 * testsuite/binutils-all/mips/mixed-mips16-micromips.s: New test
31 source.
32 * testsuite/binutils-all/mips/mips.exp: Run the new test.
33
34 2016-05-18 Nick Clifton <nickc@redhat.com>
35
36 * po/sv.po: Updated Swedish translation.
37
38 2016-05-18 Maciej W. Rozycki <macro@imgtec.com>
39
40 * readelf.c (dynamic_section_mips_val) <DT_MIPS_RLD_VERSION>
41 <DT_MIPS_LOCAL_GOTNO, DT_MIPS_CONFLICTNO, DT_MIPS_LIBLISTNO>
42 <DT_MIPS_SYMTABNO, DT_MIPS_UNREFEXTNO, DT_MIPS_HIPAGENO>
43 <DT_MIPS_DELTA_CLASS_NO, DT_MIPS_DELTA_INSTANCE_NO>
44 <DT_MIPS_DELTA_RELOC_NO, DT_MIPS_DELTA_SYM_NO>
45 <DT_MIPS_DELTA_CLASSSYM_NO, DT_MIPS_COMPACT_SIZE>: Use the
46 `d_val' rather than `d_ptr' member of the dynamic entry.
47
48 2016-05-17 Maciej W. Rozycki <macro@imgtec.com>
49
50 * testsuite/lib/binutils-common.exp (supports_gnu_unique): New
51 procedure.
52 * testsuite/binutils-all/objcopy.exp: Use `supports_gnu_unique'
53 with the `strip-10' test.
54
55 2016-05-16 Maciej W. Rozycki <macro@imgtec.com>
56
57 * testsuite/binutils-all/objcopy.exp: Don't skip the `strip-10'
58 test for the V850.
59
60 2016-05-11 Andrew Bennett <andrew.bennett@imgtec.com>
61
62 * readelf.c (print_mips_ases): Add DSPR3.
63
64 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
65
66 * readelf.c (display_arm_attribute): Add output for Tag_DSP_extension.
67 (arm_attr_public_tags): Define DSP_extension attribute.
68
69 2016-05-10 Andrew Burgess <andrew.burgess@embecosm.com>
70
71 * doc/binutils.texi (nm): Update description of --size-sort.
72
73 2016-05-09 Nick Clifton <nickc@redhat.com>
74
75 PR binutils/20063
76 * readelf.c (get_32bit_section_headers): Warn if an out of range
77 sh_link or sh_info field is encountered.
78 (get_64bit_section_headers): Likewise.
79
80 2016-05-04 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
81
82 * testsuite/lib/binutils-common.exp (is_elf_format): Add avr-*-*.
83
84 2016-05-03 Nick Clifton <nickc@redhat.com>
85
86 * po/sv.po: Updated Swedish translation.
87
88 2016-04-29 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
89
90 * readelf.c (is_32bit_pcrel_reloc): Return true if reloc is 32-bit
91 PC relocation for AVR target.
92 (is_none_reloc): Return true if reloc is any of AVR diff
93 relocations.
94
95 2016-04-29 Nick Clifton <nickc@redhat.com>
96
97 PR 19938
98 * readelf.c (get_solaris_segment_type): New function.
99 (get_segment_type): Call it.
100
101 2016-04-28 Nick Clifton <nickc@redhat.com>
102
103 * po/zh_CN.po: Updated Chinese (simplified) translation.
104
105 2016-04-28 Nick Clifton <nickc@redhat.com>
106
107 PR target/19722
108 * testsuite/binutils-all/aarch64/illegal.s: New test.
109 * testsuite/binutils-all/aarch64/illegal.d: New test driver.
110
111 2016-04-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
112
113 * resres.c: Likewise.
114
115 2016-04-15 H.J. Lu <hongjiu.lu@intel.com>
116
117 * Makefile.in: Regenerated with automake 1.11.6.
118 * aclocal.m4: Likewise.
119 * doc/Makefile.in: Likewise.
120
121 2016-04-14 Nick Clifton <nickc@redhat.com>
122
123 PR target/19938
124 * testsuite/binutils-all/i386/compressed-1b.d: Allow for the
125 string sections possibly having the SHF_STRINGS flag bit set.
126 * testsuite/binutils-all/i386/compressed-1c.d: Likewise.
127 * testsuite/binutils-all/readelf.s: Likewise.
128 * testsuite/binutils-all/readelf.s-64: Likewise.
129 * testsuite/binutils-all/x86-64/compressed-1b.d: Likewise.
130 * testsuite/binutils-all/x86-64/compressed-1c.d: Likewise.
131
132 2016-04-13 Nick Clifton <nickc@redhat.com>
133
134 PR target/19938
135 * readelf.c (get_solaris_section_type): New function: Returns the
136 name of Solaris specific section types.
137 (get_solaris_dynamic_type): New function: Return the name of
138 Solaris specific dynamic types.
139 (get_dynamic_type): Use get_solaris_dynamic_type.
140 (get_section_type_name): Use get_solaris_section_type.
141 (get_solaris_symbol_visibility): New function: Returns Solaris
142 specific symbol visibilities.
143 (print_dynamic_symbol): Use get_solaris_symbol_visibility.
144 (process_symbol_table): Likewise.
145
146 2016-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
147
148 * dwarf.h (init_dwarf_regnames_s390): Declare.
149 * dwarf.c (dwarf_regnames_s390): New.
150 (init_dwarf_regnames_s390): New.
151 (init_dwarf_regnames): Call it.
152 * objdump.c (dump_dwarf): Likewise.
153
154 2016-04-11 Maciej W. Rozycki <macro@imgtec.com>
155
156 * testsuite/binutils-all/mips/mips16-undecoded.d: New test.
157 * testsuite/binutils-all/mips/mips16-undecoded.s: New test
158 source.
159 * testsuite/binutils-all/mips/mips.exp: Run the new test.
160
161 2016-04-04 Nick Clifton <nickc@redhat.com>
162
163 PR 19872
164 * dwarf.c (display_debug_aranges): Skip warning about unrecognised
165 version number if the version is zero.
166
167 2016-03-29 Alan Modra <amodra@gmail.com>
168
169 * readelf.c (get_data): Use BFD_VMA_FMT to print bfd_size_type vars.
170 (get_dynamic_data): Likewise.
171
172 2016-03-22 Nick Clifton <nickc@redhat.com>
173
174 PR 19851
175 * dwarf.c (SAFE_BYTE_GET): Replace local dynamic array allocation
176 with run time size check.
177
178 * configure: Regenerate.
179
180 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
181
182 * readelf.c (decode_ARC_machine_flags): Handle nps400.
183
184 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
185
186 * readelf.c (get_machine_flags): Move arc processing into...
187 (decode_ARC_machine_flags): ... new function. Remove use of
188 EF_ARC_CPU_GENERIC, change default case from "generic arc" to
189 "unknown arc". Merged ABI printing between two machine types.
190
191 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
192
193 * testsuite/binutils-all/objdump.exp (cpus_expected): Add ARC700
194 to the architecture list.
195
196 2016-03-21 Nick Clifton <nickc@redhat.com>
197
198 * dlltool.c: Replace use of alloca with call to xmalloc.
199 * dllwrap.c: Likewise.
200 * nlmconv.c: Likewise.
201 * objdump.c: Likewise.
202 * resrc.c: Likewise.
203 * winduni.c: Likewise.
204 * configure: Regenerate.
205
206 2016-03-07 Nick Clifton <nickc@redhat.com>
207
208 PR binutils/19775
209 * testsuite/binutils-all/ar.exp (proc empty_archive): New proc.
210 Run the new proc.
211 * testsuite/binutils-all/empty: New, empty, file.
212
213 2016-03-04 Matthew Wahab <matthew.wahab@arm.com>
214
215 * readelf.c (arm_attry_tag_FP_arch): Add "NEON for ARMv8.1".
216
217 2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
218
219 PR ld/19645
220 * NEWS: Mention --elf-stt-common= for objcopy.
221 * doc/binutils.texi: Document --elf-stt-common= for objcopy.
222 * objcopy.c (do_elf_stt_common): New.
223 (command_line_switch): Add OPTION_ELF_STT_COMMON.
224 (copy_options): Add --elf-stt-common=.
225 (copy_usage): Add --elf-stt-common=.
226 (copy_object): Also check do_elf_stt_common for ELF targets.
227 (copy_file): Handle do_elf_stt_common.
228 (copy_main): Handle OPTION_ELF_STT_COMMON.
229 * readelf.c (apply_relocations): Support STT_COMMON.
230 * testsuite/binutils-all/common-1.s: New file.
231 * testsuite/binutils-all/common-1a.d: Likewise.
232 * testsuite/binutils-all/common-1b.d: Likewise.
233 * testsuite/binutils-all/common-1c.d: Likewise.
234 * testsuite/binutils-all/common-1d.d: Likewise.
235 * testsuite/binutils-all/common-1e.d: Likewise.
236 * testsuite/binutils-all/common-1f.d: Likewise.
237 * testsuite/binutils-all/common-2.s: Likewise.
238 * testsuite/binutils-all/common-2a.d: Likewise.
239 * testsuite/binutils-all/common-2b.d: Likewise.
240 * testsuite/binutils-all/common-2c.d: Likewise.
241 * testsuite/binutils-all/common-2d.d: Likewise.
242 * testsuite/binutils-all/common-2e.d: Likewise.
243 * testsuite/binutils-all/common-2f.d: Likewise.
244 * testsuite/binutils-all/objcopy.exp
245 (objcopy_test_elf_common_symbols): New proc.
246 Run objcopy_test_elf_common_symbols for ELF targets
247
248 2016-02-16 H.J. Lu <hongjiu.lu@intel.com>
249
250 PR binutils/19647
251 * readelf.c (get_section_type_name): Add a missing break.
252
253 2016-02-16 Claudiu Zissulescu <claziss@synopsys.com>
254
255 * readelf.c (is_32bit_pcrel_reloc): Add R_ARC_32_PCREL.
256
257 2016-02-15 Nick Clifton <nickc@redhat.com>
258
259 * readelf.c (get_section_type_name): Add hex prefix to offsets
260 printed for LOPROC and LOOS values. Ensure that a result is
261 always returned for the V850 target, even when an unrecognised
262 processor specific value is encountered.
263 (process_section_headers): Display key values in the order in
264 which they appear to the user. Add the "C (compressed)" value to
265 the list.
266
267 2016-02-12 H.J. Lu <hongjiu.lu@intel.com>
268
269 * doc/binutils.texi: Fix a typo.
270
271 2016-02-05 Cupertino Miranda <Cupertino.Miranda@synopsys.com>
272
273 * testsuite/binutils-all/objdump.exp: Update expected default
274 architecture value for ARC binaries.
275
276 2016-02-02 H.J. Lu <hongjiu.lu@intel.com>
277
278 PR binutils/19547
279 * testsuite/binutils-all/objcopy.exp
280 (objcopy_test_without_global_symbol): New proc.
281 Run objcopy_test_without_global_symbol.
282 * testsuite/binutils-all/pr19547.c: New file.
283
284 2016-01-28 H.J. Lu <hongjiu.lu@intel.com>
285
286 PR binutils/19523
287 * Makefile.am (check-DEJAGNU): Pass CC and CC_FOR_BUILD to
288 runtest.
289 * Makefile.in: Regenerated.
290 * testsuite/binutils-all/compress.exp (test_gnu_debuglink): New
291 proc.
292 Run test_gnu_debuglink for native ELF build.
293
294 2016-01-20 Nick Clifton <nickc@redhat.com>
295
296 PR 19495
297 * testsuite/binutils-all/dlltool.exp: Fix tests for targets which
298 do not support inserting leading underscores.
299
300 2016-01-20 Mickael Guene <mickael.guene@st.com>
301
302 * readelf.c (get_elf_section_flags): Display y letter for section
303 with SHF_ARM_NOREAD section flag in readelf section output.
304 (process_section_headers): Add y letter in readelf section output
305 key mapping for ARM architecture.
306 * objdump.c (dump_section_header): Display NOREAD attributes as
307 well.
308 * doc/binutils.texi (objdump): Note that it is correct for
309 sections to have both the READONLY and NOREAD attributes.
310
311 2016-01-19 John Baldwin <jhb@FreeBSD.org>
312
313 * readelf.c (get_freebsd_elfcore_note_type): Remove unused variable.
314
315 2016-01-19 John Baldwin <jhb@FreeBSD.org>
316
317 * readelf.c (get_freebsd_elfcore_note_type): New
318 (process_note): Add support for FreeBSD core notes.
319
320 2016-01-18 Miranda Cupertino <Cupertino.Miranda@synopsys.com>
321 Zissulescu Claudiu <Claudiu.Zissulescu@synopsys.com>
322
323 * readelf.c (get_machine_flags): Add support for newer ARC ELF
324 header flags.
325
326 2016-01-18 Alan Modra <amodra@gmail.com>
327
328 * configure: Regenerate.
329
330 2016-01-17 Alan Modra <amodra@gmail.com>
331
332 * configure: Regenerate.
333
334 2016-01-17 Alan Modra <amodra@gmail.com>
335
336 * testsuite/lib/binutils-common.exp (is_elf_format): Return true
337 for m68hc11/12 and xgate triples.
338
339 2016-01-17 Alan Modra <amodra@gmail.com>
340
341 * readelf.c (is_32bit_abs_reloc): Add R_M68HC11_32.
342
343 2016-01-01 Alan Modra <amodra@gmail.com>
344
345 Update year range in copyright notice of all files.
346
347 For older changes see ChangeLog-2015 and testsuite/ChangeLog-1215
348 \f
349 Copyright (C) 2016 Free Software Foundation, Inc.
350
351 Copying and distribution of this file, with or without modification,
352 are permitted in any medium without royalty provided the copyright
353 notice and this notice are preserved.
354
355 Local Variables:
356 mode: change-log
357 left-margin: 8
358 fill-column: 74
359 version-control: never
360 End: