]>
Commit | Line | Data |
---|---|---|
32ec8896 NC |
1 | 2017-02-24 Nick Clifton <nickc@redhat.com> |
2 | ||
3 | * readelf.c (show_name, do_dynamic, do_syms, do_dyn_syms, | |
4 | (do_reloc, do_sections, do_section_groups, do_section_details, | |
5 | (do_segments, do_unwind, do_using_dynamic, do_header, do_dump, | |
6 | (do_version, do_histogram, do_debugging, do_arch, do_notes, | |
7 | (do_archive_index, is_32bit_elf, decompress_dumps): Use | |
8 | bfd_boolean type. | |
9 | (parse_args): Treat the do_* variables as booleans. | |
10 | (print_vma): Return an unsigned int. | |
11 | (print_symbol): Change width parameter to signed int. | |
12 | (is_ia64_vms): Change return type to bfd_boolean. | |
13 | (guess_is_rela): Likewise. | |
14 | (slurp_rela_relocs): Likewise. | |
15 | (slurp_rel_relocs): Likewise. | |
16 | (dump_relocations): Likewise. | |
17 | (process_file_header): Likewise. | |
18 | (get_program_headers): Likewise. | |
19 | (process_program_headers): Likewise. | |
20 | (process_section_headers): Likewise. | |
21 | (process_section_groups): Likewise. | |
22 | (dump_ia64_vms_dynamic_fixups): Likewise. | |
23 | (dump_ia64_vms_dynamic_relocs): Likewise. | |
24 | (process_ia64_vms_dynamic_relocs): Likewise. | |
25 | (process_relocs): Likewise. | |
26 | (dump_ia64_unwind): Likewise. | |
27 | (ia64_process_unwind): Likewise. | |
28 | (dump_hppa_unwind): Likewise. | |
29 | (slurp_hppa_unwind_table): Likewise. | |
30 | (hppa_process_unwind): Likewise. | |
31 | (decode_arm_unwind_bytecode): Likewise. | |
32 | (decode_tic6x_unwind_bytecode): Likewise. | |
33 | (decode_arm_unwind): Likewise. | |
34 | (dump_arm_unwind): Likewise. | |
35 | (arm_process_unwind): Likewise. | |
36 | (process_unwind): Likewise. | |
37 | (get_32bit_dynamic_section): Likewise. | |
38 | (get_64bit_dynamic_section): Likewise. | |
39 | (process_dynamic_section): Likewise. | |
40 | (process_version_sections): Likewise. | |
41 | (process_symbol_table): Likewise. | |
42 | (process_syminfo): Likewise. | |
43 | (apply_relocations): Likewise. | |
44 | (disassemble_section): Likewise. | |
45 | (dump_section_as_strings): Likewise. | |
46 | (dump_section_as_bytes): Likewise. | |
47 | (load_specific_debug_section): Likewise. | |
48 | (load_debug_section): Likewise. | |
49 | (display_debug_section): Likewise. | |
50 | (process_section_contents): Likewise. | |
51 | (process_attributes): Likewise. | |
52 | (process_nds32_specific): Likewise. | |
53 | (process_gnu_liblist): Likewise. | |
54 | (print_core_note): Likewise. | |
55 | (print_gnu_note): Likewise. | |
56 | (print_v850_note): Likewise. | |
57 | (process_netbsd_elf_note): Likewise. | |
58 | (print_stapsdt_note): Likewise. | |
59 | (print_ia64_vms_note): Likewise. | |
60 | (process_note): Likewise. | |
61 | (process_notes_at): Likewise. | |
62 | (process_corefile_note_segments): Likewise. | |
63 | (process_v850_notes): Likewise. | |
64 | (process_note_sections): Likewise. | |
65 | (process_notes): Likewise. | |
66 | (process_arch_specific): Likewise. | |
67 | (get_file_header): Likewise. | |
68 | (process_object): Likewise. | |
69 | (process_archive): Likewise. | |
70 | (process_file): Likewise. | |
71 | (section_subset): Make static. | |
72 | (get_mips_reg_size): Return a signed integer. | |
73 | (process_object): Reverse the logic of the return value. | |
74 | (process_archive): Likewise. | |
75 | (process_file): Likewise. | |
6b4bf3bc NC |
76 | (process_program_headers): Fix snafu - if the program headers are |
77 | not available then this is not a cause to fail. | |
78 | (process_corefile_note_segments): Likewise. | |
32ec8896 | 79 | |
7bb1ad17 MR |
80 | 2017-02-24 Maciej W. Rozycki <macro@imgtec.com> |
81 | ||
82 | * readelf.c (get_ver_flags): Tidy the formatting of the string | |
83 | returned | |
84 | ||
5235cd68 MR |
85 | 2017-02-24 Maciej W. Rozycki <macro@imgtec.com> |
86 | ||
87 | * readelf.c (process_version_sections) <SHT_GNU_verdef>: Make | |
88 | `isum' unsigned. | |
89 | <SHT_GNU_verneed>: Likewise. | |
90 | ||
c9f02c3e MR |
91 | 2017-02-24 Maciej W. Rozycki <macro@imgtec.com> |
92 | ||
93 | * readelf.c (process_version_sections) <SHT_GNU_verdef>: Limit | |
94 | the number of entries processed by the section size. Don't | |
95 | break out of the loop if `ent.vd_next' is 0. | |
96 | ||
a567769b JK |
97 | 2017-02-23 Jan Kratochvil <jan.kratochvil@redhat.com> |
98 | ||
99 | * testsuite/binutils-all/dw5.S: New file. | |
100 | * testsuite/binutils-all/dw5.W: New file. | |
101 | * testsuite/binutils-all/readelf.exp (readelf -wiaoRlL): New test. | |
102 | ||
2f6cd591 JK |
103 | 2017-02-23 Jan Kratochvil <jan.kratochvil@redhat.com> |
104 | ||
105 | * dwarf.c (read_and_display_attr_value): Support DW_FORM_data16. | |
106 | ||
7a7e1061 JK |
107 | 2017-02-23 Jan Kratochvil <jan.kratochvil@redhat.com> |
108 | ||
109 | * dwarf.c (display_debug_macro): Support DWARF-5. Rename | |
110 | DW_MACRO_GNU_*. | |
111 | ||
bc0a77d2 JK |
112 | 2017-02-23 Jan Kratochvil <jan.kratochvil@redhat.com> |
113 | ||
114 | * dwarf.c (decode_location_expression): Support DW_OP_implicit_pointer, | |
115 | DW_OP_const_type, DW_OP_regval_type, DW_OP_deref_type, DW_OP_convert | |
116 | and DW_OP_reinterpret. | |
117 | (read_and_display_attr_value): Support DW_AT_call_value, | |
118 | DW_AT_call_data_value, DW_AT_call_target and | |
119 | DW_AT_call_target_clobbered. | |
120 | ||
77145576 JK |
121 | 2017-02-23 Jan Kratochvil <jan.kratochvil@redhat.com> |
122 | ||
123 | * dwarf.c (fetch_indirect_line_string): New function. | |
124 | (abbrev_attr): New field implicit_const. | |
125 | (add_abbrev_attr): New parameter implicit_const. | |
126 | (process_abbrev_section): Support DW_FORM_implicit_const. | |
127 | (decode_location_expression): Support DW_OP_entry_value. | |
128 | (read_and_display_attr_value): Add parameter implicit_const. Support | |
129 | DW_FORM_line_strp and DW_FORM_implicit_const. | |
130 | (read_and_display_attr): Add parameter implicit_const. | |
131 | (process_debug_info): Support line_str and DWARF-5. | |
132 | (read_debug_line_header): Support DWARF-5. | |
133 | (display_formatted_table): New function. | |
134 | (display_debug_lines_raw): New parameter file. Support DWARF-5. | |
135 | (display_debug_lines_decoded): New parameter fileptr. Support DWARF-5. | |
136 | (display_debug_lines): Pass file parameter. | |
137 | (display_debug_macro): Update read_and_display_attr_value caller. | |
138 | (display_debug_abbrev): Support DW_FORM_implicit_const. | |
139 | (display_loclists_list): New function. | |
140 | (display_loc_list): Support .debug_loclists. | |
141 | (display_debug_ranges_list): New function from display_debug_ranges. | |
142 | (display_debug_rnglists_list): New function. | |
143 | (display_debug_ranges): Support .debug_rnglists. | |
144 | (debug_displays): Add .debug_line_str, .debug_loclists and | |
145 | .debug_rnglists. | |
146 | * dwarf.h: Include dwarf2.h | |
147 | (DWARF2_Internal_LineInfo): Add li_offset_size. | |
148 | (DWARF2_Internal_CompUnit): Add cu_unit_type. | |
149 | (enum dwarf_section_display_enum): Add line_str. | |
150 | * readelf.c (process_section_headers): Add rnglists and loclists. | |
151 | ||
ef0b5f1c JK |
152 | 2017-02-23 Jan Kratochvil <jan.kratochvil@redhat.com> |
153 | ||
154 | * dwarf.c (display_block): Add parameter delimiter. | |
155 | (decode_location_expression): Update display_block callers. | |
156 | (read_and_display_attr_value): Add parameter delimiter. | |
157 | (read_and_display_attr, display_debug_macro): Update | |
158 | read_and_display_attr_value caller. | |
159 | ||
359ca075 JK |
160 | 2017-02-23 Jan Kratochvil <jan.kratochvil@redhat.com> |
161 | ||
162 | * dwarf.c (display_loc_list): Use dwarf_vma for offset, base_address | |
163 | and off. | |
164 | (display_loc_list_dwo): Use dwarf_vma for offset. | |
165 | (display_debug_loc): Use dwarf_vma for offset, base_address. | |
166 | (struct range_entry, range_entry_compar): Use dwarf_vma for | |
167 | ranges_offset. | |
168 | (display_debug_ranges): Use dwarf_vma for ranges_offset, offset and | |
169 | base_address. | |
170 | ||
60abdbed NC |
171 | 2017-02-23 Nick Clifton <nickc@redhat.com> |
172 | ||
173 | * readelf.c (display_tag_value): Use an explicit signed type for | |
174 | the tag parameter. | |
175 | (display_gnu_attributes): Use an unsigned integer type for | |
176 | attribute tags. | |
177 | (display_power_gnu_attribute): Likewise. | |
178 | (display_s390_gnu_attribute): Likewise. | |
179 | (display_sparc_hwcaps): Likewise. | |
180 | (display_sparc_hwcaps2): Likewise. | |
181 | (display_sparc_gnu_attribute): Likewise. | |
182 | (display_mips_gnu_attribute): Likewise. | |
183 | (display_tic6x_attribute): Likewise. | |
184 | (display_raw_attribute): Likewise. | |
185 | (process_attributes): Likewise. | |
186 | (process_arm_specific): Delete redundant function. | |
187 | (process_power_specific): Likewise. | |
188 | (process_s390_specific): Likewise. | |
189 | (process_sparc_specific): Likewise. | |
190 | (process_tic6x_specific): Likewise. | |
191 | (process_msp430x_specific): Likewise. | |
192 | (display_public_gnu_attributes): New function. Displays known | |
193 | information about an unknown gnu attribute. | |
194 | (display_generic_attribute): New function. Calls | |
195 | display_tag_value for non-nul tags. | |
196 | (process_arch_specific): Call process_attributes even for | |
197 | architectures not known to specifically support gnu attributes. | |
198 | ||
0502a2b4 JK |
199 | 2017-02-22 Jan Kratochvil <jan.kratochvil@redhat.com> |
200 | ||
201 | * dwarf.c (decode_location_expression): Display also OP. | |
202 | ||
233f82cf MR |
203 | 2017-02-22 Maciej W. Rozycki <macro@imgtec.com> |
204 | ||
205 | * readelf.c (process_version_sections) <SHT_GNU_verdef>: Print a | |
206 | new line between the heading and the first version definition | |
207 | entry. | |
208 | ||
43a444f9 NC |
209 | 2017-02-20 Nick Clifton <nickc@redhat.com> |
210 | ||
211 | PR binutils/21156 | |
212 | * dwarf.c (cu_tu_indexes_read): Move into... | |
213 | (load_cu_tu_indexes): ... here. Change the variable into | |
214 | tri-state. Change the function into boolean, returning | |
215 | false if the indicies could not be loaded. | |
216 | (find_cu_tu_set): Return NULL if the indicies could not be | |
217 | loaded. | |
218 | ||
b814a36d NC |
219 | 2017-02-17 Nick Clifton <nickc@redhat.com> |
220 | ||
221 | PR binutils/21156 | |
222 | * readelf.c (find_section_in_set): Test for invalid section | |
223 | indicies. | |
224 | ||
1b4b80bf NC |
225 | 2017-02-17 Nick Clifton <nickc@redhat.com> |
226 | ||
227 | * readelf.c (get_section_type_name): Add decoding of GNU section | |
228 | types. | |
229 | ||
7c723eec NC |
230 | 2017-02-15 Nick Clifton <nickc@redhat.com> |
231 | ||
232 | * MAINTAINERS: (MIPS, MN10300): Move Eric Christopher to Past | |
233 | Maintainers section. | |
234 | ||
bc303e5d NC |
235 | 2017-02-14 Nick Clifton <nickc@redhat.com> |
236 | ||
237 | PR binutils/21159 | |
238 | * readelf.c (dump_section_as_strings): Reset the start address if | |
239 | no decompression is perfromed. | |
240 | (dump_section_as_bytes): Likewise. | |
241 | ||
92134dc1 NC |
242 | 2017-02-14 Nick Clifton <nickc@redhat.com> |
243 | ||
244 | PR binutils/21158 | |
245 | * rddbg.c (read_symbol_stabs_debugging_info): Check for a null or | |
246 | empty symbol name. | |
247 | ||
a2dea0b2 NC |
248 | 2017-02-14 Nick Clifton <nickc@redhat.com> |
249 | ||
250 | PR binutils/21157 | |
251 | * stabs.c (parse_stab_enum_type): Check for corrupt NAME:VALUE | |
252 | pairs. | |
253 | (parse_number): Exit early if passed an empty string. | |
254 | ||
b32e566b NC |
255 | 2017-02-14 Nick Clifton <nickc@redhat.com> |
256 | ||
257 | PR binutils/21155 | |
258 | * readelf.c (IN_RANGE): New macro. Tests for an address + offset | |
259 | being within a given range. | |
260 | (target_specific_reloc_handling): Use macro to test for underflow | |
261 | as well as overflow of reloc offset. | |
262 | ||
c1221402 NC |
263 | 2017-02-13 Nick Clifton <nickc@redhat.com> |
264 | ||
265 | PR binutils/21150 | |
266 | * nm.c (file_symbol): Add test of string length before testing | |
267 | string characters. | |
268 | ||
f055032e NC |
269 | 2017-02-13 Nick Clifton <nickc@redhat.com> |
270 | ||
271 | PR binutils/21135 | |
272 | * readelf.c (dump_section_as_bytes): Handle the case where | |
273 | uncompress_section_contents returns false. | |
1835f746 | 274 | (dump_section_as_bytes, load_specific_debug_section): Likewise. |
f055032e | 275 | |
ebdf1ebf NC |
276 | 2017-02-13 Nick Clifton <nickc@redhat.com> |
277 | ||
278 | PR binutils/21149 | |
279 | * readelf.c (get_compression_header): Add size parameter. Check | |
280 | size against sizeof compression header before attempting to | |
281 | extract the header. | |
282 | (process_section_headers): Pass size to get_compression_header. | |
283 | (dump_section_as_strings): Likewise. | |
284 | (dump_section_as_bytes): Likewise. | |
285 | (load_specific_debug_section): Likewise. | |
286 | ||
4aeb00ad NC |
287 | 2017-02-13 Nick Clifton <nickc@redhat.com> |
288 | ||
289 | PR binutils/21148 | |
290 | * readelf.c (process_version_sections): Include size of auxillary | |
291 | version information when checking for buffer overflow. | |
292 | ||
0ee3043f NC |
293 | 2017-02-13 Nick Clifton <nickc@redhat.com> |
294 | ||
295 | PR binutils/21147 | |
296 | * readelf.c (process_section_contents): Fix off by one error | |
297 | reporting un-dumped sections. | |
298 | ||
f84ce13b NC |
299 | 2017-02-13 Nick Clifton <nickc@redhat.com> |
300 | ||
301 | PR binutils/21139 | |
302 | * readelf.c (target_specific_reloc_handling): Add num_syms | |
303 | parameter. Check for symbol table overflow before accessing | |
304 | symbol value. If reloc pointer is NULL, discard all saved state. | |
305 | (apply_relocations): Pass num_syms to target_specific_reloc_handling. | |
306 | Call target_specific_reloc_handling with a NULL reloc pointer | |
307 | after processing all of the relocs. | |
308 | ||
03f7786e NC |
309 | 2017-02-13 Nick Clifton <nickc@redhat.com> |
310 | ||
311 | PR binutils/21137 | |
312 | * readelf.c (target_specific_reloc_handling): Add end parameter. | |
313 | Check for buffer overflow before writing relocated values. | |
314 | (apply_relocations): Pass end to target_specific_reloc_handling. | |
315 | ||
387dd777 DP |
316 | 2017-01-27 Dilyan Palauzov <dilyan.palauzov@aegee.org> |
317 | Nick Clifton <nickc@redhat.com> | |
318 | ||
319 | PR 20343 | |
320 | * doc/binutils.texi (ar): Extend documentation of the --plugin | |
321 | option. Include a description of where the plugins should be | |
322 | located. | |
323 | (nm): Likewise. | |
324 | ||
cf581a9b NC |
325 | 2017-01-23 Nick Clifton <nickc@redhat.com> |
326 | ||
327 | * MAINTAINERS: Add Bernd to Past Maintainers section. | |
c49f9d0f | 328 | (SCORE): Remove Mei Ligang as maintainer. Add to Past Maintainers |
71d01c69 | 329 | section. |
cf581a9b | 330 | |
715e99a4 BS |
331 | 2017-01-23 Bernd Schmidt <bschmidt@redhat.com> |
332 | ||
333 | * MAINTAINERS (BFIN): Remove myself as Blackfin maintainer. | |
334 | ||
1737c640 AB |
335 | 2017-01-20 Andrew Burgess <andrew.burgess@embecosm.com> |
336 | ||
337 | * objdump.c (dump_section_header): Extract max section name length | |
338 | from data parameter, use this when formatting output. | |
339 | (find_longest_section_name): New function. | |
340 | (dump_headers): Calculate longest section name when in wide mode, | |
341 | reformat to unify printing of header line. | |
342 | ||
2cedb9eb BR |
343 | 2017-01-18 Bernhard Rosenkranzer <bero@lindev.ch> |
344 | ||
345 | PR 21059 | |
346 | * arlex.l: Support processing with flex 2.6.3. | |
347 | * deflex.l: Likewise. | |
348 | ||
6bb21700 DT |
349 | 2017-01-17 Dmitry Timoshkov <dmitry@baikal.ru> |
350 | ||
351 | * resbin.c: Optional dialog control data immediately follows | |
352 | the control description without alignment. | |
353 | * testsuite/binutils-all/windres/controldata.rc: New test. | |
354 | source. | |
355 | * testsuite/binutils-all/windres/controldata.rsd: New test. | |
356 | ||
2425a30e NC |
357 | 2017-01-12 Nick Clifton <nickc@redhat.com> |
358 | ||
359 | PR binutils/20876 | |
360 | * NEWS: Mention the new feature. | |
361 | * testsuite/binutils-all/objdump.exp (test_build_id_debuglink): | |
362 | New proc to test the location of separate debug info files using | |
363 | the build-id method. | |
364 | ||
b972a0d6 NC |
365 | 2017-01-10 Nick Clifton <nickc@redhat.com> |
366 | ||
367 | PR 21034 | |
368 | * stabs.c (parse_stab_members): Fix thinko checking for g++ | |
369 | version 1 stabs information. | |
370 | ||
cd6581da NC |
371 | 2017-01-09 Nick Clifton <nickc@redhat.com> |
372 | ||
373 | * objdump.c (display_file): Add new parameter 'last_file'. If | |
374 | last_file is true, do not call bfd_close at the end of the | |
375 | function. | |
376 | (main): Set the value of the last_file parameter when calling | |
377 | display_file. | |
378 | ||
4d74727a AM |
379 | 2017-01-09 Alan Modra <amodra@gmail.com> |
380 | ||
381 | * readelf.c (process_section_headers): Correct .rel.dyn/.rela.dyn | |
382 | comment. | |
383 | ||
fd13a84b NC |
384 | 2017-01-06 Nick Clifton <nickc@redhat.com> |
385 | ||
386 | * MAINTAINERS: Move Paul Brook to the Past Maintainers section. | |
387 | ||
b0556316 DP |
388 | 2017-01-04 Dilan Palauzov <dilyan.palauzov@aegee.org> |
389 | ||
390 | PR 20958 | |
391 | * syslex.l (option): Add noyywrap | |
392 | (yywrap): Delete. | |
393 | ||
2571583a AM |
394 | 2017-01-02 Alan Modra <amodra@gmail.com> |
395 | ||
396 | Update year range in copyright notice of all files. | |
397 | ||
5c1ad6b5 | 398 | For older changes see ChangeLog-2016 |
3499769a | 399 | \f |
5c1ad6b5 | 400 | Copyright (C) 2017 Free Software Foundation, Inc. |
3499769a AM |
401 | |
402 | Copying and distribution of this file, with or without modification, | |
403 | are permitted in any medium without royalty provided the copyright | |
404 | notice and this notice are preserved. | |
405 | ||
406 | Local Variables: | |
407 | mode: change-log | |
408 | left-margin: 8 | |
409 | fill-column: 74 | |
410 | version-control: never | |
411 | End: |