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