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