1 2017-02-23 Jan Kratochvil <jan.kratochvil@redhat.com>
3 * dwarf.c (fetch_indirect_line_string): New function.
4 (abbrev_attr): New field implicit_const.
5 (add_abbrev_attr): New parameter implicit_const.
6 (process_abbrev_section): Support DW_FORM_implicit_const.
7 (decode_location_expression): Support DW_OP_entry_value.
8 (read_and_display_attr_value): Add parameter implicit_const. Support
9 DW_FORM_line_strp and DW_FORM_implicit_const.
10 (read_and_display_attr): Add parameter implicit_const.
11 (process_debug_info): Support line_str and DWARF-5.
12 (read_debug_line_header): Support DWARF-5.
13 (display_formatted_table): New function.
14 (display_debug_lines_raw): New parameter file. Support DWARF-5.
15 (display_debug_lines_decoded): New parameter fileptr. Support DWARF-5.
16 (display_debug_lines): Pass file parameter.
17 (display_debug_macro): Update read_and_display_attr_value caller.
18 (display_debug_abbrev): Support DW_FORM_implicit_const.
19 (display_loclists_list): New function.
20 (display_loc_list): Support .debug_loclists.
21 (display_debug_ranges_list): New function from display_debug_ranges.
22 (display_debug_rnglists_list): New function.
23 (display_debug_ranges): Support .debug_rnglists.
24 (debug_displays): Add .debug_line_str, .debug_loclists and
26 * dwarf.h: Include dwarf2.h
27 (DWARF2_Internal_LineInfo): Add li_offset_size.
28 (DWARF2_Internal_CompUnit): Add cu_unit_type.
29 (enum dwarf_section_display_enum): Add line_str.
30 * readelf.c (process_section_headers): Add rnglists and loclists.
32 2017-02-23 Jan Kratochvil <jan.kratochvil@redhat.com>
34 * dwarf.c (display_block): Add parameter delimiter.
35 (decode_location_expression): Update display_block callers.
36 (read_and_display_attr_value): Add parameter delimiter.
37 (read_and_display_attr, display_debug_macro): Update
38 read_and_display_attr_value caller.
40 2017-02-23 Jan Kratochvil <jan.kratochvil@redhat.com>
42 * dwarf.c (display_loc_list): Use dwarf_vma for offset, base_address
44 (display_loc_list_dwo): Use dwarf_vma for offset.
45 (display_debug_loc): Use dwarf_vma for offset, base_address.
46 (struct range_entry, range_entry_compar): Use dwarf_vma for
48 (display_debug_ranges): Use dwarf_vma for ranges_offset, offset and
51 2017-02-23 Nick Clifton <nickc@redhat.com>
53 * readelf.c (display_tag_value): Use an explicit signed type for
55 (display_gnu_attributes): Use an unsigned integer type for
57 (display_power_gnu_attribute): Likewise.
58 (display_s390_gnu_attribute): Likewise.
59 (display_sparc_hwcaps): Likewise.
60 (display_sparc_hwcaps2): Likewise.
61 (display_sparc_gnu_attribute): Likewise.
62 (display_mips_gnu_attribute): Likewise.
63 (display_tic6x_attribute): Likewise.
64 (display_raw_attribute): Likewise.
65 (process_attributes): Likewise.
66 (process_arm_specific): Delete redundant function.
67 (process_power_specific): Likewise.
68 (process_s390_specific): Likewise.
69 (process_sparc_specific): Likewise.
70 (process_tic6x_specific): Likewise.
71 (process_msp430x_specific): Likewise.
72 (display_public_gnu_attributes): New function. Displays known
73 information about an unknown gnu attribute.
74 (display_generic_attribute): New function. Calls
75 display_tag_value for non-nul tags.
76 (process_arch_specific): Call process_attributes even for
77 architectures not known to specifically support gnu attributes.
79 2017-02-22 Jan Kratochvil <jan.kratochvil@redhat.com>
81 * dwarf.c (decode_location_expression): Display also OP.
83 2017-02-22 Maciej W. Rozycki <macro@imgtec.com>
85 * readelf.c (process_version_sections) <SHT_GNU_verdef>: Print a
86 new line between the heading and the first version definition
89 2017-02-20 Nick Clifton <nickc@redhat.com>
92 * dwarf.c (cu_tu_indexes_read): Move into...
93 (load_cu_tu_indexes): ... here. Change the variable into
94 tri-state. Change the function into boolean, returning
95 false if the indicies could not be loaded.
96 (find_cu_tu_set): Return NULL if the indicies could not be
99 2017-02-17 Nick Clifton <nickc@redhat.com>
102 * readelf.c (find_section_in_set): Test for invalid section
105 2017-02-17 Nick Clifton <nickc@redhat.com>
107 * readelf.c (get_section_type_name): Add decoding of GNU section
110 2017-02-15 Nick Clifton <nickc@redhat.com>
112 * MAINTAINERS: (MIPS, MN10300): Move Eric Christopher to Past
115 2017-02-14 Nick Clifton <nickc@redhat.com>
118 * readelf.c (dump_section_as_strings): Reset the start address if
119 no decompression is perfromed.
120 (dump_section_as_bytes): Likewise.
122 2017-02-14 Nick Clifton <nickc@redhat.com>
125 * rddbg.c (read_symbol_stabs_debugging_info): Check for a null or
128 2017-02-14 Nick Clifton <nickc@redhat.com>
131 * stabs.c (parse_stab_enum_type): Check for corrupt NAME:VALUE
133 (parse_number): Exit early if passed an empty string.
135 2017-02-14 Nick Clifton <nickc@redhat.com>
138 * readelf.c (IN_RANGE): New macro. Tests for an address + offset
139 being within a given range.
140 (target_specific_reloc_handling): Use macro to test for underflow
141 as well as overflow of reloc offset.
143 2017-02-13 Nick Clifton <nickc@redhat.com>
146 * nm.c (file_symbol): Add test of string length before testing
149 2017-02-13 Nick Clifton <nickc@redhat.com>
152 * readelf.c (dump_section_as_bytes): Handle the case where
153 uncompress_section_contents returns false.
154 (dump_section_as_bytes, load_specific_debug_section): Likewise.
156 2017-02-13 Nick Clifton <nickc@redhat.com>
159 * readelf.c (get_compression_header): Add size parameter. Check
160 size against sizeof compression header before attempting to
162 (process_section_headers): Pass size to get_compression_header.
163 (dump_section_as_strings): Likewise.
164 (dump_section_as_bytes): Likewise.
165 (load_specific_debug_section): Likewise.
167 2017-02-13 Nick Clifton <nickc@redhat.com>
170 * readelf.c (process_version_sections): Include size of auxillary
171 version information when checking for buffer overflow.
173 2017-02-13 Nick Clifton <nickc@redhat.com>
176 * readelf.c (process_section_contents): Fix off by one error
177 reporting un-dumped sections.
179 2017-02-13 Nick Clifton <nickc@redhat.com>
182 * readelf.c (target_specific_reloc_handling): Add num_syms
183 parameter. Check for symbol table overflow before accessing
184 symbol value. If reloc pointer is NULL, discard all saved state.
185 (apply_relocations): Pass num_syms to target_specific_reloc_handling.
186 Call target_specific_reloc_handling with a NULL reloc pointer
187 after processing all of the relocs.
189 2017-02-13 Nick Clifton <nickc@redhat.com>
192 * readelf.c (target_specific_reloc_handling): Add end parameter.
193 Check for buffer overflow before writing relocated values.
194 (apply_relocations): Pass end to target_specific_reloc_handling.
196 2017-01-27 Dilyan Palauzov <dilyan.palauzov@aegee.org>
197 Nick Clifton <nickc@redhat.com>
200 * doc/binutils.texi (ar): Extend documentation of the --plugin
201 option. Include a description of where the plugins should be
205 2017-01-23 Nick Clifton <nickc@redhat.com>
207 * MAINTAINERS: Add Bernd to Past Maintainers section.
208 (SCORE): Remove Mei Ligang as maintainer. Add to Past Maintainers
211 2017-01-23 Bernd Schmidt <bschmidt@redhat.com>
213 * MAINTAINERS (BFIN): Remove myself as Blackfin maintainer.
215 2017-01-20 Andrew Burgess <andrew.burgess@embecosm.com>
217 * objdump.c (dump_section_header): Extract max section name length
218 from data parameter, use this when formatting output.
219 (find_longest_section_name): New function.
220 (dump_headers): Calculate longest section name when in wide mode,
221 reformat to unify printing of header line.
223 2017-01-18 Bernhard Rosenkranzer <bero@lindev.ch>
226 * arlex.l: Support processing with flex 2.6.3.
227 * deflex.l: Likewise.
229 2017-01-17 Dmitry Timoshkov <dmitry@baikal.ru>
231 * resbin.c: Optional dialog control data immediately follows
232 the control description without alignment.
233 * testsuite/binutils-all/windres/controldata.rc: New test.
235 * testsuite/binutils-all/windres/controldata.rsd: New test.
237 2017-01-12 Nick Clifton <nickc@redhat.com>
240 * NEWS: Mention the new feature.
241 * testsuite/binutils-all/objdump.exp (test_build_id_debuglink):
242 New proc to test the location of separate debug info files using
245 2017-01-10 Nick Clifton <nickc@redhat.com>
248 * stabs.c (parse_stab_members): Fix thinko checking for g++
249 version 1 stabs information.
251 2017-01-09 Nick Clifton <nickc@redhat.com>
253 * objdump.c (display_file): Add new parameter 'last_file'. If
254 last_file is true, do not call bfd_close at the end of the
256 (main): Set the value of the last_file parameter when calling
259 2017-01-09 Alan Modra <amodra@gmail.com>
261 * readelf.c (process_section_headers): Correct .rel.dyn/.rela.dyn
264 2017-01-06 Nick Clifton <nickc@redhat.com>
266 * MAINTAINERS: Move Paul Brook to the Past Maintainers section.
268 2017-01-04 Dilan Palauzov <dilyan.palauzov@aegee.org>
271 * syslex.l (option): Add noyywrap
274 2017-01-02 Alan Modra <amodra@gmail.com>
276 Update year range in copyright notice of all files.
278 For older changes see ChangeLog-2016
280 Copyright (C) 2017 Free Software Foundation, Inc.
282 Copying and distribution of this file, with or without modification,
283 are permitted in any medium without royalty provided the copyright
284 notice and this notice are preserved.
290 version-control: never