]>
Commit | Line | Data |
---|---|---|
60c4393c NC |
1 | 2017-08-01 Nick Clifton <nickc@redhat.com> |
2 | ||
3 | * po/sv.po: Updated Swedish translation. | |
4 | ||
54387c7f MP |
5 | 2017-07-31 Marty Plummer <ntzrmtthihu777@gmail.com> |
6 | ||
7 | PR 21861 | |
8 | * winduni.c (codepages): Use cp1252 for codepage 0. | |
9 | ||
ec064256 NC |
10 | 2017-07-25 Nick Clifton <nickc@redhat.com> |
11 | ||
12 | PR 21820 | |
13 | * readelf.c (dump_section_as_strings): Do not fail if the section | |
14 | was empty. | |
15 | (dump_section_as_bytes): Likewise. | |
16 | ||
ca4cf9b9 NC |
17 | 2017-07-24 Nick Clifton <nickc@redhat.com> |
18 | ||
19 | PR 21813 | |
20 | * rddbg.c (read_symbol_stabs_debugging_info): Check for an empty | |
21 | string whilst concatenating symbol names. | |
22 | ||
82c78066 NC |
23 | 2017-07-21 Nick Clifton <nickc@redhat.com> |
24 | ||
25 | * po/fr.po: Updated French translation. | |
26 | ||
b57e815c SM |
27 | 2017-07-21 Simon Marchi <simon.marchi@ericsson.com> |
28 | ||
29 | * dwarf.c (last_pointer_size, warned_about_missing_comp_units): | |
30 | Remove. | |
31 | (load_debug_info): Remove assignments to those two variables. | |
32 | ||
ba8826a8 AO |
33 | 2017-07-21 Alexandre Oliva <aoliva@redhat.com> |
34 | ||
35 | * dwarf.c (struct State_Machine_Registers): Add view field. | |
36 | (reset_state_machine): Reset view. | |
37 | (process_extended_line_op): Reset view when appropriate. | |
38 | (display_debug_lines_raw): Increment or reset view when appropriate. | |
39 | Print nonzero views. Support print view resets, disabled by default. | |
40 | (display_debug_lines_decoded): Likewise. Disambiguate op_code tests, | |
41 | enabling printing of end_sequence. | |
42 | * testsuite/binutils-all/dw2-1.W: Add nonzero views. | |
43 | * testsuite/binutils-all/dw2-3.W: Likewise. | |
44 | * testsuite/binutils-all/dw2-3gabi.W: Likewise. | |
45 | * testsuite/binutils-all/dw5.W: Add end sequence lines. | |
46 | * testsuite/binutils-all/i386/compressed-1a.d: Add nonzero views. | |
47 | * testsuite/binutils-all/libdw2-compressedgabi.out: Likewise. | |
48 | * testsuite/binutils-all/objdump.W: Likewise. | |
49 | * testsuite/binutils-all/objdump.WL: Add end sequence lines. | |
50 | * testsuite/binutils-all/x86-64/compressed-1a.d: Add nonzero views. | |
51 | ||
e4943f2c TG |
52 | 2017-07-19 Tristan Gingold <gingold@adacore.com> |
53 | ||
54 | * nm.c (show_stats): Remove variable. | |
55 | (long_options): Remove --stats option. | |
56 | (main): Remove handling of --stats. | |
57 | ||
de194d85 YC |
58 | 2017-07-18 Nick Clifton <nickc@redhat.com> |
59 | ||
60 | PR 21775 | |
61 | * coffgrok.c: Fix spelling typos. | |
62 | * readelf.c: Likewise. | |
63 | * stabs.c: Likewise. | |
64 | * testsuite/binutils-all/objcopy.exp: Likewise. | |
65 | ||
b6a57713 NC |
66 | 2017-07-18 Nick Clifton <nickc@redhat.com> |
67 | ||
68 | * po/sv.po: Updated Swedish translation. | |
69 | ||
0a79bef4 HPN |
70 | 2017-07-18 Hans-Peter Nilsson <hp@bitrange.com> |
71 | ||
72 | * dwarf.c (display_debug_names): Initialize hash_prev. | |
73 | ||
2a925816 NC |
74 | 2017-07-17 Nick Clifton <nickc@redhat.com> |
75 | ||
76 | PR 21433 | |
77 | * ar.c (main): Skip check for no files on the command line when | |
78 | running in MRI mode. | |
79 | ||
a502b0bb L |
80 | 2017-07-13 H.J. Lu <hongjiu.lu@intel.com> |
81 | ||
82 | * testsuite/binutils-all/objdump.exp: Always delete $testarchive | |
83 | first. | |
84 | ||
429d795d AM |
85 | 2017-07-12 Alan Modra <amodra@gmail.com> |
86 | ||
87 | * po/bg.po: Update from translationproject.org/latest/binutils/. | |
88 | * po/ca.po: Likewise. | |
89 | * po/da.po: Likewise. | |
90 | * po/es.po: Likewise. | |
91 | * po/fi.po: Likewise. | |
92 | * po/fr.po: Likewise. | |
93 | * po/hr.po: Likewise. | |
94 | * po/id.po: Likewise. | |
95 | * po/it.po: Likewise. | |
96 | * po/ja.po: Likewise. | |
97 | * po/ro.po: Likewise. | |
98 | * po/ru.po: Likewise. | |
99 | * po/sk.po: Likewise. | |
100 | * po/sr.po: Likewise. | |
101 | * po/sv.po: Likewise. | |
102 | * po/tr.po: Likewise. | |
103 | * po/uk.po: Likewise. | |
104 | * po/vi.po: Likewise. | |
105 | * po/zh_CN.po: Likewise. | |
106 | * po/zh_TW.po: Likewise. | |
107 | ||
0bae9e9e NC |
108 | 2017-07-12 Nick Clifton <nickc@redhat.com> |
109 | ||
110 | Fix compile time warnings using gcc 7.1.1. | |
111 | * dwarf.c (dwarf_vmatoa_1): Do not pass a NULL string pointer to | |
112 | sprintf. | |
113 | * srconv.c (walk_tree_type): Initialise the spare field of the | |
114 | IT_dty structure. | |
115 | ||
04ac15ab AS |
116 | 2017-07-11 Andreas Schwab <schwab@suse.de> |
117 | ||
118 | * readelf.c (process_note): Print newline after description data | |
119 | in narrow mode. | |
120 | (print_core_note): Print newline if nothing was printed in wide | |
121 | mode. | |
122 | ||
14357de1 JK |
123 | 2017-07-09 Rafael Fontenelle <rafaelff@gnome.org> |
124 | ||
125 | * dwarf.c (display_formatted_table): Fix error message typo. | |
126 | ||
0b9305ed JB |
127 | 2017-07-07 John Baldwin <jhb@FreeBSD.org> |
128 | ||
129 | * readelf.c (get_freebsd_elfcore_note_type): Handle | |
130 | NT_FREEBSD_PTLWPINFO. | |
131 | ||
1d827a72 L |
132 | 2017-07-05 H.J. Lu <hongjiu.lu@intel.com> |
133 | ||
134 | * dwarf.c (display_debug_names): Replace index with xindex. | |
135 | ||
0d702cfe TG |
136 | 2017-07-04 Tristan Gingold <gingold@adacore.com> |
137 | ||
138 | * configure: Regenerate. | |
139 | ||
55a09eb6 TG |
140 | 2017-07-04 Tristan Gingold <gingold@adacore.com> |
141 | ||
142 | * NEWS: Add marker for 2.29. | |
143 | ||
15e6ed8c TG |
144 | 2017-07-03 Tristan Gingold <gingold@adacore.com> |
145 | ||
146 | * po/binutils.pot: Regenerate. | |
147 | ||
19871f45 AM |
148 | 2017-07-03 Alan Modra <amodra@gmail.com> |
149 | ||
150 | * strings.c (filename_and_size_t): Delete. | |
151 | (strings_a_section): Don't check section size against file size. | |
152 | Use bdf_malloc_and_get_section. Report an error on failures. | |
153 | Replace arg param with filename and got_a_section param. | |
154 | (got_a_section): Move to.. | |
155 | (strings_object_file): ..an auto var here. Iterate over sections | |
156 | rather than calling bfd_map_over_sections. Adjust strings_a_section | |
157 | call. | |
158 | ||
61364358 JK |
159 | 2017-07-02 Jan Kratochvil <jan.kratochvil@redhat.com> |
160 | ||
161 | * dwarf.c: Include assert.h. | |
162 | (MAX, MIN, get_IDX_name, display_debug_names): New. | |
163 | (debug_displays): Add .debug_names. | |
164 | * dwarf.h: (enum dwarf_section_display_enum): Add debug_names. | |
165 | * readelf.c (process_section_headers): Add ".debug_names". | |
166 | ||
bae7501e AM |
167 | 2017-07-01 Alan Modra <amodra@gmail.com> |
168 | ||
169 | PR binutils/21665 | |
170 | * objdump.c (strtab): Make var a bfd_byte*. | |
171 | (disassemble_section): Don't limit malloc size. Instead, use | |
172 | bfd_malloc_and_get_section. | |
173 | (read_section_stabs): Use bfd_malloc_and_get_section. Return | |
174 | bfd_byte*. | |
175 | (find_stabs_section): Remove now unnecessary cast. | |
176 | * objcopy.c (copy_object): Use bfd_malloc_and_get_section. Free | |
177 | contents on error return. | |
178 | * nlmconv.c (copy_sections): Use bfd_malloc_and_get_section. | |
179 | ||
60a02042 NC |
180 | 2017-06-30 Nick Clifton <nickc@redhat.com> |
181 | ||
182 | PR binutils/21665 | |
183 | * objdump.c (disassemble_section): Move check for an overlarge | |
184 | section to just before the allocation of memory. Do not check | |
185 | section size against file size, but instead use an arbitrary 2Gb | |
186 | limit. Issue a warning message if the section is too big. | |
187 | ||
909b4e3d MR |
188 | 2017-06-30 Maciej W. Rozycki <macro@imgtec.com> |
189 | ||
190 | * NEWS: Mention microMIPS XPA support. | |
191 | ||
f5b2fd52 MR |
192 | 2017-06-30 Maciej W. Rozycki <macro@imgtec.com> |
193 | ||
194 | * NEWS: Mention microMIPS Release 5 ISA support. | |
195 | ||
9785fc2a MR |
196 | 2017-06-30 Maciej W. Rozycki <macro@imgtec.com> |
197 | ||
198 | * testsuite/binutils-all/mips/mips-xpa-virt-1.d: New test. | |
199 | * testsuite/binutils-all/mips/mips-xpa-virt-2.d: New test. | |
200 | * testsuite/binutils-all/mips/mips-xpa-virt-3.d: New test. | |
201 | * testsuite/binutils-all/mips/mips-xpa-virt-4.d: New test. | |
202 | * testsuite/binutils-all/mips/mips-xpa-virt.s: New test source. | |
203 | * testsuite/binutils-all/mips/mips.exp: Run the new tests. | |
204 | ||
e1e94c49 AK |
205 | 2017-06-29 Anton Kolesov <Anton.Kolesov@synopsys.com> |
206 | ||
207 | * testsuite/binutils-all/arc/double_store.s: New file. | |
208 | * testsuite/binutils-all/arc/objdump.exp: Tests for disassembler | |
209 | options. | |
210 | (do_objfile): New function. | |
211 | (check_assembly): Likewise. | |
212 | ||
88ab90e8 AA |
213 | 2017-06-29 Andreas Arnez <arnez@linux.vnet.ibm.com> |
214 | ||
215 | * readelf.c (get_note_type): Add NT_S390_GS_CB and NT_S390_GS_BC. | |
216 | ||
47fdcf63 L |
217 | 2017-06-28 H.J. Lu <hongjiu.lu@intel.com> |
218 | ||
219 | * objdump.c (dump_relocs_in_section): Cast to ufile_ptr when | |
220 | comparing against bfd_get_file_size return. | |
221 | ||
88305e1b NC |
222 | 2017-06-28 Nick Clifton <nickc@redhat.com> |
223 | ||
224 | * objcopy.c (merge_gnu_build_notes): Add support for version 2 notes. | |
225 | * readelf.c (print_gnu_build_attribute_name): Likewise. | |
226 | ||
38bf472a MR |
227 | 2017-06-28 Maciej W. Rozycki <macro@imgtec.com> |
228 | Matthew Fortune <matthew.fortune@imgtec.com> | |
229 | ||
230 | * readelf.c (get_machine_flags) <E_MIPS_MACH_IAMR2>: New case. | |
231 | (print_mips_isa_ext) <AFL_EXT_INTERAPTIV_MR2>: Likewise. | |
232 | * NEWS: Mention Imagination interAptiv MR2 processor support. | |
233 | ||
cfd14a50 NC |
234 | 2017-06-26 Nick Clifton <nickc@redhat.com> |
235 | ||
236 | PR binutils/21665 | |
237 | * objdump.c (disassemble_section): Skip any section that is bigger | |
238 | than the entire file. | |
239 | ||
0602cdad NC |
240 | 2017-06-26 Nick Clifton <nickc@redhat.com> |
241 | ||
242 | PR binutils/21659 | |
243 | * bucomm.c (get_file_size): Explicitly warn if the file is a | |
244 | directory. | |
245 | ||
ced40572 TP |
246 | 2017-06-24 Thomas Preud'homme <thomas.preudhomme@arm.com> |
247 | ||
248 | * readelf.c (arm_attr_tag_CPU_arch): Fill value for ARMv8-R. | |
249 | ||
0e158763 NC |
250 | 2017-06-23 Nick Clifton <nickc@redhat.com> |
251 | ||
252 | PR binutils/21659 | |
253 | * strings.c (strings_file): Warn about attempts to run strings on | |
254 | a directory. | |
255 | ||
48580982 L |
256 | 2017-06-22 H.J. Lu <hongjiu.lu@intel.com> |
257 | ||
258 | * readelf.c (decode_x86_feature): Decode | |
259 | GNU_PROPERTY_X86_FEATURE_1_SHSTK. | |
260 | * testsuite/binutils-all/i386/shstk.d: New file. | |
261 | * testsuite/binutils-all/i386/shstk.s: Likewise. | |
262 | * testsuite/binutils-all/x86-64/shstk-x32.d: Likewise. | |
263 | * testsuite/binutils-all/x86-64/shstk.d: Likewise. | |
264 | * testsuite/binutils-all/x86-64/shstk.s: Likewise. | |
265 | ||
ee2fdd6f L |
266 | 2017-06-22 H.J. Lu <hongjiu.lu@intel.com> |
267 | ||
268 | * readelf.c (decode_x86_feature): New. | |
269 | (print_gnu_property_note): Call decode_x86_feature on | |
270 | GNU_PROPERTY_X86_FEATURE_1_AND. | |
271 | * testsuite/binutils-all/i386/empty.d: New file. | |
272 | * testsuite/binutils-all/i386/empty.s: Likewise. | |
273 | * testsuite/binutils-all/i386/ibt.d: Likewise. | |
274 | * testsuite/binutils-all/i386/ibt.s: Likewise. | |
275 | * testsuite/binutils-all/x86-64/empty-x32.d: Likewise. | |
276 | * testsuite/binutils-all/x86-64/empty.d: Likewise. | |
277 | * testsuite/binutils-all/x86-64/empty.s: Likewise. | |
278 | * testsuite/binutils-all/x86-64/ibt-x32.d: Likewise. | |
279 | * testsuite/binutils-all/x86-64/ibt.d: Likewise. | |
280 | * testsuite/binutils-all/x86-64/ibt.s: Likewise. | |
281 | ||
19474787 L |
282 | 2017-06-21 H.J. Lu <hongjiu.lu@intel.com> |
283 | ||
284 | * dwarf.c (READ_ULEB): Use DWARF_VMA_FMT to report error. | |
285 | (READ_SLEB): Likewise. | |
286 | ||
7f2c8a1d NC |
287 | 2017-06-21 Nick Clifton <nickc@redhat.com> |
288 | ||
289 | PR binutils/21648 | |
290 | * dwarf.c (LEB): Rename to SKIP_ULEB and READ_ULEB. Add check for | |
291 | reading a value that is too big for the containing variable. | |
292 | (SLEB): Rename to SKIP_SLEB and READ_SLEB. Add similar check. | |
293 | Replace uses of LEB and SLEB with appropriate new macro. | |
294 | (display_debug_frames): Use an unsigned int for the 'reg' | |
295 | variable. Use a signed long for the 'l' variable. | |
296 | ||
fd52715c AK |
297 | 2017-06-20 Andreas Krebbel <krebbel@linux.vnet.ibm.com> |
298 | ||
299 | * readelf.c (get_s390_segment_type): Add support for the new | |
300 | segment type PT_S390_PGSTE. | |
301 | (get_segment_type): Call get_s390_segment_type. | |
302 | ||
d16fdddb NC |
303 | 2017-06-19 Nick Clifton <nickc@redhat.com> |
304 | ||
305 | PR binutils/21619 | |
306 | * objdump.c (disassemble_bytes): Check that there is sufficient | |
307 | data available before attempting to display it. | |
308 | ||
d24b7561 SM |
309 | 2017-06-06 Simon Marchi <simon.marchi@ericsson.com> |
310 | ||
311 | * sysinfo.y: Free memory allocated by token NAME. | |
312 | ||
10045478 AK |
313 | 2017-05-30 Anton Kolesov <anton.kolesov@synopsys.com> |
314 | ||
315 | * doc/binutils.texi: Document new cpu=... disassembler options for ARC. | |
316 | ||
8e2f54bc L |
317 | 2017-05-30 H.J. Lu <hongjiu.lu@intel.com> |
318 | ||
319 | PR binutils/21519 | |
320 | * objdump.c (dump_relocs_in_section): Replace get_file_size | |
321 | with bfd_get_file_size to get archive element size. | |
322 | * testsuite/binutils-all/objdump.exp (test_objdump_f): New | |
323 | proc. | |
324 | (test_objdump_h): Likewise. | |
325 | (test_objdump_t): Likewise. | |
326 | (test_objdump_r): Likewise. | |
327 | (test_objdump_s): Likewise. | |
328 | Add objdump tests on archive. | |
329 | ||
003ca0fd YQ |
330 | 2017-05-24 Yao Qi <yao.qi@linaro.org> |
331 | ||
332 | * objdump.c (disassemble_data): Caller update. | |
333 | ||
b4f5b984 JM |
334 | 2017-05-19 Jose E. Marchesi <jose.marchesi@oracle.com> |
335 | ||
336 | * objcopy.c (merge_gnu_build_notes): Remove workaround that | |
337 | prevented deleting relocations in duplicated notes in mips64 and | |
338 | sparc. | |
339 | ||
e5713223 MR |
340 | 2017-05-19 Maciej W. Rozycki <macro@imgtec.com> |
341 | ||
342 | * testsuite/binutils-all/mips/mips-note-2.d: New test. | |
343 | * testsuite/binutils-all/mips/mips-note-2r.d: New test. | |
344 | * testsuite/binutils-all/mips/mips-note-2-n32.d: New test. | |
345 | * testsuite/binutils-all/mips/mips-note-2-n64.d: New test. | |
346 | * testsuite/binutils-all/mips/mips-note-2r-n32.d: New test. | |
347 | * testsuite/binutils-all/mips/mips-note-2r-n64.d: New test. | |
348 | * testsuite/binutils-all/mips/mips.exp: Define `has_newabi'. | |
349 | Run the new tests. | |
350 | ||
f0681695 MR |
351 | 2017-05-19 Maciej W. Rozycki <macro@imgtec.com> |
352 | ||
353 | * testsuite/lib/utils-lib.exp (run_dump_test): Handle the `dump' | |
354 | option. | |
355 | ||
64517994 JM |
356 | 2017-05-19 Jose E. Marchesi <jose.marchesi@oracle.com> |
357 | ||
358 | * NEWS: Mention the SPARC M8 support. | |
359 | ||
dd47d677 MR |
360 | 2017-05-19 Maciej W. Rozycki <macro@imgtec.com> |
361 | ||
362 | * testsuite/binutils-all/mips/mips.exp: Bail out right away if | |
363 | non-ELF. | |
364 | ||
535b785f AM |
365 | 2017-05-18 Alan Modra <amodra@gmail.com> |
366 | ||
367 | * strings.c: Don't compare boolean values against TRUE or FALSE. | |
368 | ||
d8cbc93b JL |
369 | 2017-05-15 Jeff Law <law@redhat.com> |
370 | ||
371 | * readelf.c (display_arc_attribute): Avoid implicit fallthru. | |
372 | ||
3f3467ff MR |
373 | 2017-05-15 Maciej W. Rozycki <macro@imgtec.com> |
374 | ||
375 | * testsuite/binutils-all/mips/mips16-undecoded.d: Add `-mips3' | |
376 | to `as' flags. | |
377 | * testsuite/binutils-all/mips/mips16e2-undecoded.d: New test. | |
378 | * testsuite/binutils-all/mips/mips16e2-extend-insn.d: New test. | |
379 | * testsuite/binutils-all/mips/mips16-undecoded.s: Remove | |
380 | `.module mips3'. | |
381 | * testsuite/binutils-all/mips/mips.exp: Run the new tests. | |
382 | ||
25499ac7 MR |
383 | 2017-05-15 Maciej W. Rozycki <macro@imgtec.com> |
384 | ||
385 | * readelf.c (print_mips_ases): Handle MIPS16e2 ASE. | |
386 | * NEWS: Mention MIPS16e2 ASE support. | |
387 | ||
a4f89915 MR |
388 | 2017-05-12 Maciej W. Rozycki <macro@imgtec.com> |
389 | ||
390 | * testsuite/binutils-all/mips/mips16-extend-insn.d: Adjust BREAK | |
391 | and SDBBP disassembly. | |
392 | ||
40e5240e MR |
393 | 2017-05-10 Maciej W. Rozycki <macro@imgtec.com> |
394 | ||
395 | * testsuite/binutils-all/mips/mips.exp: Define `tempfile' and | |
396 | `copyfile' variables. | |
397 | ||
53a346d8 CZ |
398 | 2017-05-10 Claudiu Zissulescu <claziss@synopsys.com> |
399 | ||
400 | * readelf.c (decode_ARC_machine_flags): Recognize OSABI v4. | |
401 | (get_arc_section_type_name): New function. | |
402 | (get_section_type_name): Use the above function. | |
403 | (display_arc_attribute): New function. | |
404 | (process_arc_specific): Likewise. | |
405 | (process_arch_specific): Handle ARC specific information. | |
406 | ||
21d1fbee KK |
407 | 2017-05-09 Kaz Kojima <kkojima@rr.iij4u.or.jp> |
408 | ||
409 | * MAINTAINERS (SH): Remove myself as SH maintainer. | |
410 | ||
2ecf0cc3 L |
411 | 2017-05-02 H.J. Lu <hongjiu.lu@intel.com> |
412 | ||
413 | * objcopy.c (merge_gnu_build_notes): Cast relcount to unsigned | |
414 | long when comparing with sec->reloc_count. | |
415 | ||
1395c6ce NC |
416 | 2017-05-02 Nick Clifton <nickc@redhat.com> |
417 | ||
418 | * objcopy.c (merge_gnu_build_notes): Disable merge if there are | |
419 | more internal relocs than external relocs. | |
420 | ||
a4ddc54e MR |
421 | 2017-05-02 Maciej W. Rozycki <macro@imgtec.com> |
422 | ||
423 | * testsuite/binutils-all/mips/mips16-undecoded.d: Adjust the | |
424 | disassembly of PC-relative LA and LW synthetic instructions. | |
425 | ||
39ff1b79 NC |
426 | 2017-05-02 Nick Clifton <nickc@redhat.com> |
427 | ||
428 | PR 21440 | |
429 | * objdump.c (dump_relocs_in_section): Check for an excessive | |
430 | number of relocs before attempting to dump them. | |
431 | ||
ee7e95ef AM |
432 | 2017-05-01 Alan Modra <amodra@gmail.com> |
433 | ||
434 | * objcopy.c (merge_gnu_build_notes): Correct code deleting | |
435 | relocs. | |
436 | ||
b06b2c92 NC |
437 | 2017-04-28 Nick Clifton <nickc@redhat.com> |
438 | ||
439 | PR binutils/21439 | |
440 | * readelf.c (print_gnu_build_attribute_name): Allow for an empty | |
441 | name field. | |
442 | ||
4e3afec2 NC |
443 | 2017-04-28 Nick Clifton <nickc@redhat.com> |
444 | ||
445 | PR binutils/21437 | |
446 | * readelf.c (process_version_sections): Check for underflow when | |
447 | computing the start address of the auxillary version data. | |
448 | ||
d949ff56 NC |
449 | 2017-04-28 Nick Clifton <nickc@redhat.com> |
450 | ||
451 | PR binutils/21438 | |
452 | * dwarf.c (process_extended_line_op): Do not assume that the | |
453 | string extracted from the section is NUL terminated. | |
454 | (fetch_indirect_string): If the string retrieved from the section | |
455 | is not NUL terminated, return an error message. | |
456 | (fetch_indirect_line_string): Likewise. | |
457 | (fetch_indexed_string): Likewise. | |
458 | ||
740a4630 NC |
459 | 2017-04-26 Nick Clifton <nickc@redhat.com> |
460 | ||
d21f3ddb | 461 | PR binutils/21433 |
740a4630 NC |
462 | * bucomm.c (get_file_size): Return -1 if file_name is NULL. |
463 | * ar.c (main): Fail with usage() invocation if no file names are | |
464 | provided. | |
465 | ||
3e6b6445 NC |
466 | 2017-04-26 Nick Clifton <nickc@redhat.com> |
467 | ||
468 | * readelf.c (process_section_headers): Warn about overlarge | |
469 | sections. | |
470 | (print_gnu_build_attribute_name): Print the number of unrecognised | |
471 | note types. Fix formatting in the presence of errors. | |
472 | (testsuite/binutils-all/note-2-32.s): Fix encoding of numeric notes. | |
473 | (testsuite/binutils-all/note-2-64.s): Likewise. | |
474 | ||
bbdd9a68 MR |
475 | 2017-04-26 Maciej W. Rozycki <macro@imgtec.com> |
476 | ||
477 | * readelf.c (process_mips_specific): Add static GOT support. | |
478 | ||
c4ab9505 MR |
479 | 2017-04-25 Maciej W. Rozycki <macro@imgtec.com> |
480 | ||
481 | * readelf.c (process_mips_specific): Remove error reporting from | |
482 | GOT[1] processing. | |
483 | ||
919383ac MR |
484 | 2017-04-25 Maciej W. Rozycki <macro@imgtec.com> |
485 | ||
486 | * readelf.c (process_mips_specific): Remove null GOT data check. | |
487 | ||
6e3d1f07 MR |
488 | 2017-04-25 Maciej W. Rozycki <macro@imgtec.com> |
489 | ||
490 | * testsuite/binutils-all/mips/mips16-alias.d: New test. | |
491 | * testsuite/binutils-all/mips/mips16-noalias.d: New test. | |
492 | * testsuite/binutils-all/mips/mips16-alias.s: New test source. | |
493 | * testsuite/binutils-all/mips/mips.exp: Run the new tests. | |
494 | ||
42354845 AM |
495 | 2017-04-23 Alan Modra <amodra@gmail.com> |
496 | ||
497 | PR 21418 | |
498 | * ar.c (main): Check -a, -b, -i and -N args are given. | |
499 | ||
7034215f AM |
500 | 2017-04-23 Alan Modra <amodra@gmail.com> |
501 | ||
502 | PR 21417 | |
503 | * ar.c (main): Check that an archive file is given after options. | |
504 | ||
b02cd3e9 AM |
505 | 2017-04-23 Alan Modra <amodra@gmail.com> |
506 | ||
507 | PR 21415 | |
508 | * objdump.c (disassemble_section): Check bfd_get_section_contents | |
509 | status. | |
510 | ||
f082820d AM |
511 | 2017-04-23 Alan Modra <amodra@gmail.com> |
512 | ||
513 | PR 21408 | |
514 | * dwarf.c (display_debug_lines_decoded): Don't segfault on NULL | |
515 | file_table. | |
516 | ||
ddef72cd NC |
517 | 2017-04-21 Nick Clifton <nickc@redhat.com> |
518 | ||
519 | PR binutils/21378 | |
520 | * readelf.c (print_gnu_build_attribute_name): Check for an | |
521 | overlarge name field. | |
522 | ||
7296a62a NC |
523 | 2017-04-13 Nick Clifton <nickc@redhat.com> |
524 | ||
525 | PR binutils/21379 | |
526 | * readelf.c (process_dynamic_section): Detect over large section | |
527 | offsets in the DT_SYMTAB entry. | |
528 | ||
529 | 2017-04-13 Nick Clifton <nickc@redhat.com> | |
530 | ||
531 | PR binutils/21345 | |
532 | * readelf.c (process_mips_specific): Catch an unfeasible memory | |
533 | allocation before it happens and print a suitable error message. | |
534 | ||
1d15e434 NC |
535 | 2017-04-13 Nick Clifton <nickc@redhat.com> |
536 | ||
537 | * objcopy.c: Add --no-merge-notes option to disable note merging. | |
538 | Add --[no-]merge-notes option to strip, and enable it by default. | |
539 | (num_bytes): New function. | |
540 | (merge_gnu_build_notes): Add code to merge stack size notes. | |
541 | * binutils.texi: Update strip and objcopy documentation. | |
542 | * readelf.c (print_gnu_build_attribute_name): Use defined | |
543 | constants for note types. | |
544 | ||
28d909e5 JD |
545 | 2017-04-10 John Delsignor <john.delsignore@roguewave.com> |
546 | ||
547 | PR binutils/21319 | |
548 | * dwarf.c (display_gdb_index): Correct test for a corrupt address | |
549 | table size. | |
550 | ||
0f65a5d8 JW |
551 | 2017-04-05 Jiong Wang <jiong.wang@arm.com> |
552 | ||
553 | * objcopy.c (struct redefine_node): Delete the field "next". | |
554 | (redefine_sym_list): Deleted. | |
555 | (redefine_specific_htab): New hash table. | |
556 | (redefine_specific_reverse_htab): Likewise. | |
557 | (eq_string_redefnode): New function. | |
558 | (htab_hash_redefnode): Likewise. | |
559 | (create_symbol2redef_htab): Likewise. | |
560 | (add_specific_symbol_node): Likewise. | |
561 | (create_symbol_htabs): Create redefine_specific_htab and | |
562 | redefine_specific_reverse_htab. | |
563 | (lookup_sym_redefinition): Use hash table instead of list. | |
564 | (redefine_list_append): Likewise, and rename to add_redefine_and_check. | |
565 | (copy_main): Use redefine_specific_htab instead of redefine_sym_list. | |
566 | Update comments. | |
567 | ||
a91e1603 L |
568 | 2017-04-04 H.J. Lu <hongjiu.lu@intel.com> |
569 | ||
570 | * NEWS: Mention support for ELF SHF_GNU_MBIND and | |
571 | PT_GNU_MBIND_XXX. | |
572 | * readelf.c (get_segment_type): Handle PT_GNU_MBIND_XXX. | |
573 | (get_elf_section_flags): Handle SHF_GNU_MBIND. | |
574 | (process_section_headers): Likewise. | |
575 | * testsuite/binutils-all/mbind1.s: New file. | |
576 | * testsuite/binutils-all/objcopy.exp: Run readelf test on | |
577 | mbind1.s. | |
578 | ||
82156ab7 NC |
579 | 2017-04-03 Nick Clifton <nickc@redhat.com> |
580 | ||
581 | PR binutils/21345 | |
582 | * readelf.c (get_program_headers): Check for there being too many | |
583 | program headers before attempting to allocate space for them. | |
584 | ||
75ec1fdb NC |
585 | 2017-04-03 Nick Clifton <nickc@redhat.com> |
586 | ||
587 | PR binutils/21344 | |
588 | * readelf.c (process_mips_specific): Check for an out of range GOT | |
589 | entry before reading the module pointer. | |
590 | ||
f32ba729 NC |
591 | 2017-04-03 Nick Clifton <nickc@redhat.com> |
592 | ||
593 | PR binutils/21343 | |
594 | * readelf.c (get_unwind_section_word): Fix snafu checking for | |
595 | invalid word offsets in ARM unwind information. | |
596 | ||
efdf7a02 PC |
597 | 2017-03-31 Pip Cet <pipcet@gmail.com> |
598 | ||
599 | * NEWS: Use "WebAssembly" consistently. | |
600 | * testsuite/binutils-all/wasm32/wasm32.exp: Fix copyright notice. | |
601 | ||
f96bd6c2 PC |
602 | 2017-03-30 Pip Cet <pipcet@gmail.com> |
603 | ||
604 | * readelf.c: Add support for wasm32 ELF format WebAssembly files. | |
605 | (guess_is_rela): Likewise. | |
606 | (dump_relocations): Likewise. | |
607 | (is_32bit_abs_reloc): Likewise. | |
608 | (is_none_reloc_): Likewise. | |
609 | * NEWS: Mention the new support. | |
610 | * testsuite/lib/binutils-common.exp (is_elf_format): Mark wasm32 | |
611 | as ELF target. | |
612 | (supports_gnu_unique): Mark wasm32 as supporting STB_GNU_UNIQUE. | |
613 | * testsuite/binutils-all/nm.exp: Mark wasm32 as requiring .size annotations. | |
614 | * testsuite/binutils-all/wasm32: New directory. | |
615 | * testsuite/binutils-all/wasm32/create-wasm.d: New file. | |
616 | * testsuite/binutils-all/wasm32/create-wasm.s: Likewise. | |
617 | * testsuite/binutils-all/wasm32/custom-section.d: Likewise. | |
618 | * testsuite/binutils-all/wasm32/custom-section.s: Likewise. | |
619 | * testsuite/binutils-all/wasm32/invalid-wasm-1.d: Likewise. | |
620 | * testsuite/binutils-all/wasm32/invalid-wasm-1.s: Likewise. | |
621 | * testsuite/binutils-all/wasm32/long-sections.d: Likewise. | |
622 | * testsuite/binutils-all/wasm32/long-sections.s: Likewise. | |
623 | * testsuite/binutils-all/wasm32/parse-wasm.d: Likewise. | |
624 | * testsuite/binutils-all/wasm32/parse-wasm.s: Likewise. | |
625 | * testsuite/binutils-all/wasm32/parse-wasm-2.d: Likewise. | |
626 | * testsuite/binutils-all/wasm32/parse-wasm-2.s: Likewise. | |
627 | * testsuite/binutils-all/wasm32/prepared-section.d: Likewise. | |
628 | * testsuite/binutils-all/wasm32/prepared-section.s: Likewise. | |
629 | * testsuite/binutils-all/wasm32/wasm32.exp: New file, run tests. | |
630 | ||
52be03fd AM |
631 | 2017-03-29 Alan Modra <amodra@gmail.com> |
632 | ||
633 | * doc/binutils.texi (objdump): Document PowerPC -M options. | |
634 | ||
4a14e306 AK |
635 | 2017-03-21 Andi Kleen <ak@linux.intel.com> |
636 | ||
637 | * objdump.c (unwind_inlines): Add. | |
638 | (option_values): Add OPTION_INLINES. | |
639 | (show_line): Unwind inlines if requested. | |
640 | (main): Parse OPTION_INLINES. | |
641 | (usage): Document --inlines. | |
642 | * doc/binutils.texi: Document --inlines. | |
643 | * NEWS: Likewise. | |
644 | ||
75d7d298 NC |
645 | 2017-03-21 Nick Clifton <nickc@redhat.com> |
646 | ||
647 | * readelf.c (print_gnu_build_attribute_name): Allow stack | |
648 | protection notes to contain numeric values. Use a colon rather | |
649 | than a space to separate a string name from its values. Decode | |
650 | the numeric value of a stack protection note. | |
651 | * objcopy.c (merge_gnu_build_notes): Allow version notes to | |
652 | contain extra text after the protocol version number. | |
653 | ||
39e224f6 MW |
654 | 2017-03-20 Mark Wielaard <mark@klomp.org> |
655 | ||
656 | * readelf.c (process_program_headers): Move dynamic_addr check | |
657 | after .dynamic section cross check. | |
658 | ||
0dd6ae21 NC |
659 | 2017-03-17 Nick Clifton <nickc@redhat.com> |
660 | ||
661 | * readelf.c (print_gnu_build_attribute_name): Fix off by one error | |
662 | printing the value for a build note with an ascii name. | |
663 | ||
a8be5506 NC |
664 | 2017-03-16 Nick Clifton <nickc@redhat.com> |
665 | ||
666 | * readelf.c (print_gnu_build_attribute_name): Add support for | |
667 | GNU_BUILD_ATTRIBUTE_SHORT_ENUM. | |
668 | ||
c799a79d NC |
669 | 2017-03-14 Nick Clifton <nickc@redhat.com> |
670 | ||
671 | * readelf.c (print_gnu_build_attribute_description): Move symbol | |
672 | printing code to... | |
673 | (print_symbol_for_build_attribute): New function. ...here. | |
674 | Add to find the best symbol to associate with an OPEN note. | |
675 | Add code to cache the symbol table and string table, so that they | |
676 | are not loaded every time a note is displayed. | |
677 | * testsuite/binutils-all/note-2-32.s: Add a function symbol. | |
678 | * testsuite/binutils-all/note-2-64.s: Likewise. | |
679 | * testsuite/binutils-all/note-2-32.d: Update expected note output. | |
680 | * testsuite/binutils-all/note-2-64.d: Likewise. | |
681 | ||
5ef2d51b AM |
682 | 2017-03-13 Alan Modra <amodra@gmail.com> |
683 | Taeung Song <treeze.taeung@gmail.com> | |
684 | ||
685 | * objdump.c (update_source_path): Add abfd param. Add struct | |
686 | stat var. Pass to try_print_file_open. Warn if source is more | |
687 | recent than object. | |
688 | (try_print_file_open, slurp_file): Add struct stat param to | |
689 | return fstat. | |
690 | (show_line): Call update_source_path with bfd. | |
691 | ||
7b5d4822 CHL |
692 | 2017-03-10 Chia-Hao Lo <fcamel@gmail.com> |
693 | ||
694 | PR binutils/21235 | |
695 | * objdump.c (main): Set do_wide with --wide. | |
696 | ||
55e22ca8 NC |
697 | 2017-03-10 Nick Clifton <nickc@redhat.com> |
698 | ||
699 | * readelf.c (get_machine_name): Rearrange switch table in order of | |
700 | increasing machine number. Add missing entries. | |
701 | ||
1fc87489 L |
702 | 2017-03-08 H.J. Lu <hongjiu.lu@intel.com> |
703 | ||
704 | PR binutils/21231 | |
705 | * readelf.c (decode_x86_isa): Change argument to unsigned int. | |
706 | (print_gnu_property_note): Retrieve property type and datasz as | |
707 | 4-byte integer. Consolidate property datasz check. Check | |
708 | GNU_PROPERTY_LOPROC and GNU_PROPERTY_LOUSER. | |
709 | * testsuite/binutils-all/i386/pr21231a.d: New file. | |
710 | * testsuite/binutils-all/i386/pr21231a.s: Likewise. | |
711 | * testsuite/binutils-all/i386/pr21231b.d: Likewise. | |
712 | * testsuite/binutils-all/i386/pr21231b.s: Likewise. | |
713 | * testsuite/binutils-all/x86-64/pr21231a.d: Likewise. | |
714 | * testsuite/binutils-all/x86-64/pr21231a.s: Likewise. | |
715 | * testsuite/binutils-all/x86-64/pr21231b.d: Likewise. | |
716 | * testsuite/binutils-all/x86-64/pr21231b.s: Likewise. | |
717 | ||
79a964dc NC |
718 | 2017-03-06 Nick Clifton <nickc@redhat.com> |
719 | ||
720 | * readelf.c (print_gnu_build_attribute_name): Read byte values | |
721 | from the name string as unsigned bytes. | |
722 | (process_notes_at): Use memcpy to copy an unterminated name | |
723 | string. | |
724 | ||
1f5345a6 ST |
725 | 2017-03-06 Sam Thursfield <sam.thursfield@codethink.co.uk> |
726 | ||
727 | * configure.ac (AC_CHECK_DECLS): Add asprintf. | |
728 | * config.in: Regenerate. | |
729 | * configure: Regenerate. | |
730 | ||
c871dade NC |
731 | 2017-03-02 Nick Clifton <nickc@redhat.com> |
732 | ||
733 | * readelf.c (print_gnu_build_attribute_description): Use global | |
734 | symbols for OPEN attributes if at all possible. | |
05ed4310 NC |
735 | * objcopy.c (is_merged_note_section): Support build note sections |
736 | without the SHF_GNU_BUILD_NOTE section flag set. | |
c871dade | 737 | |
b451e98a JK |
738 | 2017-03-02 Jan Kratochvil <jan.kratochvil@redhat.com> |
739 | ||
740 | * dwarf.c (debug_displays_assert): New static assertion. | |
741 | ||
d4620bee JK |
742 | 2017-03-02 Jan Kratochvil <jan.kratochvil@redhat.com> |
743 | ||
744 | * dwarf.h (enum dwarf_section_display_enum): Add loclists and rnglists. | |
745 | ||
9ef920e9 NC |
746 | 2017-03-01 Nick Clifton <nickc@redhat.com> |
747 | ||
748 | * readelf.c (get_note_type): Add support for GNU_BUILD_NOTEs. | |
749 | (get_gnu_elf_note_type): Add support for GNU_PROPERTY_NOTEs. | |
750 | (decode_x86_isa): New function. | |
751 | (print_gnu_property_note): New function. | |
752 | (print_gnu_note): Handle GNU_PROPERTY_NOTEs. | |
753 | (print_gnu_build_attribute_description): New function. | |
754 | (print_gnu_build_attribute_name): New function. | |
755 | (process_note): Add support for GNU_BUILD_NOTEs. | |
756 | * objcopy.c (--merge-notes): New command line option. | |
757 | (copy_options): Add merge-notes. | |
758 | (copy_usage): Likewise. | |
759 | (is_merge_note_section): New function. | |
760 | (merge_gnu_build_notes): New function. | |
761 | (copy_object): Merge note sections if asked to do so. | |
762 | (skip_section): Add skip_copy parameter. Add support for skipping | |
763 | merged note sections. | |
764 | (copy_relocations_in_section): Update call to skip_section. | |
765 | (copy_section): Likewise. | |
766 | (copy_main): Add support for merge-notes option. | |
767 | * doc/binutils.texi: Document the new option to objcopy. | |
768 | * NEWS: Mention the new feature. | |
769 | * testsuite/binutils-all/note-2-32.d: New test. Checks note | |
770 | merging on 32-bit targets. | |
771 | * testsuite/binutils-all/note-2-32.s: New test source file. | |
772 | * testsuite/binutils-all/note-2-64.d: New test. Like note-2-32.d | |
773 | but for 64-bit targets. | |
774 | * testsuite/binutils-all/note-2-64.s: New test source file. | |
775 | * testsuite/binutils-all/objcopy.exp: Run the new test. | |
776 | ||
65b48a81 PB |
777 | 2017-02-28 Peter Bergner <bergner@vnet.ibm.com> |
778 | ||
779 | * objdump.c (main): Use remove_whitespace_and_extra_commas. | |
780 | ||
9dfd0db9 JK |
781 | 2017-02-27 Jan Kratochvil <jan.kratochvil@redhat.com> |
782 | ||
783 | Fix compilation with GCC 4.4.7. | |
784 | * dwarf.c (display_loclists_list, display_debug_rnglists_list): | |
785 | Initialize begin and end. | |
786 | ||
3b83ea38 AM |
787 | 2017-02-25 Alan Modra <amodra@gmail.com> |
788 | ||
789 | * testsuite/binutils-all/dw5.S: Replace .string with .asciz. | |
790 | Support hpux .comm variant. | |
791 | * testsuite/binutils-all/readelf.exp: Define HPUX when assembling | |
792 | dw5 test for hppa64-hpux. | |
793 | ||
32ec8896 NC |
794 | 2017-02-24 Nick Clifton <nickc@redhat.com> |
795 | ||
796 | * readelf.c (show_name, do_dynamic, do_syms, do_dyn_syms, | |
797 | (do_reloc, do_sections, do_section_groups, do_section_details, | |
798 | (do_segments, do_unwind, do_using_dynamic, do_header, do_dump, | |
799 | (do_version, do_histogram, do_debugging, do_arch, do_notes, | |
800 | (do_archive_index, is_32bit_elf, decompress_dumps): Use | |
801 | bfd_boolean type. | |
802 | (parse_args): Treat the do_* variables as booleans. | |
803 | (print_vma): Return an unsigned int. | |
804 | (print_symbol): Change width parameter to signed int. | |
805 | (is_ia64_vms): Change return type to bfd_boolean. | |
806 | (guess_is_rela): Likewise. | |
807 | (slurp_rela_relocs): Likewise. | |
808 | (slurp_rel_relocs): Likewise. | |
809 | (dump_relocations): Likewise. | |
810 | (process_file_header): Likewise. | |
811 | (get_program_headers): Likewise. | |
812 | (process_program_headers): Likewise. | |
813 | (process_section_headers): Likewise. | |
814 | (process_section_groups): Likewise. | |
815 | (dump_ia64_vms_dynamic_fixups): Likewise. | |
816 | (dump_ia64_vms_dynamic_relocs): Likewise. | |
817 | (process_ia64_vms_dynamic_relocs): Likewise. | |
818 | (process_relocs): Likewise. | |
819 | (dump_ia64_unwind): Likewise. | |
820 | (ia64_process_unwind): Likewise. | |
821 | (dump_hppa_unwind): Likewise. | |
822 | (slurp_hppa_unwind_table): Likewise. | |
823 | (hppa_process_unwind): Likewise. | |
824 | (decode_arm_unwind_bytecode): Likewise. | |
825 | (decode_tic6x_unwind_bytecode): Likewise. | |
826 | (decode_arm_unwind): Likewise. | |
827 | (dump_arm_unwind): Likewise. | |
828 | (arm_process_unwind): Likewise. | |
829 | (process_unwind): Likewise. | |
830 | (get_32bit_dynamic_section): Likewise. | |
831 | (get_64bit_dynamic_section): Likewise. | |
832 | (process_dynamic_section): Likewise. | |
833 | (process_version_sections): Likewise. | |
834 | (process_symbol_table): Likewise. | |
835 | (process_syminfo): Likewise. | |
836 | (apply_relocations): Likewise. | |
837 | (disassemble_section): Likewise. | |
838 | (dump_section_as_strings): Likewise. | |
839 | (dump_section_as_bytes): Likewise. | |
840 | (load_specific_debug_section): Likewise. | |
841 | (load_debug_section): Likewise. | |
842 | (display_debug_section): Likewise. | |
843 | (process_section_contents): Likewise. | |
844 | (process_attributes): Likewise. | |
845 | (process_nds32_specific): Likewise. | |
846 | (process_gnu_liblist): Likewise. | |
847 | (print_core_note): Likewise. | |
848 | (print_gnu_note): Likewise. | |
849 | (print_v850_note): Likewise. | |
850 | (process_netbsd_elf_note): Likewise. | |
851 | (print_stapsdt_note): Likewise. | |
852 | (print_ia64_vms_note): Likewise. | |
853 | (process_note): Likewise. | |
854 | (process_notes_at): Likewise. | |
855 | (process_corefile_note_segments): Likewise. | |
856 | (process_v850_notes): Likewise. | |
857 | (process_note_sections): Likewise. | |
858 | (process_notes): Likewise. | |
859 | (process_arch_specific): Likewise. | |
860 | (get_file_header): Likewise. | |
861 | (process_object): Likewise. | |
862 | (process_archive): Likewise. | |
863 | (process_file): Likewise. | |
864 | (section_subset): Make static. | |
865 | (get_mips_reg_size): Return a signed integer. | |
866 | (process_object): Reverse the logic of the return value. | |
867 | (process_archive): Likewise. | |
868 | (process_file): Likewise. | |
6b4bf3bc NC |
869 | (process_program_headers): Fix snafu - if the program headers are |
870 | not available then this is not a cause to fail. | |
871 | (process_corefile_note_segments): Likewise. | |
32ec8896 | 872 | |
7bb1ad17 MR |
873 | 2017-02-24 Maciej W. Rozycki <macro@imgtec.com> |
874 | ||
875 | * readelf.c (get_ver_flags): Tidy the formatting of the string | |
876 | returned | |
877 | ||
5235cd68 MR |
878 | 2017-02-24 Maciej W. Rozycki <macro@imgtec.com> |
879 | ||
880 | * readelf.c (process_version_sections) <SHT_GNU_verdef>: Make | |
881 | `isum' unsigned. | |
882 | <SHT_GNU_verneed>: Likewise. | |
883 | ||
c9f02c3e MR |
884 | 2017-02-24 Maciej W. Rozycki <macro@imgtec.com> |
885 | ||
886 | * readelf.c (process_version_sections) <SHT_GNU_verdef>: Limit | |
887 | the number of entries processed by the section size. Don't | |
888 | break out of the loop if `ent.vd_next' is 0. | |
889 | ||
a567769b JK |
890 | 2017-02-23 Jan Kratochvil <jan.kratochvil@redhat.com> |
891 | ||
892 | * testsuite/binutils-all/dw5.S: New file. | |
893 | * testsuite/binutils-all/dw5.W: New file. | |
894 | * testsuite/binutils-all/readelf.exp (readelf -wiaoRlL): New test. | |
895 | ||
2f6cd591 JK |
896 | 2017-02-23 Jan Kratochvil <jan.kratochvil@redhat.com> |
897 | ||
898 | * dwarf.c (read_and_display_attr_value): Support DW_FORM_data16. | |
899 | ||
7a7e1061 JK |
900 | 2017-02-23 Jan Kratochvil <jan.kratochvil@redhat.com> |
901 | ||
902 | * dwarf.c (display_debug_macro): Support DWARF-5. Rename | |
903 | DW_MACRO_GNU_*. | |
904 | ||
bc0a77d2 JK |
905 | 2017-02-23 Jan Kratochvil <jan.kratochvil@redhat.com> |
906 | ||
907 | * dwarf.c (decode_location_expression): Support DW_OP_implicit_pointer, | |
908 | DW_OP_const_type, DW_OP_regval_type, DW_OP_deref_type, DW_OP_convert | |
909 | and DW_OP_reinterpret. | |
910 | (read_and_display_attr_value): Support DW_AT_call_value, | |
911 | DW_AT_call_data_value, DW_AT_call_target and | |
912 | DW_AT_call_target_clobbered. | |
913 | ||
77145576 JK |
914 | 2017-02-23 Jan Kratochvil <jan.kratochvil@redhat.com> |
915 | ||
916 | * dwarf.c (fetch_indirect_line_string): New function. | |
917 | (abbrev_attr): New field implicit_const. | |
918 | (add_abbrev_attr): New parameter implicit_const. | |
919 | (process_abbrev_section): Support DW_FORM_implicit_const. | |
920 | (decode_location_expression): Support DW_OP_entry_value. | |
921 | (read_and_display_attr_value): Add parameter implicit_const. Support | |
922 | DW_FORM_line_strp and DW_FORM_implicit_const. | |
923 | (read_and_display_attr): Add parameter implicit_const. | |
924 | (process_debug_info): Support line_str and DWARF-5. | |
925 | (read_debug_line_header): Support DWARF-5. | |
926 | (display_formatted_table): New function. | |
927 | (display_debug_lines_raw): New parameter file. Support DWARF-5. | |
928 | (display_debug_lines_decoded): New parameter fileptr. Support DWARF-5. | |
929 | (display_debug_lines): Pass file parameter. | |
930 | (display_debug_macro): Update read_and_display_attr_value caller. | |
931 | (display_debug_abbrev): Support DW_FORM_implicit_const. | |
932 | (display_loclists_list): New function. | |
933 | (display_loc_list): Support .debug_loclists. | |
934 | (display_debug_ranges_list): New function from display_debug_ranges. | |
935 | (display_debug_rnglists_list): New function. | |
936 | (display_debug_ranges): Support .debug_rnglists. | |
937 | (debug_displays): Add .debug_line_str, .debug_loclists and | |
938 | .debug_rnglists. | |
939 | * dwarf.h: Include dwarf2.h | |
940 | (DWARF2_Internal_LineInfo): Add li_offset_size. | |
941 | (DWARF2_Internal_CompUnit): Add cu_unit_type. | |
942 | (enum dwarf_section_display_enum): Add line_str. | |
943 | * readelf.c (process_section_headers): Add rnglists and loclists. | |
944 | ||
ef0b5f1c JK |
945 | 2017-02-23 Jan Kratochvil <jan.kratochvil@redhat.com> |
946 | ||
947 | * dwarf.c (display_block): Add parameter delimiter. | |
948 | (decode_location_expression): Update display_block callers. | |
949 | (read_and_display_attr_value): Add parameter delimiter. | |
950 | (read_and_display_attr, display_debug_macro): Update | |
951 | read_and_display_attr_value caller. | |
952 | ||
359ca075 JK |
953 | 2017-02-23 Jan Kratochvil <jan.kratochvil@redhat.com> |
954 | ||
955 | * dwarf.c (display_loc_list): Use dwarf_vma for offset, base_address | |
956 | and off. | |
957 | (display_loc_list_dwo): Use dwarf_vma for offset. | |
958 | (display_debug_loc): Use dwarf_vma for offset, base_address. | |
959 | (struct range_entry, range_entry_compar): Use dwarf_vma for | |
960 | ranges_offset. | |
961 | (display_debug_ranges): Use dwarf_vma for ranges_offset, offset and | |
962 | base_address. | |
963 | ||
60abdbed NC |
964 | 2017-02-23 Nick Clifton <nickc@redhat.com> |
965 | ||
966 | * readelf.c (display_tag_value): Use an explicit signed type for | |
967 | the tag parameter. | |
968 | (display_gnu_attributes): Use an unsigned integer type for | |
969 | attribute tags. | |
970 | (display_power_gnu_attribute): Likewise. | |
971 | (display_s390_gnu_attribute): Likewise. | |
972 | (display_sparc_hwcaps): Likewise. | |
973 | (display_sparc_hwcaps2): Likewise. | |
974 | (display_sparc_gnu_attribute): Likewise. | |
975 | (display_mips_gnu_attribute): Likewise. | |
976 | (display_tic6x_attribute): Likewise. | |
977 | (display_raw_attribute): Likewise. | |
978 | (process_attributes): Likewise. | |
979 | (process_arm_specific): Delete redundant function. | |
980 | (process_power_specific): Likewise. | |
981 | (process_s390_specific): Likewise. | |
982 | (process_sparc_specific): Likewise. | |
983 | (process_tic6x_specific): Likewise. | |
984 | (process_msp430x_specific): Likewise. | |
985 | (display_public_gnu_attributes): New function. Displays known | |
986 | information about an unknown gnu attribute. | |
987 | (display_generic_attribute): New function. Calls | |
988 | display_tag_value for non-nul tags. | |
989 | (process_arch_specific): Call process_attributes even for | |
990 | architectures not known to specifically support gnu attributes. | |
991 | ||
0502a2b4 JK |
992 | 2017-02-22 Jan Kratochvil <jan.kratochvil@redhat.com> |
993 | ||
994 | * dwarf.c (decode_location_expression): Display also OP. | |
995 | ||
233f82cf MR |
996 | 2017-02-22 Maciej W. Rozycki <macro@imgtec.com> |
997 | ||
998 | * readelf.c (process_version_sections) <SHT_GNU_verdef>: Print a | |
999 | new line between the heading and the first version definition | |
1000 | entry. | |
1001 | ||
43a444f9 NC |
1002 | 2017-02-20 Nick Clifton <nickc@redhat.com> |
1003 | ||
1004 | PR binutils/21156 | |
1005 | * dwarf.c (cu_tu_indexes_read): Move into... | |
1006 | (load_cu_tu_indexes): ... here. Change the variable into | |
1007 | tri-state. Change the function into boolean, returning | |
1008 | false if the indicies could not be loaded. | |
1009 | (find_cu_tu_set): Return NULL if the indicies could not be | |
1010 | loaded. | |
1011 | ||
b814a36d NC |
1012 | 2017-02-17 Nick Clifton <nickc@redhat.com> |
1013 | ||
1014 | PR binutils/21156 | |
1015 | * readelf.c (find_section_in_set): Test for invalid section | |
1016 | indicies. | |
1017 | ||
1b4b80bf NC |
1018 | 2017-02-17 Nick Clifton <nickc@redhat.com> |
1019 | ||
1020 | * readelf.c (get_section_type_name): Add decoding of GNU section | |
1021 | types. | |
1022 | ||
7c723eec NC |
1023 | 2017-02-15 Nick Clifton <nickc@redhat.com> |
1024 | ||
1025 | * MAINTAINERS: (MIPS, MN10300): Move Eric Christopher to Past | |
1026 | Maintainers section. | |
1027 | ||
bc303e5d NC |
1028 | 2017-02-14 Nick Clifton <nickc@redhat.com> |
1029 | ||
1030 | PR binutils/21159 | |
1031 | * readelf.c (dump_section_as_strings): Reset the start address if | |
1032 | no decompression is perfromed. | |
1033 | (dump_section_as_bytes): Likewise. | |
1034 | ||
92134dc1 NC |
1035 | 2017-02-14 Nick Clifton <nickc@redhat.com> |
1036 | ||
1037 | PR binutils/21158 | |
1038 | * rddbg.c (read_symbol_stabs_debugging_info): Check for a null or | |
1039 | empty symbol name. | |
1040 | ||
a2dea0b2 NC |
1041 | 2017-02-14 Nick Clifton <nickc@redhat.com> |
1042 | ||
1043 | PR binutils/21157 | |
1044 | * stabs.c (parse_stab_enum_type): Check for corrupt NAME:VALUE | |
1045 | pairs. | |
1046 | (parse_number): Exit early if passed an empty string. | |
1047 | ||
b32e566b NC |
1048 | 2017-02-14 Nick Clifton <nickc@redhat.com> |
1049 | ||
1050 | PR binutils/21155 | |
1051 | * readelf.c (IN_RANGE): New macro. Tests for an address + offset | |
1052 | being within a given range. | |
1053 | (target_specific_reloc_handling): Use macro to test for underflow | |
1054 | as well as overflow of reloc offset. | |
1055 | ||
c1221402 NC |
1056 | 2017-02-13 Nick Clifton <nickc@redhat.com> |
1057 | ||
1058 | PR binutils/21150 | |
1059 | * nm.c (file_symbol): Add test of string length before testing | |
1060 | string characters. | |
1061 | ||
f055032e NC |
1062 | 2017-02-13 Nick Clifton <nickc@redhat.com> |
1063 | ||
1064 | PR binutils/21135 | |
1065 | * readelf.c (dump_section_as_bytes): Handle the case where | |
1066 | uncompress_section_contents returns false. | |
1835f746 | 1067 | (dump_section_as_bytes, load_specific_debug_section): Likewise. |
f055032e | 1068 | |
ebdf1ebf NC |
1069 | 2017-02-13 Nick Clifton <nickc@redhat.com> |
1070 | ||
1071 | PR binutils/21149 | |
1072 | * readelf.c (get_compression_header): Add size parameter. Check | |
1073 | size against sizeof compression header before attempting to | |
1074 | extract the header. | |
1075 | (process_section_headers): Pass size to get_compression_header. | |
1076 | (dump_section_as_strings): Likewise. | |
1077 | (dump_section_as_bytes): Likewise. | |
1078 | (load_specific_debug_section): Likewise. | |
1079 | ||
4aeb00ad NC |
1080 | 2017-02-13 Nick Clifton <nickc@redhat.com> |
1081 | ||
1082 | PR binutils/21148 | |
1083 | * readelf.c (process_version_sections): Include size of auxillary | |
1084 | version information when checking for buffer overflow. | |
1085 | ||
0ee3043f NC |
1086 | 2017-02-13 Nick Clifton <nickc@redhat.com> |
1087 | ||
1088 | PR binutils/21147 | |
1089 | * readelf.c (process_section_contents): Fix off by one error | |
1090 | reporting un-dumped sections. | |
1091 | ||
f84ce13b NC |
1092 | 2017-02-13 Nick Clifton <nickc@redhat.com> |
1093 | ||
1094 | PR binutils/21139 | |
1095 | * readelf.c (target_specific_reloc_handling): Add num_syms | |
1096 | parameter. Check for symbol table overflow before accessing | |
1097 | symbol value. If reloc pointer is NULL, discard all saved state. | |
1098 | (apply_relocations): Pass num_syms to target_specific_reloc_handling. | |
1099 | Call target_specific_reloc_handling with a NULL reloc pointer | |
1100 | after processing all of the relocs. | |
1101 | ||
03f7786e NC |
1102 | 2017-02-13 Nick Clifton <nickc@redhat.com> |
1103 | ||
1104 | PR binutils/21137 | |
1105 | * readelf.c (target_specific_reloc_handling): Add end parameter. | |
1106 | Check for buffer overflow before writing relocated values. | |
1107 | (apply_relocations): Pass end to target_specific_reloc_handling. | |
1108 | ||
387dd777 DP |
1109 | 2017-01-27 Dilyan Palauzov <dilyan.palauzov@aegee.org> |
1110 | Nick Clifton <nickc@redhat.com> | |
1111 | ||
1112 | PR 20343 | |
1113 | * doc/binutils.texi (ar): Extend documentation of the --plugin | |
1114 | option. Include a description of where the plugins should be | |
1115 | located. | |
1116 | (nm): Likewise. | |
1117 | ||
cf581a9b NC |
1118 | 2017-01-23 Nick Clifton <nickc@redhat.com> |
1119 | ||
1120 | * MAINTAINERS: Add Bernd to Past Maintainers section. | |
c49f9d0f | 1121 | (SCORE): Remove Mei Ligang as maintainer. Add to Past Maintainers |
71d01c69 | 1122 | section. |
cf581a9b | 1123 | |
715e99a4 BS |
1124 | 2017-01-23 Bernd Schmidt <bschmidt@redhat.com> |
1125 | ||
1126 | * MAINTAINERS (BFIN): Remove myself as Blackfin maintainer. | |
1127 | ||
1737c640 AB |
1128 | 2017-01-20 Andrew Burgess <andrew.burgess@embecosm.com> |
1129 | ||
1130 | * objdump.c (dump_section_header): Extract max section name length | |
1131 | from data parameter, use this when formatting output. | |
1132 | (find_longest_section_name): New function. | |
1133 | (dump_headers): Calculate longest section name when in wide mode, | |
1134 | reformat to unify printing of header line. | |
1135 | ||
2cedb9eb BR |
1136 | 2017-01-18 Bernhard Rosenkranzer <bero@lindev.ch> |
1137 | ||
1138 | PR 21059 | |
1139 | * arlex.l: Support processing with flex 2.6.3. | |
1140 | * deflex.l: Likewise. | |
1141 | ||
6bb21700 DT |
1142 | 2017-01-17 Dmitry Timoshkov <dmitry@baikal.ru> |
1143 | ||
1144 | * resbin.c: Optional dialog control data immediately follows | |
1145 | the control description without alignment. | |
1146 | * testsuite/binutils-all/windres/controldata.rc: New test. | |
1147 | source. | |
1148 | * testsuite/binutils-all/windres/controldata.rsd: New test. | |
1149 | ||
2425a30e NC |
1150 | 2017-01-12 Nick Clifton <nickc@redhat.com> |
1151 | ||
1152 | PR binutils/20876 | |
1153 | * NEWS: Mention the new feature. | |
1154 | * testsuite/binutils-all/objdump.exp (test_build_id_debuglink): | |
1155 | New proc to test the location of separate debug info files using | |
1156 | the build-id method. | |
1157 | ||
b972a0d6 NC |
1158 | 2017-01-10 Nick Clifton <nickc@redhat.com> |
1159 | ||
1160 | PR 21034 | |
1161 | * stabs.c (parse_stab_members): Fix thinko checking for g++ | |
1162 | version 1 stabs information. | |
1163 | ||
cd6581da NC |
1164 | 2017-01-09 Nick Clifton <nickc@redhat.com> |
1165 | ||
1166 | * objdump.c (display_file): Add new parameter 'last_file'. If | |
1167 | last_file is true, do not call bfd_close at the end of the | |
1168 | function. | |
1169 | (main): Set the value of the last_file parameter when calling | |
1170 | display_file. | |
1171 | ||
4d74727a AM |
1172 | 2017-01-09 Alan Modra <amodra@gmail.com> |
1173 | ||
1174 | * readelf.c (process_section_headers): Correct .rel.dyn/.rela.dyn | |
1175 | comment. | |
1176 | ||
fd13a84b NC |
1177 | 2017-01-06 Nick Clifton <nickc@redhat.com> |
1178 | ||
1179 | * MAINTAINERS: Move Paul Brook to the Past Maintainers section. | |
1180 | ||
b0556316 DP |
1181 | 2017-01-04 Dilan Palauzov <dilyan.palauzov@aegee.org> |
1182 | ||
1183 | PR 20958 | |
1184 | * syslex.l (option): Add noyywrap | |
1185 | (yywrap): Delete. | |
1186 | ||
2571583a AM |
1187 | 2017-01-02 Alan Modra <amodra@gmail.com> |
1188 | ||
1189 | Update year range in copyright notice of all files. | |
1190 | ||
5c1ad6b5 | 1191 | For older changes see ChangeLog-2016 |
3499769a | 1192 | \f |
5c1ad6b5 | 1193 | Copyright (C) 2017 Free Software Foundation, Inc. |
3499769a AM |
1194 | |
1195 | Copying and distribution of this file, with or without modification, | |
1196 | are permitted in any medium without royalty provided the copyright | |
1197 | notice and this notice are preserved. | |
1198 | ||
1199 | Local Variables: | |
1200 | mode: change-log | |
1201 | left-margin: 8 | |
1202 | fill-column: 74 | |
1203 | version-control: never | |
1204 | End: |