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