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