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