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