Commit | Line | Data |
---|---|---|
0f65a5d8 JW |
1 | 2017-04-05 Jiong Wang <jiong.wang@arm.com> |
2 | ||
3 | * objcopy.c (struct redefine_node): Delete the field "next". | |
4 | (redefine_sym_list): Deleted. | |
5 | (redefine_specific_htab): New hash table. | |
6 | (redefine_specific_reverse_htab): Likewise. | |
7 | (eq_string_redefnode): New function. | |
8 | (htab_hash_redefnode): Likewise. | |
9 | (create_symbol2redef_htab): Likewise. | |
10 | (add_specific_symbol_node): Likewise. | |
11 | (create_symbol_htabs): Create redefine_specific_htab and | |
12 | redefine_specific_reverse_htab. | |
13 | (lookup_sym_redefinition): Use hash table instead of list. | |
14 | (redefine_list_append): Likewise, and rename to add_redefine_and_check. | |
15 | (copy_main): Use redefine_specific_htab instead of redefine_sym_list. | |
16 | Update comments. | |
17 | ||
a91e1603 L |
18 | 2017-04-04 H.J. Lu <hongjiu.lu@intel.com> |
19 | ||
20 | * NEWS: Mention support for ELF SHF_GNU_MBIND and | |
21 | PT_GNU_MBIND_XXX. | |
22 | * readelf.c (get_segment_type): Handle PT_GNU_MBIND_XXX. | |
23 | (get_elf_section_flags): Handle SHF_GNU_MBIND. | |
24 | (process_section_headers): Likewise. | |
25 | * testsuite/binutils-all/mbind1.s: New file. | |
26 | * testsuite/binutils-all/objcopy.exp: Run readelf test on | |
27 | mbind1.s. | |
28 | ||
82156ab7 NC |
29 | 2017-04-03 Nick Clifton <nickc@redhat.com> |
30 | ||
31 | PR binutils/21345 | |
32 | * readelf.c (get_program_headers): Check for there being too many | |
33 | program headers before attempting to allocate space for them. | |
34 | ||
75ec1fdb NC |
35 | 2017-04-03 Nick Clifton <nickc@redhat.com> |
36 | ||
37 | PR binutils/21344 | |
38 | * readelf.c (process_mips_specific): Check for an out of range GOT | |
39 | entry before reading the module pointer. | |
40 | ||
f32ba729 NC |
41 | 2017-04-03 Nick Clifton <nickc@redhat.com> |
42 | ||
43 | PR binutils/21343 | |
44 | * readelf.c (get_unwind_section_word): Fix snafu checking for | |
45 | invalid word offsets in ARM unwind information. | |
46 | ||
efdf7a02 PC |
47 | 2017-03-31 Pip Cet <pipcet@gmail.com> |
48 | ||
49 | * NEWS: Use "WebAssembly" consistently. | |
50 | * testsuite/binutils-all/wasm32/wasm32.exp: Fix copyright notice. | |
51 | ||
f96bd6c2 PC |
52 | 2017-03-30 Pip Cet <pipcet@gmail.com> |
53 | ||
54 | * readelf.c: Add support for wasm32 ELF format WebAssembly files. | |
55 | (guess_is_rela): Likewise. | |
56 | (dump_relocations): Likewise. | |
57 | (is_32bit_abs_reloc): Likewise. | |
58 | (is_none_reloc_): Likewise. | |
59 | * NEWS: Mention the new support. | |
60 | * testsuite/lib/binutils-common.exp (is_elf_format): Mark wasm32 | |
61 | as ELF target. | |
62 | (supports_gnu_unique): Mark wasm32 as supporting STB_GNU_UNIQUE. | |
63 | * testsuite/binutils-all/nm.exp: Mark wasm32 as requiring .size annotations. | |
64 | * testsuite/binutils-all/wasm32: New directory. | |
65 | * testsuite/binutils-all/wasm32/create-wasm.d: New file. | |
66 | * testsuite/binutils-all/wasm32/create-wasm.s: Likewise. | |
67 | * testsuite/binutils-all/wasm32/custom-section.d: Likewise. | |
68 | * testsuite/binutils-all/wasm32/custom-section.s: Likewise. | |
69 | * testsuite/binutils-all/wasm32/invalid-wasm-1.d: Likewise. | |
70 | * testsuite/binutils-all/wasm32/invalid-wasm-1.s: Likewise. | |
71 | * testsuite/binutils-all/wasm32/long-sections.d: Likewise. | |
72 | * testsuite/binutils-all/wasm32/long-sections.s: Likewise. | |
73 | * testsuite/binutils-all/wasm32/parse-wasm.d: Likewise. | |
74 | * testsuite/binutils-all/wasm32/parse-wasm.s: Likewise. | |
75 | * testsuite/binutils-all/wasm32/parse-wasm-2.d: Likewise. | |
76 | * testsuite/binutils-all/wasm32/parse-wasm-2.s: Likewise. | |
77 | * testsuite/binutils-all/wasm32/prepared-section.d: Likewise. | |
78 | * testsuite/binutils-all/wasm32/prepared-section.s: Likewise. | |
79 | * testsuite/binutils-all/wasm32/wasm32.exp: New file, run tests. | |
80 | ||
52be03fd AM |
81 | 2017-03-29 Alan Modra <amodra@gmail.com> |
82 | ||
83 | * doc/binutils.texi (objdump): Document PowerPC -M options. | |
84 | ||
4a14e306 AK |
85 | 2017-03-21 Andi Kleen <ak@linux.intel.com> |
86 | ||
87 | * objdump.c (unwind_inlines): Add. | |
88 | (option_values): Add OPTION_INLINES. | |
89 | (show_line): Unwind inlines if requested. | |
90 | (main): Parse OPTION_INLINES. | |
91 | (usage): Document --inlines. | |
92 | * doc/binutils.texi: Document --inlines. | |
93 | * NEWS: Likewise. | |
94 | ||
75d7d298 NC |
95 | 2017-03-21 Nick Clifton <nickc@redhat.com> |
96 | ||
97 | * readelf.c (print_gnu_build_attribute_name): Allow stack | |
98 | protection notes to contain numeric values. Use a colon rather | |
99 | than a space to separate a string name from its values. Decode | |
100 | the numeric value of a stack protection note. | |
101 | * objcopy.c (merge_gnu_build_notes): Allow version notes to | |
102 | contain extra text after the protocol version number. | |
103 | ||
39e224f6 MW |
104 | 2017-03-20 Mark Wielaard <mark@klomp.org> |
105 | ||
106 | * readelf.c (process_program_headers): Move dynamic_addr check | |
107 | after .dynamic section cross check. | |
108 | ||
0dd6ae21 NC |
109 | 2017-03-17 Nick Clifton <nickc@redhat.com> |
110 | ||
111 | * readelf.c (print_gnu_build_attribute_name): Fix off by one error | |
112 | printing the value for a build note with an ascii name. | |
113 | ||
a8be5506 NC |
114 | 2017-03-16 Nick Clifton <nickc@redhat.com> |
115 | ||
116 | * readelf.c (print_gnu_build_attribute_name): Add support for | |
117 | GNU_BUILD_ATTRIBUTE_SHORT_ENUM. | |
118 | ||
c799a79d NC |
119 | 2017-03-14 Nick Clifton <nickc@redhat.com> |
120 | ||
121 | * readelf.c (print_gnu_build_attribute_description): Move symbol | |
122 | printing code to... | |
123 | (print_symbol_for_build_attribute): New function. ...here. | |
124 | Add to find the best symbol to associate with an OPEN note. | |
125 | Add code to cache the symbol table and string table, so that they | |
126 | are not loaded every time a note is displayed. | |
127 | * testsuite/binutils-all/note-2-32.s: Add a function symbol. | |
128 | * testsuite/binutils-all/note-2-64.s: Likewise. | |
129 | * testsuite/binutils-all/note-2-32.d: Update expected note output. | |
130 | * testsuite/binutils-all/note-2-64.d: Likewise. | |
131 | ||
5ef2d51b AM |
132 | 2017-03-13 Alan Modra <amodra@gmail.com> |
133 | Taeung Song <treeze.taeung@gmail.com> | |
134 | ||
135 | * objdump.c (update_source_path): Add abfd param. Add struct | |
136 | stat var. Pass to try_print_file_open. Warn if source is more | |
137 | recent than object. | |
138 | (try_print_file_open, slurp_file): Add struct stat param to | |
139 | return fstat. | |
140 | (show_line): Call update_source_path with bfd. | |
141 | ||
7b5d4822 CHL |
142 | 2017-03-10 Chia-Hao Lo <fcamel@gmail.com> |
143 | ||
144 | PR binutils/21235 | |
145 | * objdump.c (main): Set do_wide with --wide. | |
146 | ||
55e22ca8 NC |
147 | 2017-03-10 Nick Clifton <nickc@redhat.com> |
148 | ||
149 | * readelf.c (get_machine_name): Rearrange switch table in order of | |
150 | increasing machine number. Add missing entries. | |
151 | ||
1fc87489 L |
152 | 2017-03-08 H.J. Lu <hongjiu.lu@intel.com> |
153 | ||
154 | PR binutils/21231 | |
155 | * readelf.c (decode_x86_isa): Change argument to unsigned int. | |
156 | (print_gnu_property_note): Retrieve property type and datasz as | |
157 | 4-byte integer. Consolidate property datasz check. Check | |
158 | GNU_PROPERTY_LOPROC and GNU_PROPERTY_LOUSER. | |
159 | * testsuite/binutils-all/i386/pr21231a.d: New file. | |
160 | * testsuite/binutils-all/i386/pr21231a.s: Likewise. | |
161 | * testsuite/binutils-all/i386/pr21231b.d: Likewise. | |
162 | * testsuite/binutils-all/i386/pr21231b.s: Likewise. | |
163 | * testsuite/binutils-all/x86-64/pr21231a.d: Likewise. | |
164 | * testsuite/binutils-all/x86-64/pr21231a.s: Likewise. | |
165 | * testsuite/binutils-all/x86-64/pr21231b.d: Likewise. | |
166 | * testsuite/binutils-all/x86-64/pr21231b.s: Likewise. | |
167 | ||
79a964dc NC |
168 | 2017-03-06 Nick Clifton <nickc@redhat.com> |
169 | ||
170 | * readelf.c (print_gnu_build_attribute_name): Read byte values | |
171 | from the name string as unsigned bytes. | |
172 | (process_notes_at): Use memcpy to copy an unterminated name | |
173 | string. | |
174 | ||
1f5345a6 ST |
175 | 2017-03-06 Sam Thursfield <sam.thursfield@codethink.co.uk> |
176 | ||
177 | * configure.ac (AC_CHECK_DECLS): Add asprintf. | |
178 | * config.in: Regenerate. | |
179 | * configure: Regenerate. | |
180 | ||
c871dade NC |
181 | 2017-03-02 Nick Clifton <nickc@redhat.com> |
182 | ||
183 | * readelf.c (print_gnu_build_attribute_description): Use global | |
184 | symbols for OPEN attributes if at all possible. | |
05ed4310 NC |
185 | * objcopy.c (is_merged_note_section): Support build note sections |
186 | without the SHF_GNU_BUILD_NOTE section flag set. | |
c871dade | 187 | |
b451e98a JK |
188 | 2017-03-02 Jan Kratochvil <jan.kratochvil@redhat.com> |
189 | ||
190 | * dwarf.c (debug_displays_assert): New static assertion. | |
191 | ||
d4620bee JK |
192 | 2017-03-02 Jan Kratochvil <jan.kratochvil@redhat.com> |
193 | ||
194 | * dwarf.h (enum dwarf_section_display_enum): Add loclists and rnglists. | |
195 | ||
9ef920e9 NC |
196 | 2017-03-01 Nick Clifton <nickc@redhat.com> |
197 | ||
198 | * readelf.c (get_note_type): Add support for GNU_BUILD_NOTEs. | |
199 | (get_gnu_elf_note_type): Add support for GNU_PROPERTY_NOTEs. | |
200 | (decode_x86_isa): New function. | |
201 | (print_gnu_property_note): New function. | |
202 | (print_gnu_note): Handle GNU_PROPERTY_NOTEs. | |
203 | (print_gnu_build_attribute_description): New function. | |
204 | (print_gnu_build_attribute_name): New function. | |
205 | (process_note): Add support for GNU_BUILD_NOTEs. | |
206 | * objcopy.c (--merge-notes): New command line option. | |
207 | (copy_options): Add merge-notes. | |
208 | (copy_usage): Likewise. | |
209 | (is_merge_note_section): New function. | |
210 | (merge_gnu_build_notes): New function. | |
211 | (copy_object): Merge note sections if asked to do so. | |
212 | (skip_section): Add skip_copy parameter. Add support for skipping | |
213 | merged note sections. | |
214 | (copy_relocations_in_section): Update call to skip_section. | |
215 | (copy_section): Likewise. | |
216 | (copy_main): Add support for merge-notes option. | |
217 | * doc/binutils.texi: Document the new option to objcopy. | |
218 | * NEWS: Mention the new feature. | |
219 | * testsuite/binutils-all/note-2-32.d: New test. Checks note | |
220 | merging on 32-bit targets. | |
221 | * testsuite/binutils-all/note-2-32.s: New test source file. | |
222 | * testsuite/binutils-all/note-2-64.d: New test. Like note-2-32.d | |
223 | but for 64-bit targets. | |
224 | * testsuite/binutils-all/note-2-64.s: New test source file. | |
225 | * testsuite/binutils-all/objcopy.exp: Run the new test. | |
226 | ||
65b48a81 PB |
227 | 2017-02-28 Peter Bergner <bergner@vnet.ibm.com> |
228 | ||
229 | * objdump.c (main): Use remove_whitespace_and_extra_commas. | |
230 | ||
9dfd0db9 JK |
231 | 2017-02-27 Jan Kratochvil <jan.kratochvil@redhat.com> |
232 | ||
233 | Fix compilation with GCC 4.4.7. | |
234 | * dwarf.c (display_loclists_list, display_debug_rnglists_list): | |
235 | Initialize begin and end. | |
236 | ||
3b83ea38 AM |
237 | 2017-02-25 Alan Modra <amodra@gmail.com> |
238 | ||
239 | * testsuite/binutils-all/dw5.S: Replace .string with .asciz. | |
240 | Support hpux .comm variant. | |
241 | * testsuite/binutils-all/readelf.exp: Define HPUX when assembling | |
242 | dw5 test for hppa64-hpux. | |
243 | ||
32ec8896 NC |
244 | 2017-02-24 Nick Clifton <nickc@redhat.com> |
245 | ||
246 | * readelf.c (show_name, do_dynamic, do_syms, do_dyn_syms, | |
247 | (do_reloc, do_sections, do_section_groups, do_section_details, | |
248 | (do_segments, do_unwind, do_using_dynamic, do_header, do_dump, | |
249 | (do_version, do_histogram, do_debugging, do_arch, do_notes, | |
250 | (do_archive_index, is_32bit_elf, decompress_dumps): Use | |
251 | bfd_boolean type. | |
252 | (parse_args): Treat the do_* variables as booleans. | |
253 | (print_vma): Return an unsigned int. | |
254 | (print_symbol): Change width parameter to signed int. | |
255 | (is_ia64_vms): Change return type to bfd_boolean. | |
256 | (guess_is_rela): Likewise. | |
257 | (slurp_rela_relocs): Likewise. | |
258 | (slurp_rel_relocs): Likewise. | |
259 | (dump_relocations): Likewise. | |
260 | (process_file_header): Likewise. | |
261 | (get_program_headers): Likewise. | |
262 | (process_program_headers): Likewise. | |
263 | (process_section_headers): Likewise. | |
264 | (process_section_groups): Likewise. | |
265 | (dump_ia64_vms_dynamic_fixups): Likewise. | |
266 | (dump_ia64_vms_dynamic_relocs): Likewise. | |
267 | (process_ia64_vms_dynamic_relocs): Likewise. | |
268 | (process_relocs): Likewise. | |
269 | (dump_ia64_unwind): Likewise. | |
270 | (ia64_process_unwind): Likewise. | |
271 | (dump_hppa_unwind): Likewise. | |
272 | (slurp_hppa_unwind_table): Likewise. | |
273 | (hppa_process_unwind): Likewise. | |
274 | (decode_arm_unwind_bytecode): Likewise. | |
275 | (decode_tic6x_unwind_bytecode): Likewise. | |
276 | (decode_arm_unwind): Likewise. | |
277 | (dump_arm_unwind): Likewise. | |
278 | (arm_process_unwind): Likewise. | |
279 | (process_unwind): Likewise. | |
280 | (get_32bit_dynamic_section): Likewise. | |
281 | (get_64bit_dynamic_section): Likewise. | |
282 | (process_dynamic_section): Likewise. | |
283 | (process_version_sections): Likewise. | |
284 | (process_symbol_table): Likewise. | |
285 | (process_syminfo): Likewise. | |
286 | (apply_relocations): Likewise. | |
287 | (disassemble_section): Likewise. | |
288 | (dump_section_as_strings): Likewise. | |
289 | (dump_section_as_bytes): Likewise. | |
290 | (load_specific_debug_section): Likewise. | |
291 | (load_debug_section): Likewise. | |
292 | (display_debug_section): Likewise. | |
293 | (process_section_contents): Likewise. | |
294 | (process_attributes): Likewise. | |
295 | (process_nds32_specific): Likewise. | |
296 | (process_gnu_liblist): Likewise. | |
297 | (print_core_note): Likewise. | |
298 | (print_gnu_note): Likewise. | |
299 | (print_v850_note): Likewise. | |
300 | (process_netbsd_elf_note): Likewise. | |
301 | (print_stapsdt_note): Likewise. | |
302 | (print_ia64_vms_note): Likewise. | |
303 | (process_note): Likewise. | |
304 | (process_notes_at): Likewise. | |
305 | (process_corefile_note_segments): Likewise. | |
306 | (process_v850_notes): Likewise. | |
307 | (process_note_sections): Likewise. | |
308 | (process_notes): Likewise. | |
309 | (process_arch_specific): Likewise. | |
310 | (get_file_header): Likewise. | |
311 | (process_object): Likewise. | |
312 | (process_archive): Likewise. | |
313 | (process_file): Likewise. | |
314 | (section_subset): Make static. | |
315 | (get_mips_reg_size): Return a signed integer. | |
316 | (process_object): Reverse the logic of the return value. | |
317 | (process_archive): Likewise. | |
318 | (process_file): Likewise. | |
6b4bf3bc NC |
319 | (process_program_headers): Fix snafu - if the program headers are |
320 | not available then this is not a cause to fail. | |
321 | (process_corefile_note_segments): Likewise. | |
32ec8896 | 322 | |
7bb1ad17 MR |
323 | 2017-02-24 Maciej W. Rozycki <macro@imgtec.com> |
324 | ||
325 | * readelf.c (get_ver_flags): Tidy the formatting of the string | |
326 | returned | |
327 | ||
5235cd68 MR |
328 | 2017-02-24 Maciej W. Rozycki <macro@imgtec.com> |
329 | ||
330 | * readelf.c (process_version_sections) <SHT_GNU_verdef>: Make | |
331 | `isum' unsigned. | |
332 | <SHT_GNU_verneed>: Likewise. | |
333 | ||
c9f02c3e MR |
334 | 2017-02-24 Maciej W. Rozycki <macro@imgtec.com> |
335 | ||
336 | * readelf.c (process_version_sections) <SHT_GNU_verdef>: Limit | |
337 | the number of entries processed by the section size. Don't | |
338 | break out of the loop if `ent.vd_next' is 0. | |
339 | ||
a567769b JK |
340 | 2017-02-23 Jan Kratochvil <jan.kratochvil@redhat.com> |
341 | ||
342 | * testsuite/binutils-all/dw5.S: New file. | |
343 | * testsuite/binutils-all/dw5.W: New file. | |
344 | * testsuite/binutils-all/readelf.exp (readelf -wiaoRlL): New test. | |
345 | ||
2f6cd591 JK |
346 | 2017-02-23 Jan Kratochvil <jan.kratochvil@redhat.com> |
347 | ||
348 | * dwarf.c (read_and_display_attr_value): Support DW_FORM_data16. | |
349 | ||
7a7e1061 JK |
350 | 2017-02-23 Jan Kratochvil <jan.kratochvil@redhat.com> |
351 | ||
352 | * dwarf.c (display_debug_macro): Support DWARF-5. Rename | |
353 | DW_MACRO_GNU_*. | |
354 | ||
bc0a77d2 JK |
355 | 2017-02-23 Jan Kratochvil <jan.kratochvil@redhat.com> |
356 | ||
357 | * dwarf.c (decode_location_expression): Support DW_OP_implicit_pointer, | |
358 | DW_OP_const_type, DW_OP_regval_type, DW_OP_deref_type, DW_OP_convert | |
359 | and DW_OP_reinterpret. | |
360 | (read_and_display_attr_value): Support DW_AT_call_value, | |
361 | DW_AT_call_data_value, DW_AT_call_target and | |
362 | DW_AT_call_target_clobbered. | |
363 | ||
77145576 JK |
364 | 2017-02-23 Jan Kratochvil <jan.kratochvil@redhat.com> |
365 | ||
366 | * dwarf.c (fetch_indirect_line_string): New function. | |
367 | (abbrev_attr): New field implicit_const. | |
368 | (add_abbrev_attr): New parameter implicit_const. | |
369 | (process_abbrev_section): Support DW_FORM_implicit_const. | |
370 | (decode_location_expression): Support DW_OP_entry_value. | |
371 | (read_and_display_attr_value): Add parameter implicit_const. Support | |
372 | DW_FORM_line_strp and DW_FORM_implicit_const. | |
373 | (read_and_display_attr): Add parameter implicit_const. | |
374 | (process_debug_info): Support line_str and DWARF-5. | |
375 | (read_debug_line_header): Support DWARF-5. | |
376 | (display_formatted_table): New function. | |
377 | (display_debug_lines_raw): New parameter file. Support DWARF-5. | |
378 | (display_debug_lines_decoded): New parameter fileptr. Support DWARF-5. | |
379 | (display_debug_lines): Pass file parameter. | |
380 | (display_debug_macro): Update read_and_display_attr_value caller. | |
381 | (display_debug_abbrev): Support DW_FORM_implicit_const. | |
382 | (display_loclists_list): New function. | |
383 | (display_loc_list): Support .debug_loclists. | |
384 | (display_debug_ranges_list): New function from display_debug_ranges. | |
385 | (display_debug_rnglists_list): New function. | |
386 | (display_debug_ranges): Support .debug_rnglists. | |
387 | (debug_displays): Add .debug_line_str, .debug_loclists and | |
388 | .debug_rnglists. | |
389 | * dwarf.h: Include dwarf2.h | |
390 | (DWARF2_Internal_LineInfo): Add li_offset_size. | |
391 | (DWARF2_Internal_CompUnit): Add cu_unit_type. | |
392 | (enum dwarf_section_display_enum): Add line_str. | |
393 | * readelf.c (process_section_headers): Add rnglists and loclists. | |
394 | ||
ef0b5f1c JK |
395 | 2017-02-23 Jan Kratochvil <jan.kratochvil@redhat.com> |
396 | ||
397 | * dwarf.c (display_block): Add parameter delimiter. | |
398 | (decode_location_expression): Update display_block callers. | |
399 | (read_and_display_attr_value): Add parameter delimiter. | |
400 | (read_and_display_attr, display_debug_macro): Update | |
401 | read_and_display_attr_value caller. | |
402 | ||
359ca075 JK |
403 | 2017-02-23 Jan Kratochvil <jan.kratochvil@redhat.com> |
404 | ||
405 | * dwarf.c (display_loc_list): Use dwarf_vma for offset, base_address | |
406 | and off. | |
407 | (display_loc_list_dwo): Use dwarf_vma for offset. | |
408 | (display_debug_loc): Use dwarf_vma for offset, base_address. | |
409 | (struct range_entry, range_entry_compar): Use dwarf_vma for | |
410 | ranges_offset. | |
411 | (display_debug_ranges): Use dwarf_vma for ranges_offset, offset and | |
412 | base_address. | |
413 | ||
60abdbed NC |
414 | 2017-02-23 Nick Clifton <nickc@redhat.com> |
415 | ||
416 | * readelf.c (display_tag_value): Use an explicit signed type for | |
417 | the tag parameter. | |
418 | (display_gnu_attributes): Use an unsigned integer type for | |
419 | attribute tags. | |
420 | (display_power_gnu_attribute): Likewise. | |
421 | (display_s390_gnu_attribute): Likewise. | |
422 | (display_sparc_hwcaps): Likewise. | |
423 | (display_sparc_hwcaps2): Likewise. | |
424 | (display_sparc_gnu_attribute): Likewise. | |
425 | (display_mips_gnu_attribute): Likewise. | |
426 | (display_tic6x_attribute): Likewise. | |
427 | (display_raw_attribute): Likewise. | |
428 | (process_attributes): Likewise. | |
429 | (process_arm_specific): Delete redundant function. | |
430 | (process_power_specific): Likewise. | |
431 | (process_s390_specific): Likewise. | |
432 | (process_sparc_specific): Likewise. | |
433 | (process_tic6x_specific): Likewise. | |
434 | (process_msp430x_specific): Likewise. | |
435 | (display_public_gnu_attributes): New function. Displays known | |
436 | information about an unknown gnu attribute. | |
437 | (display_generic_attribute): New function. Calls | |
438 | display_tag_value for non-nul tags. | |
439 | (process_arch_specific): Call process_attributes even for | |
440 | architectures not known to specifically support gnu attributes. | |
441 | ||
0502a2b4 JK |
442 | 2017-02-22 Jan Kratochvil <jan.kratochvil@redhat.com> |
443 | ||
444 | * dwarf.c (decode_location_expression): Display also OP. | |
445 | ||
233f82cf MR |
446 | 2017-02-22 Maciej W. Rozycki <macro@imgtec.com> |
447 | ||
448 | * readelf.c (process_version_sections) <SHT_GNU_verdef>: Print a | |
449 | new line between the heading and the first version definition | |
450 | entry. | |
451 | ||
43a444f9 NC |
452 | 2017-02-20 Nick Clifton <nickc@redhat.com> |
453 | ||
454 | PR binutils/21156 | |
455 | * dwarf.c (cu_tu_indexes_read): Move into... | |
456 | (load_cu_tu_indexes): ... here. Change the variable into | |
457 | tri-state. Change the function into boolean, returning | |
458 | false if the indicies could not be loaded. | |
459 | (find_cu_tu_set): Return NULL if the indicies could not be | |
460 | loaded. | |
461 | ||
b814a36d NC |
462 | 2017-02-17 Nick Clifton <nickc@redhat.com> |
463 | ||
464 | PR binutils/21156 | |
465 | * readelf.c (find_section_in_set): Test for invalid section | |
466 | indicies. | |
467 | ||
1b4b80bf NC |
468 | 2017-02-17 Nick Clifton <nickc@redhat.com> |
469 | ||
470 | * readelf.c (get_section_type_name): Add decoding of GNU section | |
471 | types. | |
472 | ||
7c723eec NC |
473 | 2017-02-15 Nick Clifton <nickc@redhat.com> |
474 | ||
475 | * MAINTAINERS: (MIPS, MN10300): Move Eric Christopher to Past | |
476 | Maintainers section. | |
477 | ||
bc303e5d NC |
478 | 2017-02-14 Nick Clifton <nickc@redhat.com> |
479 | ||
480 | PR binutils/21159 | |
481 | * readelf.c (dump_section_as_strings): Reset the start address if | |
482 | no decompression is perfromed. | |
483 | (dump_section_as_bytes): Likewise. | |
484 | ||
92134dc1 NC |
485 | 2017-02-14 Nick Clifton <nickc@redhat.com> |
486 | ||
487 | PR binutils/21158 | |
488 | * rddbg.c (read_symbol_stabs_debugging_info): Check for a null or | |
489 | empty symbol name. | |
490 | ||
a2dea0b2 NC |
491 | 2017-02-14 Nick Clifton <nickc@redhat.com> |
492 | ||
493 | PR binutils/21157 | |
494 | * stabs.c (parse_stab_enum_type): Check for corrupt NAME:VALUE | |
495 | pairs. | |
496 | (parse_number): Exit early if passed an empty string. | |
497 | ||
b32e566b NC |
498 | 2017-02-14 Nick Clifton <nickc@redhat.com> |
499 | ||
500 | PR binutils/21155 | |
501 | * readelf.c (IN_RANGE): New macro. Tests for an address + offset | |
502 | being within a given range. | |
503 | (target_specific_reloc_handling): Use macro to test for underflow | |
504 | as well as overflow of reloc offset. | |
505 | ||
c1221402 NC |
506 | 2017-02-13 Nick Clifton <nickc@redhat.com> |
507 | ||
508 | PR binutils/21150 | |
509 | * nm.c (file_symbol): Add test of string length before testing | |
510 | string characters. | |
511 | ||
f055032e NC |
512 | 2017-02-13 Nick Clifton <nickc@redhat.com> |
513 | ||
514 | PR binutils/21135 | |
515 | * readelf.c (dump_section_as_bytes): Handle the case where | |
516 | uncompress_section_contents returns false. | |
1835f746 | 517 | (dump_section_as_bytes, load_specific_debug_section): Likewise. |
f055032e | 518 | |
ebdf1ebf NC |
519 | 2017-02-13 Nick Clifton <nickc@redhat.com> |
520 | ||
521 | PR binutils/21149 | |
522 | * readelf.c (get_compression_header): Add size parameter. Check | |
523 | size against sizeof compression header before attempting to | |
524 | extract the header. | |
525 | (process_section_headers): Pass size to get_compression_header. | |
526 | (dump_section_as_strings): Likewise. | |
527 | (dump_section_as_bytes): Likewise. | |
528 | (load_specific_debug_section): Likewise. | |
529 | ||
4aeb00ad NC |
530 | 2017-02-13 Nick Clifton <nickc@redhat.com> |
531 | ||
532 | PR binutils/21148 | |
533 | * readelf.c (process_version_sections): Include size of auxillary | |
534 | version information when checking for buffer overflow. | |
535 | ||
0ee3043f NC |
536 | 2017-02-13 Nick Clifton <nickc@redhat.com> |
537 | ||
538 | PR binutils/21147 | |
539 | * readelf.c (process_section_contents): Fix off by one error | |
540 | reporting un-dumped sections. | |
541 | ||
f84ce13b NC |
542 | 2017-02-13 Nick Clifton <nickc@redhat.com> |
543 | ||
544 | PR binutils/21139 | |
545 | * readelf.c (target_specific_reloc_handling): Add num_syms | |
546 | parameter. Check for symbol table overflow before accessing | |
547 | symbol value. If reloc pointer is NULL, discard all saved state. | |
548 | (apply_relocations): Pass num_syms to target_specific_reloc_handling. | |
549 | Call target_specific_reloc_handling with a NULL reloc pointer | |
550 | after processing all of the relocs. | |
551 | ||
03f7786e NC |
552 | 2017-02-13 Nick Clifton <nickc@redhat.com> |
553 | ||
554 | PR binutils/21137 | |
555 | * readelf.c (target_specific_reloc_handling): Add end parameter. | |
556 | Check for buffer overflow before writing relocated values. | |
557 | (apply_relocations): Pass end to target_specific_reloc_handling. | |
558 | ||
387dd777 DP |
559 | 2017-01-27 Dilyan Palauzov <dilyan.palauzov@aegee.org> |
560 | Nick Clifton <nickc@redhat.com> | |
561 | ||
562 | PR 20343 | |
563 | * doc/binutils.texi (ar): Extend documentation of the --plugin | |
564 | option. Include a description of where the plugins should be | |
565 | located. | |
566 | (nm): Likewise. | |
567 | ||
cf581a9b NC |
568 | 2017-01-23 Nick Clifton <nickc@redhat.com> |
569 | ||
570 | * MAINTAINERS: Add Bernd to Past Maintainers section. | |
c49f9d0f | 571 | (SCORE): Remove Mei Ligang as maintainer. Add to Past Maintainers |
71d01c69 | 572 | section. |
cf581a9b | 573 | |
715e99a4 BS |
574 | 2017-01-23 Bernd Schmidt <bschmidt@redhat.com> |
575 | ||
576 | * MAINTAINERS (BFIN): Remove myself as Blackfin maintainer. | |
577 | ||
1737c640 AB |
578 | 2017-01-20 Andrew Burgess <andrew.burgess@embecosm.com> |
579 | ||
580 | * objdump.c (dump_section_header): Extract max section name length | |
581 | from data parameter, use this when formatting output. | |
582 | (find_longest_section_name): New function. | |
583 | (dump_headers): Calculate longest section name when in wide mode, | |
584 | reformat to unify printing of header line. | |
585 | ||
2cedb9eb BR |
586 | 2017-01-18 Bernhard Rosenkranzer <bero@lindev.ch> |
587 | ||
588 | PR 21059 | |
589 | * arlex.l: Support processing with flex 2.6.3. | |
590 | * deflex.l: Likewise. | |
591 | ||
6bb21700 DT |
592 | 2017-01-17 Dmitry Timoshkov <dmitry@baikal.ru> |
593 | ||
594 | * resbin.c: Optional dialog control data immediately follows | |
595 | the control description without alignment. | |
596 | * testsuite/binutils-all/windres/controldata.rc: New test. | |
597 | source. | |
598 | * testsuite/binutils-all/windres/controldata.rsd: New test. | |
599 | ||
2425a30e NC |
600 | 2017-01-12 Nick Clifton <nickc@redhat.com> |
601 | ||
602 | PR binutils/20876 | |
603 | * NEWS: Mention the new feature. | |
604 | * testsuite/binutils-all/objdump.exp (test_build_id_debuglink): | |
605 | New proc to test the location of separate debug info files using | |
606 | the build-id method. | |
607 | ||
b972a0d6 NC |
608 | 2017-01-10 Nick Clifton <nickc@redhat.com> |
609 | ||
610 | PR 21034 | |
611 | * stabs.c (parse_stab_members): Fix thinko checking for g++ | |
612 | version 1 stabs information. | |
613 | ||
cd6581da NC |
614 | 2017-01-09 Nick Clifton <nickc@redhat.com> |
615 | ||
616 | * objdump.c (display_file): Add new parameter 'last_file'. If | |
617 | last_file is true, do not call bfd_close at the end of the | |
618 | function. | |
619 | (main): Set the value of the last_file parameter when calling | |
620 | display_file. | |
621 | ||
4d74727a AM |
622 | 2017-01-09 Alan Modra <amodra@gmail.com> |
623 | ||
624 | * readelf.c (process_section_headers): Correct .rel.dyn/.rela.dyn | |
625 | comment. | |
626 | ||
fd13a84b NC |
627 | 2017-01-06 Nick Clifton <nickc@redhat.com> |
628 | ||
629 | * MAINTAINERS: Move Paul Brook to the Past Maintainers section. | |
630 | ||
b0556316 DP |
631 | 2017-01-04 Dilan Palauzov <dilyan.palauzov@aegee.org> |
632 | ||
633 | PR 20958 | |
634 | * syslex.l (option): Add noyywrap | |
635 | (yywrap): Delete. | |
636 | ||
2571583a AM |
637 | 2017-01-02 Alan Modra <amodra@gmail.com> |
638 | ||
639 | Update year range in copyright notice of all files. | |
640 | ||
5c1ad6b5 | 641 | For older changes see ChangeLog-2016 |
3499769a | 642 | \f |
5c1ad6b5 | 643 | Copyright (C) 2017 Free Software Foundation, Inc. |
3499769a AM |
644 | |
645 | Copying and distribution of this file, with or without modification, | |
646 | are permitted in any medium without royalty provided the copyright | |
647 | notice and this notice are preserved. | |
648 | ||
649 | Local Variables: | |
650 | mode: change-log | |
651 | left-margin: 8 | |
652 | fill-column: 74 | |
653 | version-control: never | |
654 | End: |