1 2017-02-23 Jan Kratochvil <jan.kratochvil@redhat.com>
3 * dwarf.c (display_debug_macro): Support DWARF-5. Rename
6 2017-02-23 Jan Kratochvil <jan.kratochvil@redhat.com>
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.
15 2017-02-23 Jan Kratochvil <jan.kratochvil@redhat.com>
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
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.
46 2017-02-23 Jan Kratochvil <jan.kratochvil@redhat.com>
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.
54 2017-02-23 Jan Kratochvil <jan.kratochvil@redhat.com>
56 * dwarf.c (display_loc_list): Use dwarf_vma for offset, base_address
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
62 (display_debug_ranges): Use dwarf_vma for ranges_offset, offset and
65 2017-02-23 Nick Clifton <nickc@redhat.com>
67 * readelf.c (display_tag_value): Use an explicit signed type for
69 (display_gnu_attributes): Use an unsigned integer type for
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.
93 2017-02-22 Jan Kratochvil <jan.kratochvil@redhat.com>
95 * dwarf.c (decode_location_expression): Display also OP.
97 2017-02-22 Maciej W. Rozycki <macro@imgtec.com>
99 * readelf.c (process_version_sections) <SHT_GNU_verdef>: Print a
100 new line between the heading and the first version definition
103 2017-02-20 Nick Clifton <nickc@redhat.com>
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
113 2017-02-17 Nick Clifton <nickc@redhat.com>
116 * readelf.c (find_section_in_set): Test for invalid section
119 2017-02-17 Nick Clifton <nickc@redhat.com>
121 * readelf.c (get_section_type_name): Add decoding of GNU section
124 2017-02-15 Nick Clifton <nickc@redhat.com>
126 * MAINTAINERS: (MIPS, MN10300): Move Eric Christopher to Past
129 2017-02-14 Nick Clifton <nickc@redhat.com>
132 * readelf.c (dump_section_as_strings): Reset the start address if
133 no decompression is perfromed.
134 (dump_section_as_bytes): Likewise.
136 2017-02-14 Nick Clifton <nickc@redhat.com>
139 * rddbg.c (read_symbol_stabs_debugging_info): Check for a null or
142 2017-02-14 Nick Clifton <nickc@redhat.com>
145 * stabs.c (parse_stab_enum_type): Check for corrupt NAME:VALUE
147 (parse_number): Exit early if passed an empty string.
149 2017-02-14 Nick Clifton <nickc@redhat.com>
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.
157 2017-02-13 Nick Clifton <nickc@redhat.com>
160 * nm.c (file_symbol): Add test of string length before testing
163 2017-02-13 Nick Clifton <nickc@redhat.com>
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.
170 2017-02-13 Nick Clifton <nickc@redhat.com>
173 * readelf.c (get_compression_header): Add size parameter. Check
174 size against sizeof compression header before attempting to
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.
181 2017-02-13 Nick Clifton <nickc@redhat.com>
184 * readelf.c (process_version_sections): Include size of auxillary
185 version information when checking for buffer overflow.
187 2017-02-13 Nick Clifton <nickc@redhat.com>
190 * readelf.c (process_section_contents): Fix off by one error
191 reporting un-dumped sections.
193 2017-02-13 Nick Clifton <nickc@redhat.com>
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.
203 2017-02-13 Nick Clifton <nickc@redhat.com>
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.
210 2017-01-27 Dilyan Palauzov <dilyan.palauzov@aegee.org>
211 Nick Clifton <nickc@redhat.com>
214 * doc/binutils.texi (ar): Extend documentation of the --plugin
215 option. Include a description of where the plugins should be
219 2017-01-23 Nick Clifton <nickc@redhat.com>
221 * MAINTAINERS: Add Bernd to Past Maintainers section.
222 (SCORE): Remove Mei Ligang as maintainer. Add to Past Maintainers
225 2017-01-23 Bernd Schmidt <bschmidt@redhat.com>
227 * MAINTAINERS (BFIN): Remove myself as Blackfin maintainer.
229 2017-01-20 Andrew Burgess <andrew.burgess@embecosm.com>
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.
237 2017-01-18 Bernhard Rosenkranzer <bero@lindev.ch>
240 * arlex.l: Support processing with flex 2.6.3.
241 * deflex.l: Likewise.
243 2017-01-17 Dmitry Timoshkov <dmitry@baikal.ru>
245 * resbin.c: Optional dialog control data immediately follows
246 the control description without alignment.
247 * testsuite/binutils-all/windres/controldata.rc: New test.
249 * testsuite/binutils-all/windres/controldata.rsd: New test.
251 2017-01-12 Nick Clifton <nickc@redhat.com>
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
259 2017-01-10 Nick Clifton <nickc@redhat.com>
262 * stabs.c (parse_stab_members): Fix thinko checking for g++
263 version 1 stabs information.
265 2017-01-09 Nick Clifton <nickc@redhat.com>
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
270 (main): Set the value of the last_file parameter when calling
273 2017-01-09 Alan Modra <amodra@gmail.com>
275 * readelf.c (process_section_headers): Correct .rel.dyn/.rela.dyn
278 2017-01-06 Nick Clifton <nickc@redhat.com>
280 * MAINTAINERS: Move Paul Brook to the Past Maintainers section.
282 2017-01-04 Dilan Palauzov <dilyan.palauzov@aegee.org>
285 * syslex.l (option): Add noyywrap
288 2017-01-02 Alan Modra <amodra@gmail.com>
290 Update year range in copyright notice of all files.
292 For older changes see ChangeLog-2016
294 Copyright (C) 2017 Free Software Foundation, Inc.
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.
304 version-control: never