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