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