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