65316ee9dedcc8bd65ccaa38bf9334870faf12b9
[deliverable/binutils-gdb.git] / binutils / ChangeLog
1 2019-02-22 Nick Clifton <nickc@redhat.com>
2
3 PR 23843
4 * dwarf.h (struct separate_info): New structure for containing
5 information on separate debug info files.
6 * dwarf.c (struct dwo_info): New structure for containing dwo
7 links.
8 (first_dwo_info): Chain of dwo_info structures.
9 (first_separate_file): Chain of separate_info structures.
10 (separate_debug_file, separate_debug_filename): Delete.
11 (fetch_alt_indirect_string): Scan all separate debug info files
12 for the requested string.
13 (add_dwo_info): New function.
14 (add_dwo_name): New function.
15 (add_dwo_dir): New function.
16 (add_dwo_id: New function.
17 (free_dwo_info): New function.
18 (read_and_display_attr_value): Store DWO data using the new
19 functions.
20 (load_debug_section_with_follow): If necessary, scan the list of
21 separate debug info files for the requested section.
22 (add_separate_debug_file): New function.
23 (load_separate_debug_info): Call add_separate_debug_file to store
24 the information on the newly loaded file.
25 (load_dwo_file): Likewise.
26 (load_separate_debif_file): Rename to load_separate_debug_files.
27 Change return type to boolean. If following links then attempt to
28 load all separate debug info files, not just the first one.
29 (free_debug_memory): Release memory in dwo_info and separate_info
30 chains.
31 * objdump.c (dump_dwarf): Iterate over all loaded debg info files.
32 * readelf.c (process_object): Likewise.
33 * doc/debug.options.texi: Update descriptions of links and
34 follow-links options.
35 * testsuite/binutils-all/objdump.WK2: Update expected output.
36 * testsuite/binutils-all/readelf.k2: Likewise.
37 * NEWS: Announce the new feature.
38
39 2019-02-21 Nick Clifton <nickc@redhat.com>
40
41 PR 24247
42 * unwind-ia64.c: Include sysdep.h.
43 (unw_decode_x1): Check current pointer against end pointer before
44 accessing memory.
45 (unw_decode_x2): Likewise.
46 (unw_decode_x3): Likewise.
47 (unw_decode_x4): Likewise.
48 (unw_decode_r2): Likewise.
49 (unw_decode_p2_p5): Likewise.
50 (unw_decode_p7_p10): Likewise.
51 (unw_decode): Likewise.
52
53 2019-02-20 Nick Clifton <nickc@redhat.com>
54
55 PR 24246
56 * readelf.c (print_stapsdt_note): Harden against corrupt notes.
57
58 PR 24244
59 * unwind-ia64.c (unw_decode_uleb128): Add end parameter, use it to
60 prevent walking off the end of the buffer.
61 (unw_decode_x1): Add end paramter, pass it to unw_decode_uleb128.
62 (unw_decode_x2): Likewise.
63 (unw_decode_x3): Likewise.
64 (unw_decode_x4): Likewise.
65 (unw_decode_r2): Pass the end parameter to unw_decode_uleb128.
66 (unw_decode_r3): Likewise.
67 (unw_decode_p7_p10): Likewise.
68 (unw_decode_b2): Likewise.
69 (unw_decode_b3_x4): Likewise.
70
71 PR 24243
72 * readelf.c (process_mips_specific): Check for an options section
73 that is too small to even contain a single option.
74
75 PR 24242
76 * readelf.c (print_ia64_vms_note): Harden against corrupt notes.
77
78 2019-02-20 Alan Modra <amodra@gmail.com>
79
80 PR 24132
81 PR 24138
82 * readelf.c (get_data): Avoid possibility of overflow when
83 checking for a read that may extend past end of file.
84 (process_program_headers): Likewise.
85
86 2019-02-20 Alan Modra <amodra@gmail.com>
87
88 PR 24233
89 * objdump.c (dump_bfd_private_header): Print warning if
90 bfd_print_private_bfd_data returns false.
91
92 2019-02-12 Nick Clifton <nickc@redhat.com>
93
94 PR 23440
95 * README-how-to-make-a-release: Use git clean to delete spurious
96 files from the local source repository.
97
98 2019-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
99
100 * size.c (berkeley_format): Delete.
101 (enum output_format): New enum.
102 (selected_output_format): New variable.
103 (usage): Update to mention GNU format.
104 (main): Update to extract options, and select format as needed.
105 Handle GNU format where needed.
106 (berkeley_sum): Renamed to...
107 (berkeley_or_gnu_sum): ...this, and updated to handle both formats.
108 (berkeley_format): Renamed to...
109 (berkeley_or_gnu_format): ...this, and updated to handle both
110 formats.
111 (print_sizes): Handle GNU format.
112 * doc/binutils.texi (size): Document new GNU format.
113 * testsuite/binutils-all/size.exp: Add test of extended
114 functionality.
115 * NEWS: Mention new functionality.
116
117 2019-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
118
119 * doc/binutils.texi (size): Update example output for Berkeley
120 format output.
121
122 2019-02-07 Nick Clifton <nickc@redhat.com>
123
124 * README-how-to-make-a-release: Add a note about updating the
125 obsolete targets in the bfd/config.bfd file.
126
127 2019-02-04 Nick Clifton <nickc@redhat.com>
128
129 * README-how-to-make-a-release: Add more notes on making a release.
130
131 2019-01-25 Nick Clifton <nickc@redhat.com>
132
133 PR 24131
134 * readelf.c (process_notes_at): Prevent an illegal memory access
135 when the note's namesize is zero.
136 (decode_tic6x_unwind_bytecode): Add code to handle the case where
137 no registers are specified in a frame pop instruction.
138
139 2019-01-25 Nick Clifton <nickc@redhat.com>
140
141 * po/bg.po: Updated Bulgarian translation.
142
143 2019-01-23 Nick Clifton <nickc@redhat.com>
144
145 * po/fr.po: Updated French translation.
146 * po/pt.po: Updated Portuguese translation.
147
148 2019-01-21 Nick Clifton <nickc@redhat.com>
149
150 * po/uk.po: Updated Ukranian translation.
151
152 2019-01-19 Nick Clifton <nickc@redhat.com>
153
154 * configure: Regenerate.
155 * binutils/po/binutils.pot.
156
157 * README-how-to-make-a-release: Update description on how to make
158 a branch.
159
160 2018-06-24 Nick Clifton <nickc@redhat.com>
161
162 2.32 branch created.
163
164 2019-01-17 Nick Clifton <nickc@redhat.com>
165
166 * objdump.c (disassemble_section): When disassembling from a
167 symbol only stop at the next symbol if the original symbol was not
168 a function symbol. Otherwise continue disassembling until a new
169 function is reached.
170 * testsuite/binutils-all/objdump.exp: Add tests of extended
171 functionality.
172 * testsuite/binutils-all/disasm.s: New test source file.
173
174 2019-01-16 Kito Cheng <kito@andestech.com>
175 Nelson Chu <nelson@andestech.com>
176
177 * readelf.c (get_riscv_section_type_name): New function.
178 (get_section_type_name): Add handler for RISC-V.
179 (riscv_attr_tag_t): Declare.
180 (riscv_attr_tag): New.
181 (display_riscv_attribute): New function.
182 (process_attributes): Add handler for RISC-V.
183 * testsuite/binutils-all/strip-3.d: Remove .riscv.attribute
184 section.
185
186 2019-01-10 Nick Clifton <nickc@redhat.com>
187
188 PR 23963
189 * objdump.c (sanitize_string): New function. Removes control
190 characters from symbol names.
191 (dump_section_header): Use new function.
192 (objdump_print_symname): Likewise.
193 (objdump_print_addr_with_sym): Likewise.
194 (show_line): Likewise.
195 (disassemble_bytes): Likewise.
196 (disassemble_section): Likewise.
197 (load_specific_debug_section): Likewise.
198 (read_section_stabs): Likewise.
199 (print_section_stabs): Likewise.
200 (dump_section): Likewise.
201 (dump_reloc_set): Likewise.
202 (dump_relocs_in_section): Likewise.
203 (dump_bfd): Likewise.
204 (display_any_bfd): Likewise.
205
206 2019-01-09 Nick Clifton <nickc@redhat.com>
207
208 PR 24049
209 * readelf.c (process_archive): Use arch.file_name in error
210 messages until the qualified name is available.
211
212 2019-01-09 Andrew Paprocki <andrew@ishiboo.com>
213
214 * configure: Regenerate.
215
216 2019-01-09 Alan Modra <amodra@gmail.com>
217
218 * testsuite/binutils-all/cxxfilt.exp: Pass --no-strip-underscores
219 unconditionally to tests needing the option rather than via a
220 list of targets.
221
222 2019-01-08 Nick Clifton <nickc@redhat.com>
223
224 PR 24044
225 * cxxfilt.c (hp_symbol_characters): Delete.
226 (main): Remove depcreated demangling styles.
227 * stabs.c (parse_stab_argtypes): Remove support for old gnu v2
228 demangling opnames.
229 * testsuite/binutils-all/cxxfilt.exp: Use the
230 --no-strip-underscore option for targets that do prefix their
231 symbols with underscores.
232 Update tests to eliminate those that use gnu v2 encoding.
233
234 2019-01-08 Tamar Christina <tamar.christina@arm.com>
235
236 PR 24065
237 * testsuite/binutils-all/copy-6.d: New test.
238 * testsuite/binutils-all/objcopy.exp: Use it.
239
240 2019-01-08 Alan Modra <amodra@gmail.com>
241
242 * testsuite/lib/binutils-common.exp (run_dump_test): Don't prepend
243 $srcdir/$subdir to source file name if it starts with "./".
244
245 2019-01-05 Yoshinori Sato <ysato@users.sourceforge.jp>
246
247 * readelf.c (get_machine_flags): Add RXv3 output.
248
249 2019-01-04 Nick Clifton <nickc@redhat.com>
250
251 PR 24005
252 * objdump.c (load_specific_debug_section): Check for integer
253 overflow before attempting to allocate contents.
254
255 2019-01-04 Nick Clifton <nickc@redhat.com>
256
257 PR 24001
258 * objcopy.c (copy_object): Free dhandle after writing out the
259 debug information.
260 * objdump.c (dump_bfd): Free dhandle after printing out the debug
261 information.
262
263
264 2019-01-01 Alan Modra <amodra@gmail.com>
265
266 Update year range in copyright notice of all files.
267
268 For older changes see ChangeLog-2018
269 \f
270 Copyright (C) 2019 Free Software Foundation, Inc.
271
272 Copying and distribution of this file, with or without modification,
273 are permitted in any medium without royalty provided the copyright
274 notice and this notice are preserved.
275
276 Local Variables:
277 mode: change-log
278 left-margin: 8
279 fill-column: 74
280 version-control: never
281 End:
This page took 0.044892 seconds and 3 git commands to generate.