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