]>
Commit | Line | Data |
---|---|---|
d344b407 NA |
1 | 2019-09-30 Nick Alcock <nick.alcock@oracle.com> |
2 | ||
3 | * objdump.c (main): Fix tabdamage. | |
4 | * readelf.c (CTF_DUMP): Likewise. | |
5 | (options): Likewise. | |
6 | (dump_section_as_ctf): Likewise. | |
7 | ||
fd86991b NA |
8 | 2019-08-03 Nick Alcock <nick.alcock@oracle.com> |
9 | ||
10 | * objdump.c (dump_ctf): Use the default CTF archive member as the | |
11 | parent even when no parent section is specified. | |
12 | (dump_ctf_archive_member): Only import from the parent | |
13 | if this is not the default ".ctf" member. | |
14 | ||
87279e3c NA |
15 | 2019-09-23 Nick Alcock <nick.alcock@oracle.com> |
16 | ||
17 | * Makefile.am (LIBCTF): Mention the .la file. | |
18 | (LIBCTF_NOBFD): New. | |
19 | (readelf_DEPENDENCIES): Use it. | |
20 | (readelf_LDADD): Likewise. | |
21 | * Makefile.in: Regenerated. | |
22 | ||
616febde NA |
23 | 2019-07-13 Nick Alcock <nick.alcock@oracle.com> |
24 | ||
25 | * readelf.c (dump_ctf_symtab_name): Give default value. | |
26 | (dump_ctf_strtab_name): Likewise. | |
27 | (dump_section_as_ctf): Allow for the null string. | |
28 | ||
9b32cba4 NA |
29 | 2019-07-08 Nick Alcock <nick.alcock@oracle.com> |
30 | ||
31 | * objdump.c (dump_ctf_archive_member): Dump the CTF header. | |
32 | * readelf.c (dump_section_as_ctf): Likewise. | |
33 | ||
de4859ea NC |
34 | 2019-10-02 Niklas Gürtler <profclonk@gmail.com> |
35 | ||
36 | PR 24942 | |
37 | * objcopy.c (copy_usage): Update description of | |
38 | --set-section-alignment. | |
39 | (copy_main): Interpret numeric argument of --set-section-alignment | |
40 | as a byte alignment, not a power of two alignment. | |
41 | * doc/binutils.texi: Update description of | |
42 | --set-section-alignment. | |
43 | * testsuite/binutils-all/set-section-alignment.d: New test. | |
44 | * testsuite/binutils-all/objcopy.exp: Run the new test. | |
45 | ||
663f67df AM |
46 | 2019-09-30 Alan Modra <amodra@gmail.com> |
47 | ||
48 | PR 25046 | |
49 | * readelf.c (process_program_headers): Clear dynamic_addr and | |
50 | dynamic_size earlier. | |
51 | ||
352f6bc3 AM |
52 | 2019-09-24 Alan Modra <amodra@gmail.com> |
53 | ||
54 | PR 25031 | |
55 | * nm.c (print_format_string): New. | |
56 | (get_print_format): Delete saved_format. Move earlier. | |
57 | (set_print_width): Call get_print_format. | |
58 | (print_value): Use print_format_string. | |
59 | ||
aa739c59 AM |
60 | 2019-09-23 Alan Modra <amodra@gmail.com> |
61 | ||
62 | * dlltool.c: Include coff-bfd.h. | |
63 | ||
b3fe587e AM |
64 | 2019-09-23 Alan Modra <amodra@gmail.com> |
65 | ||
66 | PR 25018 | |
67 | * dwarf.c (get_type_signedness): Delete ineffective pointer | |
68 | comparison check. Properly range check uvalue offset on | |
69 | recursive call. | |
70 | (read_and_display_attr_value): Range check uvalue offset before | |
71 | calling get_type_signedness. | |
72 | ||
00f93c44 AM |
73 | 2019-09-20 Alan Modra <amodra@gmail.com> |
74 | ||
75 | * ar.c (write_archive): Use bfd_set_thin_archive. | |
76 | ||
4e28d4cc TC |
77 | 2019-09-18 Tamar Christina <tamar.christina@arm.com> |
78 | ||
79 | * testsuite/binutils-all/objdump.exp (objump -S): Update testcases. | |
80 | ||
fd361982 AM |
81 | 2019-09-18 Alan Modra <amodra@gmail.com> |
82 | ||
83 | * addr2line.c, * bucomm.c, * coffgrok.c, * dlltool.c, * nm.c, | |
84 | * objcopy.c, * objdump.c, * od-elf32_avr.c, * od-macho.c, | |
85 | * od-xcoff.c, * prdbg.c, * rdcoff.c, * rddbg.c, * rescoff.c, | |
86 | * resres.c, * size.c, * srconv.c, * strings.c, * windmc.c: Update | |
87 | throughout for bfd section macro and function changes. | |
88 | ||
e6f7f6d1 AM |
89 | 2019-09-18 Alan Modra <amodra@gmail.com> |
90 | ||
91 | * nm.c: Update bfd_get_section to bfd_asymbol_section throughout. | |
92 | * objcopy.c: Likewise. | |
93 | * objdump.c: Likewise. | |
94 | * rdcoff.c: Likewise. | |
95 | * objcopy.c (create_new_symbol): Use bfd_set_asymbol_name. | |
96 | (filter_symbols): Likewise. | |
97 | ||
2b44a6a2 SM |
98 | 2019-09-18 Simon Marchi <simon.marchi@polymtl.ca> |
99 | ||
100 | * doc/Makefile.am (MOSTLYCLEANFILES): Clean all man pages, | |
101 | cxxfilt.man and binutils.info. | |
102 | (MAINTAINERCLEANFILES): Remove. | |
103 | * doc/Makefile.in: Re-generate. | |
104 | ||
89ae5e69 SM |
105 | 2019-09-18 Simon Marchi <simon.marchi@polymtl.ca> |
106 | ||
107 | * doc/Makefile.am: Remove references to binutils_TEXINFOS. | |
108 | * doc/Makefile.in: Re-generate. | |
109 | ||
95103a84 SM |
110 | 2019-09-18 Simon Marchi <simon.marchi@polymtl.ca> |
111 | ||
112 | * doc/Makefile.am (install-data-loca): Remove target. | |
113 | (DISTCLEANFILES): Remove variable. | |
114 | * doc/Makefile.in: Re-generate. | |
115 | ||
e0b2a78c SM |
116 | 2019-09-18 Simon Marchi <simon.marchi@polymtl.ca> |
117 | ||
118 | * Makefile.in: Re-generate. | |
119 | * configure: Re-generate. | |
120 | * doc/Makefile.in: Re-generate. | |
121 | ||
bb695960 PB |
122 | 2019-09-16 Phil Blundell <pb@pbcl.net> |
123 | ||
124 | * Makefile.in, configure. doc/Makefile.in: Regenerated. | |
125 | ||
1ff5d5c4 TT |
126 | 2019-09-11 Tom Tromey <tom@tromey.com> |
127 | ||
128 | * objcopy.c (copy_archive): Update. | |
129 | * bucomm.h (make_tempname, make_tempdir): Make argument const. | |
130 | * bucomm.c (make_tempname, make_tempdir): Make argument const. | |
131 | ||
0a4632b5 AM |
132 | 2019-09-11 Alan Modra <amodra@gmail.com> |
133 | ||
134 | PR 24907 | |
135 | * objdump.c (disassemble_bytes): Adjust code to avoid overlong | |
136 | lines. Correct max_reloc_offset_into_insn test. | |
137 | ||
aebcfb76 NC |
138 | 2019-09-10 Nick Clifton <nickc@redhat.com> |
139 | ||
140 | PR 24907 | |
141 | * objdump.c (null_print): New function. | |
142 | (disassemble_bytes): Delete previous_octets local and replace with | |
143 | a test of the max_reloc_offset_into_insn field of the | |
144 | bfd_arch_info structure. If a reloc is a potential match for the | |
145 | next insn, then perform a dummy disassembly in order to calculate | |
146 | its real length. | |
147 | ||
60391a25 PB |
148 | 2019-09-09 Phil Blundell <pb@pbcl.net> |
149 | ||
150 | binutils 2.33 branch created. | |
151 | ||
b16c44de AM |
152 | 2019-09-06 Alan Modra <amodra@gmail.com> |
153 | ||
154 | * nm.c (print_object_filename_bsd, print_object_filename_sysv), | |
155 | (print_object_filename_posix, print_archive_filename_bsd), | |
156 | (print_archive_filename_sysv, print_archive_filename_posix), | |
157 | (print_archive_member_bsd, print_archive_member_sysv), | |
158 | (print_archive_member_posix): Constify parameter. | |
159 | (struct output_fns <print_object_filename, print_archive_filename>), | |
160 | (<print_archive_member>): Likewise. | |
161 | * objcopy.c (copy_archive): Add cast for make_tempdir. | |
162 | ||
a85eba51 AM |
163 | 2019-08-29 Alan Modra <amodra@gmail.com> |
164 | ||
165 | * dwarf.c (check_uvalue): Remove unnecessary pointer checks. | |
166 | ||
fa463e9f N |
167 | 2019-08-28 Niklas Gürtler <profclonk@gmail.com> |
168 | ||
169 | PR 24942 | |
170 | * objcopy.c (SECTION_CONTEXT_SET_ALIGNMENT): New constant. | |
171 | (struct section_list): Add alignment field. | |
172 | (command_line_switch): Add OPTION_SET_SECTION_ALIGNMENT. | |
173 | (copy_options): Add --set-section-alignment. | |
174 | (copy_usage): Describe --set-section-alignment. | |
175 | (find_section_list): Initialise the alignment field. | |
176 | (setup_section): Handle the alignment field. | |
177 | (copy_main): Handle OPTION_SET_SECTION_ALIGNMENT. | |
178 | * doc/binutils.texi: Document the new feature. | |
179 | * NEWS: Mention the new feature. | |
180 | ||
a1c110a3 NC |
181 | 2019-08-28 Nick Clifton <nickc@redhat.com> |
182 | ||
183 | PR 24931 | |
184 | * objdump.c (source_comment): New static variable. | |
185 | (option_values): Add OPTION_SOURCE_COMMENT. | |
186 | (long_opions): Add --source-comment. | |
187 | (print_line): If source comment is set, use it as a prefix to the | |
188 | source code line. | |
189 | (main): Handle OPTION_SOURCE_COMMENT. | |
190 | * doc/binutils.texi: Document the new option. | |
191 | * NEWS: Mention the new feature. | |
192 | * testsuite/binutils-all/objdump.exp (test_objdump_S): Add tests | |
193 | of the -S and --source-comment options. | |
194 | ||
ec1b0fbb NC |
195 | 2019-08-27 Nick Clifton <nickc@redhat.com> |
196 | ||
197 | PR 24510 | |
198 | * dwarf.c (MAX_CU_NESTING): New constant. | |
199 | (level_type_signed): New static array. | |
200 | (skip_attr_bytes): New function. | |
201 | (get_type_signedness): New function. | |
202 | (read_and_print_leb128): New function. | |
203 | (display_discr_list): New function. | |
204 | (read_and_display_attr_value): Add start parameter. | |
205 | Use new functions when handling DW_AT_type and DW_AT_discr_list. | |
206 | (read_and_display_attr): Add start parameter. Pass to | |
207 | read_and_display_attr_value. | |
208 | (process_debug_info): Update call to read_and_display_attr. | |
209 | (display_formatted_table): Likewise. | |
210 | (display_debug_lines_decoded): Likewise. Also add start | |
211 | parameter. | |
212 | (display_debug_lines): Likewise. | |
213 | * testsuite/binutils-all/dwarf-attributes.S: Update discrimination | |
214 | lists. | |
215 | * testsuite/binutils-all/dwarf-attributes.W: Update expected | |
216 | output. | |
217 | ||
37606e67 AM |
218 | 2019-08-26 Alan Modra <amodra@gmail.com> |
219 | ||
220 | PR 24938 | |
221 | * debug.c (debug_write_type): Call empty_type for NULL type here.. | |
222 | (debug_write_type): ..rather than in just one case here. | |
223 | ||
afc72f15 NC |
224 | 2019-08-23 Nick Clifton <nickc@redhat.com> |
225 | ||
226 | PR 24829 | |
227 | * dwarf.c (check_uvalue): New function. Ensures that a block's | |
228 | size is valid. | |
229 | (read_and_display_attr_value): Use check_value when processsing | |
230 | DW_FORM_block<n> attributes. | |
231 | ||
93d6a337 NC |
232 | 2019-08-22 Nick Clifton <nickc@redhat.com> |
233 | ||
234 | PR 24921 | |
235 | * dwarf.c (process_cu_tu_index): Handle the case where a table | |
236 | does not have any columns. | |
237 | ||
d292364e AM |
238 | 2019-08-19 Alan Modra <amodra@gmail.com> |
239 | ||
240 | PR 24898 | |
241 | * dwarf.c (display_debug_frames): Use the read_cie check and error | |
242 | for augmentation data length. | |
243 | ||
d367307b AM |
244 | 2019-08-17 Alan Modra <amodra@gmail.com> |
245 | ||
246 | PR 24911 | |
247 | * dwarf.c (comp_addr_base): Dereference args. | |
248 | ||
0b8b7609 AM |
249 | 2019-08-16 Alan Modra <amodra@gmail.com> |
250 | ||
251 | PR 24909 | |
252 | PR 23499 | |
253 | * readelf.c (get_symbol_version_string): Set sym_info earlier. | |
254 | ||
6ae978f1 NC |
255 | 2019-08-15 Nick Clifton <nickc@redhat.com> |
256 | ||
257 | PR 24767 | |
258 | * doc/binutils.texi (nm): Document the 'n' symbol type. | |
259 | ||
9177214a CV |
260 | 2019-08-15 Christophe Vidal <support@krizalys.com> |
261 | ||
262 | * docs/binutils.texi: Fixed notice message disassembler options | |
263 | section of the man page. | |
264 | ||
f16a9783 MS |
265 | 2019-08-09 Mihailo Stojanovic <mihailo.stojanovic@rt-rk.com> |
266 | ||
267 | * readelf.c (get_mips_dynamic_type): Return MIPS_XHASH dynamic type. | |
268 | (get_mips_section_type_name): Return MI{S_XHASH name string. | |
269 | (dynamic_section_mips_val): Initialize the .MIPS.xhash dynamic | |
270 | info. | |
271 | (process_symbol_table): Initialize the .MIPS.xhash section | |
272 | pointer. Adjust the readelf output to support the new section. | |
273 | (process_object): Set the .MIPS.xhash dynamic info to zero. | |
274 | ||
2b2ed245 TC |
275 | 2019-08-09 Tamar Christina <tamar.christina@arm.com> |
276 | ||
277 | * testsuite/binutils-all/arm/in-order-all.d: Skip on pe, wince, coff. | |
278 | * testsuite/binutils-all/arm/in-order.d: Likewise. | |
279 | * testsuite/binutils-all/arm/out-of-order-all.d: Likewise. | |
280 | * testsuite/binutils-all/arm/out-of-order.d: Likewise. | |
281 | ||
dbe15e4e NC |
282 | 2019-08-08 Nick Clifton <nickc@redhat.com> |
283 | ||
284 | PR 24887 | |
285 | * readelf.c (process_notes_at): Left justify the "Data size" | |
286 | column heading. | |
287 | * testsuite/binutils-all/i386/empty.d: Adjust for new output format. | |
288 | * testsuite/binutils-all/i386/ibt.d: Likewise. | |
289 | * testsuite/binutils-all/i386/pr21231a.d: Likewise. | |
290 | * testsuite/binutils-all/i386/pr21231b.d: Likewise. | |
291 | * testsuite/binutils-all/i386/shstk.d: Likewise. | |
292 | * testsuite/binutils-all/note-2-32.d: Likewise. | |
293 | * testsuite/binutils-all/note-2-64.d: Likewise. | |
294 | * testsuite/binutils-all/x86-64/empty-x32.d: Likewise. | |
295 | * testsuite/binutils-all/x86-64/empty.d: Likewise. | |
296 | * testsuite/binutils-all/x86-64/ibt-x32.d: Likewise. | |
297 | * testsuite/binutils-all/x86-64/ibt.d: Likewise. | |
298 | * testsuite/binutils-all/x86-64/pr21231a.d: Likewise. | |
299 | * testsuite/binutils-all/x86-64/pr21231b.d: Likewise. | |
300 | * testsuite/binutils-all/x86-64/pr23494a-x32.d: Likewise. | |
301 | * testsuite/binutils-all/x86-64/pr23494a.d: Likewise. | |
302 | * testsuite/binutils-all/x86-64/pr23494c-x32.d: Likewise. | |
303 | * testsuite/binutils-all/x86-64/pr23494c.d: Likewise. | |
304 | * testsuite/binutils-all/x86-64/pr23494d-x32.d: Likewise. | |
305 | * testsuite/binutils-all/x86-64/pr23494d.d: Likewise. | |
306 | * testsuite/binutils-all/x86-64/pr23494e-x32.d: Likewise. | |
307 | * testsuite/binutils-all/x86-64/pr23494e.d: Likewise. | |
308 | * testsuite/binutils-all/x86-64/shstk-x32.d: Likewise. | |
309 | * testsuite/binutils-all/x86-64/shstk.d: Likewise. | |
310 | ||
7d55c1d6 NC |
311 | 2019-08-08 Nick Clifton <nickc@redhat.com> |
312 | ||
313 | * testsuite/gentestdlls.c (main): Move declaration of loop | |
314 | variable outside of the for() statement. | |
315 | ||
178d8719 JR |
316 | 2019-08-08 Jordan Rupprecht <rupprecht@google.com> |
317 | ||
318 | * readelf.c (process_note): Mask unknown description data bytes. | |
319 | ||
7c1c1904 AM |
320 | 2019-08-08 Alan Modra <amodra@gmail.com> |
321 | ||
322 | * readelf.c (get_data): Improve overflow checks. | |
323 | ||
f927cc8f NC |
324 | 2019-08-07 Nick Clifton <nickc@redhat.com> |
325 | ||
326 | PR 24777 | |
327 | * doc/binutils.texi: Ensure consistent formating of title strings | |
328 | for man pages. Extend the title of the size man page to be more | |
329 | informative. | |
330 | ||
7cd00957 OM |
331 | 2019-08-07 Omair Majid <omajid@redhat.com> |
332 | ||
333 | * testsuite/binutils-all/objdump.exp | |
334 | (test_objdump_dotnet_assemblies): Fix test to distinguish errors | |
335 | in parsing simple pei-i386 and pei-x86-64 vs parsing the newly | |
336 | introduced machine types. | |
337 | * testsuite/gentestdlls.c (write_simple_dll): New function. | |
338 | (main): Generate simple and Linux-specific variants of pei-i386 | |
339 | and pei-x86-64 files so both can be used by tests. | |
340 | ||
90679903 AM |
341 | 2019-08-07 Alan Modra <amodra@gmail.com> |
342 | ||
343 | PR 24876 | |
344 | * readelf.c (dump_ia64_unwind): Check that buffer is large | |
345 | enough for "stamp" before reading. | |
346 | ||
276cbbdf NC |
347 | 2019-08-05 Nick Clifton <nickc@redhat.com> |
348 | ||
349 | PR 24874 | |
350 | * objcopy.c (merge_gnu_build_notes): Do not insist on the first | |
351 | note being a version note. | |
352 | Remove spurious debugging fprintf. | |
353 | ||
e17869db NC |
354 | 2019-08-05 Nick Clifton <nickc@redhat.com> |
355 | ||
356 | PR 24829 | |
357 | * readelf.c (apply_relocations): Catch potential integer overflow | |
358 | whilst checking reloc location against section size. | |
359 | ||
97c0a079 AM |
360 | 2019-08-02 Alan Modra <amodra@gmail.com> |
361 | ||
362 | PR 24871 | |
363 | * readelf.c (ABSADDR): Delete. | |
364 | (dump_ia64_unwind): Expand ABSADDR. Check validity of info.section. | |
365 | ||
cc5277b1 ML |
366 | 2019-07-29 Martin Liska <mliska@suse.cz> |
367 | ||
368 | PR 24768 | |
369 | * nm.c (filter_symbols): Set report_plugin_err if | |
370 | error is reported. | |
371 | (display_rel_file): Report error for a missing LTO plugin. | |
372 | ||
8e2e3c6c AM |
373 | 2019-07-26 Alan Modra <amodra@gmail.com> |
374 | ||
375 | PR 24798 | |
376 | * dwarf.c (process_cu_tu_index): Avoid integer overflow on 64-bit | |
377 | systems by casting ncols and nslots expressions to size_t. Display | |
378 | number of columns and slots before giving up due to buffer overflow. | |
379 | Use %u to display unsigned ints. Perform more pointer wrap tests. | |
380 | ||
d079b9c0 | 381 | 2019-07-25 Tom Tromey <tromey@adacore.com> |
48467cb9 TV |
382 | |
383 | PR 24809 | |
384 | * dwarf.c (display_debug_names): Display the contents of the | |
385 | augmentation string, if it is printable. | |
386 | ||
2e6be59c NC |
387 | 2019-07-25 Nick Clifton <nickc@redhat.com> |
388 | ||
389 | PR 24837 | |
390 | * readelf.c (process_mips_specific): Check for buffer overflow | |
391 | before reading reginfo information. | |
392 | ||
2f86d559 NC |
393 | 2019-07-24 Nick Clifton <nickc@redhat.com> |
394 | ||
395 | PR 13256 | |
396 | * ar.c (decode_options): Restart option scanning if no operation | |
397 | is detected and argument remain to be scanned. | |
398 | ||
2e8136f9 NC |
399 | 2019-07-23 Nick Clifton <nickc@redhat.com> |
400 | ||
401 | PR 24818 | |
402 | * objdump.c (is_relocateable): Delete. | |
403 | (load_specific_debug_section): Test the abfd for relocations | |
404 | directly, rather than relying upon is_relocateable. | |
405 | (dump_dwarf): Delete initlialization of is_relocateable. | |
406 | ||
df3a023b AM |
407 | 2019-07-23 Alan Modra <amodra@gmail.com> |
408 | ||
409 | * readelf.c (get_parisc_segment_type): Split off hpux entries.. | |
410 | (get_ia64_segment_type): ..and these.. | |
411 | (get_hpux_segment_type): ..to here. | |
412 | (get_segment_type): Condition GNU_MBIND on osabi. Use | |
413 | get_hpux_segment_type. | |
414 | (get_symbol_binding): Do not print UNIQUE for ELFOSABI_NONE. | |
415 | (get_symbol_type): Do not print IFUNC for ELFOSABI_NONE. | |
416 | ||
acea835f AM |
417 | 2019-07-23 Alan Modra <amodra@gmail.com> |
418 | ||
419 | * testsuite/binutils-all/objcopy.exp (elf64): Correct object | |
420 | file used to set this variable. | |
421 | ||
1dd1bc4d OM |
422 | 2019-07-23 Omar Majid <omajid@redhat.com> |
423 | ||
424 | * Makefile.am (AUTOMAKE_OPTIONS): Add subdir-objects | |
425 | (GENTESTDLLSPROG): Define. | |
426 | (TEST_PROGS): Add GENTESTDLLSPROG. | |
427 | * Makefile.in: Regenerate. | |
428 | * testsuite/binutils-all/objdump.exp | |
429 | (test_objdump_dotnet_assemblies): New proc. | |
430 | Run the new proc. | |
431 | * testsuite/gentestdlls.c: New source file. | |
432 | ||
781152ec NC |
433 | 2019-06-28 Nick Clifton <nickc@redhat.com> |
434 | ||
435 | PR 24707 | |
436 | * objdump.c (slurp_symtab): Fail with a helpful error message if | |
7e56c51c NC |
437 | the symbol table is too large. Skip this check for MMO format |
438 | files. | |
781152ec | 439 | |
a68aa5d3 NC |
440 | 2019-06-26 Nick Clifton <nickc@redhat.com> |
441 | ||
442 | PR 24703 | |
443 | * bucomm.c (bfd_nonfatal): If no bfd error code has been set then | |
444 | indicate this in the output. | |
445 | (bfd_nonfatal_message): Likewise. | |
446 | ||
3e50a591 JB |
447 | 2019-06-25 Jan Beulich <jbeulich@suse.com> |
448 | ||
449 | * readelf.c (dump_ctf_indent_lines): Rename local variable | |
450 | "spaces" to "blanks". | |
451 | ||
63160fc9 JB |
452 | 2019-06-25 Jan Beulich <jbeulich@suse.com> |
453 | ||
454 | * objdump.c (dump_ctf_indent_lines): Rename local variable | |
455 | "spaces" to "blanks". | |
456 | ||
3a3a077c AM |
457 | 2019-06-14 Alan Modra <amodra@gmail.com> |
458 | ||
459 | * Makefile.in: Regenerate. | |
460 | * aclocal.m4: Regenerate. | |
461 | * doc/Makefile.in: Regenerate. | |
462 | ||
9abca702 CZ |
463 | 2019-06-12 Christos Zoulas <christos@zoulas.com> |
464 | ||
465 | PR 24663 | |
466 | * readelf.c (process_netbsd_elf_note): Add support for | |
467 | NT_NETBSD_PAX. | |
468 | (process_note): Add support for PaX notes. | |
469 | ||
c0d38b0e CZ |
470 | 2019-06-12 Christos Zoulas <christos@zoulas.com> |
471 | ||
472 | PR 24665 | |
473 | * readelf.c (get_netbsd_elfcore_note_type): Add support for SH | |
474 | core notes. | |
475 | ||
540e6170 CZ |
476 | 2019-06-12 Christos Zoulas <christos@zoulas.com> |
477 | ||
478 | PR 24664 | |
479 | * readelf.c (get_netbsd_elfcore_note_type): Add support for NetBSD | |
480 | auxv notes. | |
481 | ||
2057d69d CZ |
482 | 2019-06-11 Christos Zoulas <christos@zoulas.com> |
483 | ||
484 | PR 24662 | |
485 | * readelf.c (get_alpha_symbol_other): New function. | |
486 | (get_symbol_other): Use for Alpha symbols. | |
487 | (is_32bit_pcrel_reloc): Add R_VAX_PCREL32. | |
488 | ||
c93dbb25 CZ |
489 | 2019-06-11 Christos Zoulas <christos@zoulas.com> |
490 | ||
491 | PR 24661 | |
492 | * readelf.c (decode_arm_unwind): Ensure that the local variable | |
493 | 'addr' is always initialised. | |
494 | ||
c6a636ce NC |
495 | 2019-06-10 Christos Zoulas <christos@zoulas.com> |
496 | ||
497 | PR 24651 | |
498 | * strings.c (print_strings): Use %u to print unsigned values in | |
499 | decimal. | |
500 | ||
2e02f296 CZ |
501 | 2019-06-10 Christos Zoulas <christos@zoulas.com> |
502 | ||
503 | PR 24649 | |
504 | * arsup.c (ar_open): Use asprintf in place of xmalloc and | |
505 | sprintf. | |
506 | ||
79b377b3 NC |
507 | 2019-06-03 Nick Clifton <nickc@redhat.com> |
508 | ||
509 | Revert: | |
510 | 2019-05-29 Nick Clifton <nickc@redhat.com> | |
511 | ||
512 | * configure.ac (LIBCTF): Export. Set to empty for non-ELF based | |
513 | targets. | |
514 | (HAVE_LIBCTF): Define if libctf support is available. | |
515 | * Makefile.am (LIBCTF): Set value to @LIBCTF@. | |
516 | * objdump.c: Make CTF code conditional upon HAVE_LIBCTF being | |
517 | defined. | |
518 | * readelf.c: Likewise. | |
519 | * configure: Regenerate. | |
520 | * Makefile.in: Regenerate. | |
521 | * config.in: Regenerate. | |
522 | ||
a0486bac JM |
523 | 2019-05-30 Nick Alcock <nick.alcock@oracle.com> |
524 | ||
525 | * objdump.c (make_ctfsect): Drop cts_type, cts_flags, and | |
526 | cts_offset. | |
527 | * readelf.c (shdr_to_ctf_sect): Likewise. | |
528 | ||
ae9ac79e NC |
529 | 2019-05-30 Nick Clifton <nickc@redhat.com> |
530 | ||
531 | PR 24627 | |
532 | * readelf.c (process_version_sections): Add 0x prefix to address | |
533 | display. Correct indentation. | |
534 | ||
6ff185b8 AM |
535 | 2019-05-30 Alan Modra <amodra@gmail.com> |
536 | ||
537 | * testsuite/lib/binutils-common.exp (supports_gnu_unique): Add | |
538 | s12z to targets not supporting this feature. | |
539 | ||
1336939d AM |
540 | 2019-05-30 Alan Modra <amodra@gmail.com> |
541 | ||
542 | * testsuite/lib/binutils-common.exp (run_dump_test): Support | |
543 | tcl procedures for xfail args. | |
544 | ||
e33f2313 NC |
545 | 2019-05-29 Nick Clifton <nickc@redhat.com> |
546 | ||
547 | * README-how-to-make-a-release: Add libctf to list of directories | |
548 | that need updates in their ChangeLogs. | |
549 | ||
90bd5423 NC |
550 | 2019-05-29 Nick Clifton <nickc@redhat.com> |
551 | ||
552 | * configure.ac (LIBCTF): Export. Set to empty for non-ELF based | |
553 | targets. | |
554 | (HAVE_LIBCTF): Define if libctf support is available. | |
555 | * Makefile.am (LIBCTF): Set value to @LIBCTF@. | |
556 | * objdump.c: Make CTF code conditional upon HAVE_LIBCTF being | |
557 | defined. | |
558 | * readelf.c: Likewise. | |
559 | * configure: Regenerate. | |
560 | * Makefile.in: Regenerate. | |
561 | * config.in: Regenerate. | |
562 | ||
88981b15 NA |
563 | 2019-05-28 Nick Alcock <nick.alcock@oracle.com> |
564 | ||
565 | * MAINTAINERS: Add myself as CTF maintainer. | |
566 | ||
7d9813f1 NA |
567 | 2019-05-28 Nick Alcock <nick.alcock@oracle.com> |
568 | ||
569 | * objdump.c (ctf-api.h): New include. | |
570 | (dump_ctf_section_info): New variable. | |
571 | (dump_ctf_section_name): Likewise. | |
572 | (usage): Describe new options. | |
573 | (enum option_values): Add OPTION_CTF and OPTION_CTF_PARENT. | |
574 | (main): Use them to add --ctf and --ctf-parent. | |
575 | (read_section_stabs): Add new parameter, entsize_ptr. | |
576 | (find_stabs_section): Adjust accordingly. | |
577 | (make_ctfsect): New. | |
578 | (dump_ctf_indent_lines): New. | |
579 | (dump_ctf_archive_member): New. | |
580 | (dump_ctf): New. | |
581 | (dump_bfd): Call it. Free resources afterwards. | |
582 | * readelf.c (ctf-api.h): New include. | |
583 | (CTF_DUMP): New. | |
584 | (static bfd_boolean do_ctf): Likewise. | |
585 | (dump_ctf_parent_name): Likewise. | |
586 | (dump_ctf_symtab_name): Likewise. | |
587 | (dump_ctf_strtab_name): Likewise. | |
588 | (OPTION_CTF_DUMP): Likewise. | |
589 | (OPTION_CTF_PARENT): Likewise. | |
590 | (OPTION_CTF_SYMBOLS): Likewise. | |
591 | (OPTION_CTF_STRINGS): Likewise. | |
592 | (options): Add them. | |
593 | (usage): Likewise. | |
594 | (parse_args): Handle the new options, requesting CTF_DUMP. | |
595 | (process_section_contents): Handle CTF_DUMP. | |
596 | (shdr_to_ctf_sect): New. | |
597 | (dump_ctf_indent_lines): New. | |
598 | (dump_section_as_ctf): New. | |
599 | (main): Free resources. | |
600 | * Makefile.am (LIBCTF): New variable. | |
601 | (objdump_DEPENDENCIES): Use it. | |
602 | (readelf_DEPENDENCIES): Likewise. | |
603 | (objdump_LDADD): Likewise. | |
604 | (readelf_LDADD): Likewise. | |
605 | * aclocal.m4: Regenerated. | |
606 | * Makefile.in: Likewise. | |
607 | ||
608 | * doc/binutils.texi (objdump): Document the new options. | |
609 | (readelf): Likewise. | |
610 | * doc/ctf.options.texi: New. | |
611 | * doc/Makefile.in: Regenerated. | |
612 | * NEWS: Mention the new feature. | |
613 | ||
61dd8e19 AM |
614 | 2019-05-27 Alan Modra <amodra@gmail.com> |
615 | ||
616 | * readelf.c (process_section_groups): Continue processing groups | |
617 | when sh_entsize exceeds group size. | |
618 | ||
2301ed1c SN |
619 | 2019-05-24 Szabolcs Nagy <szabolcs.nagy@arm.com> |
620 | ||
621 | * readelf.c (get_aarch64_dynamic_type): Handle DT_AARCH64_VARIANT_PCS. | |
622 | (get_aarch64_symbol_other): New, handles STO_AARCH64_VARIANT_PCS. | |
623 | (get_symbol_other): Call get_aarch64_symbol_other. | |
624 | ||
dd7efa79 PB |
625 | 2019-05-24 Alan Modra <amodra@gmail.com> |
626 | ||
627 | * objdump.c (disassemble_bytes): Set WIDE_OUTPUT in flags. | |
628 | ||
27830e0d JM |
629 | 2019-05-23 Jose E. Marchesi <jose.marchesi@oracle.com> |
630 | ||
631 | * MAINTAINERS: Add myself as the maintainer for BPF. | |
632 | ||
aca4efc7 JM |
633 | 2019-05-23 Jose E. Marchesi <jose.marchesi@oracle.com> |
634 | ||
635 | * readelf.c: Include elf/bpf.h. | |
636 | (guess_is_rela): Hanle EM_BPF. | |
637 | (dump_relocations): Likewise. | |
638 | (is_32bit_abs_reloc): Likewise. | |
639 | * testsuite/binutils-all/nm.exp: Add bpf-*-* to the list of | |
640 | ELF targets. | |
641 | ||
fab7c86e TC |
642 | 2019-05-21 Tamar Christina <tamar.christina@arm.com> |
643 | ||
644 | * dwarf.c (dwarf_regnames_aarch64): Add SVE registers. | |
645 | * testsuite/binutils-all/aarch64/sve-dwarf-registers.d: New test. | |
646 | * testsuite/binutils-all/aarch64/sve-dwarf-registers.s: New test. | |
647 | ||
d8734380 FS |
648 | 2019-05-20 Faraz Shahbazker <fshahbazker@wavecomp.com> |
649 | ||
650 | PR 14798 | |
651 | * testsuite/binutils-all/readelf.ss-mips: Update reference output. | |
652 | * testsuite/binutils-all/readelf.ss-tmips: Likewise. | |
653 | ||
999b073b NC |
654 | 2019-05-20 Nick Clifton <nickc@redhat.com> |
655 | ||
656 | * po/ca.po: Updated Catalan translation. | |
657 | ||
514bbb0f AV |
658 | 2019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com> |
659 | ||
660 | * NEWS: Mention Armv8.1-M Mainline and MVE. | |
661 | ||
a7ad558c AV |
662 | 2019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com> |
663 | ||
664 | * readelf.c (arm_attr_tag_MVE_arch): New array for Tag_MVE_arch values. | |
665 | (arm_attr_public_tag arm_attr_public_tags): Add case for Tag_MVE_arch. | |
666 | ||
37d0d091 JH |
667 | 2019-05-14 Jamey Hicks <jamey.hicks@gmail.com> |
668 | ||
669 | PR 19921 | |
670 | * objcopy.c: Add new option --verilog-data-width. Use it to set | |
671 | the value of VerilogDataWidth. | |
672 | * doc/binutils.texi: Document the new option. | |
673 | * testsuite/binutils-all/objcopy.exp: Run tests of new option. | |
674 | * testsuite/binutils-all/verilog-1.hex: New file. | |
675 | * testsuite/binutils-all/verilog-2.hex: New file. | |
676 | * testsuite/binutils-all/verilog-4.hex: New file. | |
677 | * testsuite/binutils-all/verilog-8.hex: New file. | |
678 | * NEWS: Mention the new feature. | |
679 | ||
391bf891 AM |
680 | 2019-05-10 Alan Modra <amodra@gmail.com> |
681 | ||
682 | * testsuite/binutils-all/objdump.exp (test_objdump_disas_limited), | |
683 | (test_objdump_content_limited): Add text arg, use in place of .text. | |
684 | (bintest_signed.o): Call get_standard_section_names for name of | |
685 | text section. | |
686 | ||
2379f9c4 FS |
687 | 2019-05-08 Faraz Shahbazker <fshahbazker@wavecomp.com> |
688 | ||
689 | * objdump.c (sign_extend_address): New function. | |
690 | (dump_bfd): Sign-extend user-specified start/stop addresses | |
691 | for targets that need it. | |
692 | * testsuite/binutils-all/objdump.exp: Add tests for objdump | |
693 | with start and stop addresses in higher address ranges. | |
694 | ||
2ecde2b6 MM |
695 | 2019-05-01 Matthew Malcomson <matthew.malcomson@arm.com> |
696 | ||
697 | * testsuite/binutils-all/objdump.exp: Correct executable | |
698 | spelling. | |
699 | * testsuite/binutils-all/compress.exp: Likewise. | |
700 | ||
25a02744 NC |
701 | 2019-05-01 Nick Clifton <nickc@redhat.com> |
702 | ||
703 | PR 24507 | |
704 | * nm.c: (print_format): New variable. | |
705 | (value_format_32bit, value_format_64bit): Delete. | |
706 | (set_print_radix): Remove code to alter value_format strings. | |
707 | (set_output_format): Record chosen format in print_format. | |
708 | (get_print_format): New function - constructs a printf formatting | |
709 | string according to the requirements of size, radix, and output | |
710 | format. | |
711 | (print_value): Use get_print_format. | |
712 | * testsuite/binutils-all/nm.exp: Add tests of "nm --format=posix" | |
713 | and "nm -t d". | |
714 | ||
8107ddce AM |
715 | 2019-04-30 Alan Modra <amodra@gmail.com> |
716 | ||
717 | * wrstabs.c (stab_start_class_type): Add assert to work around | |
718 | gcc9 warning. Tidy. | |
719 | ||
1b8dd643 NC |
720 | 2019-04-24 Nick Clifton <nickc@redhat.com> |
721 | ||
722 | * objcopy.c (strip_main): Do not enable note merging by default if | |
723 | just stripping debug or dwo information. | |
724 | * doc/binutils.texi (strip): Update documentation. | |
725 | ||
624a2451 NC |
726 | 2019-04-23 Nick Clifton <nickc@redhat.com> |
727 | ||
728 | * README-how-to-make-a-release: Add note to update the symbolic | |
729 | link from "docs" to "docs-2.x" on the sourceware website. | |
730 | ||
a0fb9615 AM |
731 | 2019-04-16 Alan Modra <amodra@gmail.com> |
732 | ||
733 | * testsuite/binutils-all/copy-2.d: Don't run for ns32k-*-*. | |
734 | * testsuite/binutils-all/copy-3.d: Likewise. | |
735 | ||
031254f2 AV |
736 | 2019-04-15 Thomas Preud'homme <thomas.preudhomme@arm.com> |
737 | ||
738 | * readelf.c (arm_attr_tag_CPU_arch): Add entry for Armv8.1-M Mainline. | |
739 | ||
462cac58 L |
740 | 2019-04-08 H.J. Lu <hongjiu.lu@intel.com> |
741 | ||
742 | * readelf.c (decode_x86_isa): Handle | |
743 | GNU_PROPERTY_X86_ISA_1_AVX512_BF16. | |
744 | * testsuite/binutils-all/i386/pr21231b.d: Updated. | |
745 | * testsuite/binutils-all/x86-64/pr21231b.d: Likewise. | |
746 | ||
82b53593 L |
747 | 2019-04-08 H.J. Lu <hongjiu.lu@intel.com> |
748 | ||
749 | * testsuite/binutils-all/nm.exp: Count i386-moss as ELF. | |
750 | ||
05805feb TC |
751 | 2019-03-26 Tamar Christina <tamar.christina@arm.com> |
752 | ||
753 | * testsuite/binutils-all/aarch64/in-order-all.d: Update. | |
754 | * testsuite/binutils-all/aarch64/in-order.d: Likewise. | |
755 | * testsuite/binutils-all/aarch64/out-of-order-all.d: Likewise. | |
756 | * testsuite/binutils-all/aarch64/out-of-order.d: Likewise. | |
757 | * testsuite/binutils-all/aarch64/out-of-order.s: Likewise. | |
758 | * testsuite/binutils-all/arm/in-order-all.d: Likewise. | |
759 | * testsuite/binutils-all/arm/in-order.d: Likewise. | |
760 | * testsuite/binutils-all/arm/out-of-order-all.d: Likewise. | |
761 | * testsuite/binutils-all/arm/out-of-order.d: Likewise. | |
762 | * testsuite/binutils-all/arm/out-of-order.s: Likewise. | |
763 | ||
5fb812fc NC |
764 | 2019-03-26 Nick Clifton <nickc@redhat.com> |
765 | ||
766 | * MAINTAINERS: Take over Dave Brolley's maintainerships for FR30, | |
767 | FRV and MEP. | |
768 | ||
e8fba7f6 AM |
769 | 2019-03-26 Alan Modra <amodra@gmail.com> |
770 | ||
771 | * objdump.c (dump_relocs_in_section): Warning fix. | |
772 | ||
796d6298 TC |
773 | 2019-03-25 Tamar Christina <tamar.christina@arm.com> |
774 | ||
775 | * testsuite/binutils-all/arm/in-order-all.d: New test. | |
776 | * testsuite/binutils-all/arm/in-order.d: New test. | |
777 | * testsuite/binutils-all/arm/objdump.exp: Support .d tests. | |
778 | * testsuite/binutils-all/arm/out-of-order-all.d: New test. | |
779 | * testsuite/binutils-all/arm/out-of-order.T: New test. | |
780 | * testsuite/binutils-all/arm/out-of-order.d: New test. | |
781 | * testsuite/binutils-all/arm/out-of-order.s: New test. | |
782 | ||
783 | ||
60df3720 TC |
784 | 2019-03-25 Tamar Christina <tamar.christina@arm.com> |
785 | ||
786 | * testsuite/binutils-all/aarch64/in-order-all.d: New test. | |
787 | * testsuite/binutils-all/aarch64/out-of-order-all.d: New test. | |
788 | * testsuite/binutils-all/aarch64/out-of-order.d: | |
789 | ||
51457761 TC |
790 | 2019-03-25 Tamar Christina <tamar.christina@arm.com> |
791 | ||
792 | * testsuite/binutils-all/aarch64/in-order.d: New test. | |
793 | * testsuite/binutils-all/aarch64/out-of-order.d: Disassemble data as | |
794 | well. | |
795 | ||
53b2f36b TC |
796 | 2019-03-25 Tamar Christina <tamar.christina@arm.com> |
797 | ||
798 | * objdump.c (disassemble_bytes): Pass stop_offset. | |
799 | * testsuite/binutils-all/aarch64/out-of-order.T: New test. | |
800 | * testsuite/binutils-all/aarch64/out-of-order.d: New test. | |
801 | * testsuite/binutils-all/aarch64/out-of-order.s: New test. | |
802 | ||
63455780 NC |
803 | 2019-03-19 Nick Clifton <nickc@redhat.com> |
804 | ||
805 | PR 24360 | |
806 | * objdump.c (load_specific_debug_section): Check that the amount | |
807 | of memory to be allocated matches the size of the section. | |
808 | ||
1dbade74 SD |
809 | 2019-03-13 Sudakshina Das <sudi.das@arm.com> |
810 | ||
811 | * readelf.c (get_aarch64_dynamic_type): Add case for | |
812 | DT_AARCH64_PAC_PLT. | |
813 | (dynamic_section_aarch64_val): Likewise. | |
814 | ||
37c18eed SD |
815 | 2019-03-13 Sudakshina Das <sudi.das@arm.com> |
816 | Szabolcs Nagy <szabolcs.nagy@arm.com> | |
817 | ||
818 | * readelf.c (get_aarch64_dynamic_type): New. | |
819 | (get_dynamic_type): Use above for EM_AARCH64. | |
820 | (dynamic_section_aarch64_val): New. | |
821 | (process_dynamic_section): Use above for EM_AARCH64. | |
822 | ||
cd702818 SD |
823 | 2019-03-13 Sudakshina Das <sudi.das@arm.com> |
824 | ||
825 | * readelf.c (decode_aarch64_feature_1_and): New. | |
826 | (print_gnu_property_note): Add case for AArch64 gnu notes. | |
827 | ||
7a6e0d89 AM |
828 | 2019-03-12 Alan Modra <amodra@gmail.com> |
829 | ||
830 | * objdump.c (load_specific_debug_section): Don't compare section | |
831 | size against file size. | |
832 | (dump_relocs_in_section): Don't compare reloc size against file size. | |
833 | Print "failed to read relocs" on bfd_get_reloc_upper_bound error. | |
834 | ||
88c9190b NC |
835 | 2019-03-05 Nick Clifton <nickc@redhat.com> |
836 | ||
837 | PR 24295 | |
838 | * doc/binutils.texi (ar cmdline): Fix spelling mistake. | |
839 | ||
4933ff73 NC |
840 | 2019-03-05 Nick Clifton <nickc@redhat.com> |
841 | ||
842 | * po/sv.po: Updated Swedish translation. | |
843 | ||
093f70cc MM |
844 | 2019-03-05 Matthew Malcomson <matthew.malcomson@arm.com> |
845 | ||
846 | PR 24287 | |
847 | * testsuite/lib/binutils-common.exp (run_dump_test): Replace a use | |
848 | of "lmap" with a "foreach" loop. | |
849 | ||
f5f20315 NC |
850 | 2019-03-04 Nick Clifton <nickc@redhat.com> |
851 | ||
852 | PR 24281 | |
853 | * objcopy.c (copy_archive): Do not copy thin archives. | |
854 | ||
52d6f3ee MM |
855 | 2019-02-27 Matthew Malcomson <matthew.malcomson@arm.com> |
856 | ||
857 | * testsuite/lib/binutils-common.exp: Allow multiple "as" lines. | |
858 | ||
39f0547e NC |
859 | 2019-02-25 Nick Clifton <nickc@redhat.com> |
860 | ||
861 | * objdump.c (sym_ok): New function. | |
862 | (find_symbol_for_address): Use new function. | |
863 | (disassemble_section): Compare sections by name, not pointer. | |
864 | (dump_dwarf): Move code to initialise byte_get pointer and iterate | |
865 | over separate debug files from here to ... | |
866 | (dump_bfd): ... here. Add parameter indicating that a separate | |
867 | debug info file is being dumped. For main file, pull in the | |
868 | symbol tables from all separate debug info files. | |
869 | (display_object): Update call to dump_bfd. | |
870 | * doc/binutils.texi: Document extened behaviour of the | |
871 | --dwarf=follow-links option. | |
872 | * NEWS: Mention this new feature. | |
873 | * testsuite/binutils-all/objdump.WK2: Update expected output. | |
874 | * testsuite/binutils-all/objdump.exp (test_follow_debuglink): Add | |
875 | options and dump file parameters. | |
876 | Add extra test. | |
877 | * testsuite/binutils-all/objdump.WK3: New file. | |
878 | * testsuite/binutils-all/readelf.exp: Change expected output for | |
879 | readelf -wKis test. | |
880 | * testsuite/binutils-all/readelf.wKis: New file. | |
881 | ||
24841daa NC |
882 | 2019-02-22 Nick Clifton <nickc@redhat.com> |
883 | ||
884 | PR 23843 | |
885 | * dwarf.h (struct separate_info): New structure for containing | |
886 | information on separate debug info files. | |
887 | * dwarf.c (struct dwo_info): New structure for containing dwo | |
888 | links. | |
889 | (first_dwo_info): Chain of dwo_info structures. | |
890 | (first_separate_file): Chain of separate_info structures. | |
891 | (separate_debug_file, separate_debug_filename): Delete. | |
892 | (fetch_alt_indirect_string): Scan all separate debug info files | |
893 | for the requested string. | |
894 | (add_dwo_info): New function. | |
895 | (add_dwo_name): New function. | |
896 | (add_dwo_dir): New function. | |
897 | (add_dwo_id: New function. | |
898 | (free_dwo_info): New function. | |
899 | (read_and_display_attr_value): Store DWO data using the new | |
900 | functions. | |
901 | (load_debug_section_with_follow): If necessary, scan the list of | |
902 | separate debug info files for the requested section. | |
903 | (add_separate_debug_file): New function. | |
904 | (load_separate_debug_info): Call add_separate_debug_file to store | |
905 | the information on the newly loaded file. | |
906 | (load_dwo_file): Likewise. | |
907 | (load_separate_debif_file): Rename to load_separate_debug_files. | |
908 | Change return type to boolean. If following links then attempt to | |
909 | load all separate debug info files, not just the first one. | |
910 | (free_debug_memory): Release memory in dwo_info and separate_info | |
911 | chains. | |
912 | * objdump.c (dump_dwarf): Iterate over all loaded debg info files. | |
913 | * readelf.c (process_object): Likewise. | |
914 | * doc/debug.options.texi: Update descriptions of links and | |
915 | follow-links options. | |
916 | * testsuite/binutils-all/objdump.WK2: Update expected output. | |
917 | * testsuite/binutils-all/readelf.k2: Likewise. | |
918 | * NEWS: Announce the new feature. | |
919 | ||
5cacf1c8 NC |
920 | 2019-02-21 Nick Clifton <nickc@redhat.com> |
921 | ||
922 | PR 24247 | |
923 | * unwind-ia64.c: Include sysdep.h. | |
924 | (unw_decode_x1): Check current pointer against end pointer before | |
925 | accessing memory. | |
926 | (unw_decode_x2): Likewise. | |
927 | (unw_decode_x3): Likewise. | |
928 | (unw_decode_x4): Likewise. | |
929 | (unw_decode_r2): Likewise. | |
930 | (unw_decode_p2_p5): Likewise. | |
931 | (unw_decode_p7_p10): Likewise. | |
932 | (unw_decode): Likewise. | |
933 | ||
8d18bf79 NC |
934 | 2019-02-20 Nick Clifton <nickc@redhat.com> |
935 | ||
3ca60c57 NC |
936 | PR 24246 |
937 | * readelf.c (print_stapsdt_note): Harden against corrupt notes. | |
938 | ||
171375c6 NC |
939 | PR 24244 |
940 | * unwind-ia64.c (unw_decode_uleb128): Add end parameter, use it to | |
941 | prevent walking off the end of the buffer. | |
942 | (unw_decode_x1): Add end paramter, pass it to unw_decode_uleb128. | |
943 | (unw_decode_x2): Likewise. | |
944 | (unw_decode_x3): Likewise. | |
945 | (unw_decode_x4): Likewise. | |
946 | (unw_decode_r2): Pass the end parameter to unw_decode_uleb128. | |
947 | (unw_decode_r3): Likewise. | |
948 | (unw_decode_p7_p10): Likewise. | |
949 | (unw_decode_b2): Likewise. | |
950 | (unw_decode_b3_x4): Likewise. | |
951 | ||
7fc0c668 NC |
952 | PR 24243 |
953 | * readelf.c (process_mips_specific): Check for an options section | |
954 | that is too small to even contain a single option. | |
8d18bf79 | 955 | |
171375c6 NC |
956 | PR 24242 |
957 | * readelf.c (print_ia64_vms_note): Harden against corrupt notes. | |
958 | ||
c22b42ce AM |
959 | 2019-02-20 Alan Modra <amodra@gmail.com> |
960 | ||
961 | PR 24132 | |
962 | PR 24138 | |
963 | * readelf.c (get_data): Avoid possibility of overflow when | |
964 | checking for a read that may extend past end of file. | |
965 | (process_program_headers): Likewise. | |
966 | ||
7d272a55 AM |
967 | 2019-02-20 Alan Modra <amodra@gmail.com> |
968 | ||
969 | PR 24233 | |
970 | * objdump.c (dump_bfd_private_header): Print warning if | |
971 | bfd_print_private_bfd_data returns false. | |
972 | ||
04d7fa21 NC |
973 | 2019-02-12 Nick Clifton <nickc@redhat.com> |
974 | ||
975 | PR 23440 | |
976 | * README-how-to-make-a-release: Use git clean to delete spurious | |
977 | files from the local source repository. | |
978 | ||
46cbf38d AB |
979 | 2019-02-08 Andrew Burgess <andrew.burgess@embecosm.com> |
980 | ||
981 | * size.c (berkeley_format): Delete. | |
982 | (enum output_format): New enum. | |
983 | (selected_output_format): New variable. | |
984 | (usage): Update to mention GNU format. | |
985 | (main): Update to extract options, and select format as needed. | |
986 | Handle GNU format where needed. | |
987 | (berkeley_sum): Renamed to... | |
988 | (berkeley_or_gnu_sum): ...this, and updated to handle both formats. | |
989 | (berkeley_format): Renamed to... | |
990 | (berkeley_or_gnu_format): ...this, and updated to handle both | |
991 | formats. | |
992 | (print_sizes): Handle GNU format. | |
993 | * doc/binutils.texi (size): Document new GNU format. | |
994 | * testsuite/binutils-all/size.exp: Add test of extended | |
995 | functionality. | |
996 | * NEWS: Mention new functionality. | |
997 | ||
96fd92af AB |
998 | 2019-02-08 Andrew Burgess <andrew.burgess@embecosm.com> |
999 | ||
1000 | * doc/binutils.texi (size): Update example output for Berkeley | |
1001 | format output. | |
1002 | ||
2012bf01 NC |
1003 | 2019-02-07 Nick Clifton <nickc@redhat.com> |
1004 | ||
1005 | * README-how-to-make-a-release: Add a note about updating the | |
1006 | obsolete targets in the bfd/config.bfd file. | |
1007 | ||
082cbd3b NC |
1008 | 2019-02-04 Nick Clifton <nickc@redhat.com> |
1009 | ||
1010 | * README-how-to-make-a-release: Add more notes on making a release. | |
1011 | ||
18344509 NC |
1012 | 2019-01-25 Nick Clifton <nickc@redhat.com> |
1013 | ||
1014 | PR 24131 | |
1015 | * readelf.c (process_notes_at): Prevent an illegal memory access | |
1016 | when the note's namesize is zero. | |
1017 | (decode_tic6x_unwind_bytecode): Add code to handle the case where | |
1018 | no registers are specified in a frame pop instruction. | |
1019 | ||
9ed1348c NC |
1020 | 2019-01-25 Nick Clifton <nickc@redhat.com> |
1021 | ||
1022 | * po/bg.po: Updated Bulgarian translation. | |
1023 | ||
d9938630 NC |
1024 | 2019-01-23 Nick Clifton <nickc@redhat.com> |
1025 | ||
1026 | * po/fr.po: Updated French translation. | |
1027 | * po/pt.po: Updated Portuguese translation. | |
1028 | ||
375cd423 NC |
1029 | 2019-01-21 Nick Clifton <nickc@redhat.com> |
1030 | ||
1031 | * po/uk.po: Updated Ukranian translation. | |
1032 | ||
f48dfe41 NC |
1033 | 2019-01-19 Nick Clifton <nickc@redhat.com> |
1034 | ||
1035 | * configure: Regenerate. | |
1036 | * binutils/po/binutils.pot. | |
1037 | ||
1038 | * README-how-to-make-a-release: Update description on how to make | |
1039 | a branch. | |
1040 | ||
f974f26c NC |
1041 | 2018-06-24 Nick Clifton <nickc@redhat.com> |
1042 | ||
1043 | 2.32 branch created. | |
1044 | ||
baae986a NC |
1045 | 2019-01-17 Nick Clifton <nickc@redhat.com> |
1046 | ||
1047 | * objdump.c (disassemble_section): When disassembling from a | |
1048 | symbol only stop at the next symbol if the original symbol was not | |
1049 | a function symbol. Otherwise continue disassembling until a new | |
1050 | function is reached. | |
1051 | * testsuite/binutils-all/objdump.exp: Add tests of extended | |
1052 | functionality. | |
1053 | * testsuite/binutils-all/disasm.s: New test source file. | |
1054 | ||
2dc8dd17 JW |
1055 | 2019-01-16 Kito Cheng <kito@andestech.com> |
1056 | Nelson Chu <nelson@andestech.com> | |
1057 | ||
1058 | * readelf.c (get_riscv_section_type_name): New function. | |
1059 | (get_section_type_name): Add handler for RISC-V. | |
1060 | (riscv_attr_tag_t): Declare. | |
1061 | (riscv_attr_tag): New. | |
1062 | (display_riscv_attribute): New function. | |
1063 | (process_attributes): Add handler for RISC-V. | |
1064 | * testsuite/binutils-all/strip-3.d: Remove .riscv.attribute | |
1065 | section. | |
1066 | ||
12add40e NC |
1067 | 2019-01-10 Nick Clifton <nickc@redhat.com> |
1068 | ||
1069 | PR 23963 | |
1070 | * objdump.c (sanitize_string): New function. Removes control | |
1071 | characters from symbol names. | |
1072 | (dump_section_header): Use new function. | |
1073 | (objdump_print_symname): Likewise. | |
1074 | (objdump_print_addr_with_sym): Likewise. | |
1075 | (show_line): Likewise. | |
1076 | (disassemble_bytes): Likewise. | |
1077 | (disassemble_section): Likewise. | |
1078 | (load_specific_debug_section): Likewise. | |
1079 | (read_section_stabs): Likewise. | |
1080 | (print_section_stabs): Likewise. | |
1081 | (dump_section): Likewise. | |
1082 | (dump_reloc_set): Likewise. | |
1083 | (dump_relocs_in_section): Likewise. | |
1084 | (dump_bfd): Likewise. | |
1085 | (display_any_bfd): Likewise. | |
1086 | ||
28e817cc NC |
1087 | 2019-01-09 Nick Clifton <nickc@redhat.com> |
1088 | ||
c0b0b1c2 | 1089 | PR 24049 |
28e817cc NC |
1090 | * readelf.c (process_archive): Use arch.file_name in error |
1091 | messages until the qualified name is available. | |
1092 | ||
3107326d AP |
1093 | 2019-01-09 Andrew Paprocki <andrew@ishiboo.com> |
1094 | ||
1095 | * configure: Regenerate. | |
1096 | ||
923c6a75 AM |
1097 | 2019-01-09 Alan Modra <amodra@gmail.com> |
1098 | ||
1099 | * testsuite/binutils-all/cxxfilt.exp: Pass --no-strip-underscores | |
1100 | unconditionally to tests needing the option rather than via a | |
1101 | list of targets. | |
1102 | ||
236f4ebe NC |
1103 | 2019-01-08 Nick Clifton <nickc@redhat.com> |
1104 | ||
1105 | PR 24044 | |
1106 | * cxxfilt.c (hp_symbol_characters): Delete. | |
1107 | (main): Remove depcreated demangling styles. | |
1108 | * stabs.c (parse_stab_argtypes): Remove support for old gnu v2 | |
1109 | demangling opnames. | |
1110 | * testsuite/binutils-all/cxxfilt.exp: Use the | |
1111 | --no-strip-underscore option for targets that do prefix their | |
1112 | symbols with underscores. | |
923c6a75 | 1113 | Update tests to eliminate those that use gnu v2 encoding. |
236f4ebe | 1114 | |
e3ecd631 TC |
1115 | 2019-01-08 Tamar Christina <tamar.christina@arm.com> |
1116 | ||
1117 | PR 24065 | |
1118 | * testsuite/binutils-all/copy-6.d: New test. | |
1119 | * testsuite/binutils-all/objcopy.exp: Use it. | |
1120 | ||
171b8e19 AM |
1121 | 2019-01-08 Alan Modra <amodra@gmail.com> |
1122 | ||
1123 | * testsuite/lib/binutils-common.exp (run_dump_test): Don't prepend | |
1124 | $srcdir/$subdir to source file name if it starts with "./". | |
1125 | ||
1126 | 2019-01-05 Yoshinori Sato <ysato@users.sourceforge.jp> | |
1127 | ||
f87673e0 YS |
1128 | * readelf.c (get_machine_flags): Add RXv3 output. |
1129 | ||
11fa9f13 NC |
1130 | 2019-01-04 Nick Clifton <nickc@redhat.com> |
1131 | ||
1132 | PR 24005 | |
1133 | * objdump.c (load_specific_debug_section): Check for integer | |
1134 | overflow before attempting to allocate contents. | |
1135 | ||
cf0ad5bb NC |
1136 | 2019-01-04 Nick Clifton <nickc@redhat.com> |
1137 | ||
1138 | PR 24001 | |
1139 | * objcopy.c (copy_object): Free dhandle after writing out the | |
1140 | debug information. | |
1141 | * objdump.c (dump_bfd): Free dhandle after printing out the debug | |
1142 | information. | |
1143 | ||
11fa9f13 | 1144 | |
82704155 AM |
1145 | 2019-01-01 Alan Modra <amodra@gmail.com> |
1146 | ||
1147 | Update year range in copyright notice of all files. | |
1148 | ||
d5c04e1b | 1149 | For older changes see ChangeLog-2018 |
3499769a | 1150 | \f |
d5c04e1b | 1151 | Copyright (C) 2019 Free Software Foundation, Inc. |
3499769a AM |
1152 | |
1153 | Copying and distribution of this file, with or without modification, | |
1154 | are permitted in any medium without royalty provided the copyright | |
1155 | notice and this notice are preserved. | |
1156 | ||
1157 | Local Variables: | |
1158 | mode: change-log | |
1159 | left-margin: 8 | |
1160 | fill-column: 74 | |
1161 | version-control: never | |
1162 | End: |