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