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