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