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