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