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