hurd: make function cast stronger
[deliverable/binutils-gdb.git] / binutils / ChangeLog
CommitLineData
ab7ad287
MF
12020-05-28 Max Filippov <jcmvbkbc@gmail.com>
2
3 * MAINTAINERS (Xtensa): Add myself as maintainer.
4
3f3c3608
AM
52020-05-23 Alan Modra <amodra@gmail.com>
6
7 * testsuite/binutils-all/ar.exp (many_files): New test.
8
9db70fc3
AM
92020-05-21 Alan Modra <amodra@gmail.com>
10
11 * addr2line.c: Replace "if (x) free (x)" with "free (x)" throughout.
12 * dlltool.c: Likewise.
13 * elfcomm.c: Likewise.
14 * rddbg.c: Likewise.
15 * readelf.c: Likewise.
16 * stabs.c: Likewise.
17 * windmc.c: Likewise.
18 * windres.c: Likewise.
19 * wrstabs.c: Likewise.
20
c31ab5a0
AM
212020-05-21 Alan Modra <amodra@gmail.com>
22
23 * readelf.c (get_num_dynamic_syms): Bounds check mipsxlat array
24 access.
25
8f595e9b
NC
262020-05-20 Nelson Chu <nelson.chu@sifive.com>
27
28 * dwarf.c: Updated since DECLARE_CSR is changed.
29
8ac10c5b
L
302020-05-19 H.J. Lu <hjl.tools@gmail.com>
31
32 PR binutils/25809
33 * readelf.c (process_program_headers): Warn if the PT_DYNAMIC
34 segment doesn't match the .dynamic section and checks are
35 enabled.
36 (struct filedata): Add dynamic_symtab_section and
37 dynamic_strtab_section fields.
38 (process_section_headers): Set dynamic_symtab_section to the
39 .dynsym section. Set dynamic_strtab_section to the .dynstr
40 section.
41 (process_dynamic_section): Warn if the .dynsym section doesn't
42 match DT_SYMTAB and DT_SYMENT or the .dynstr section doesn't
43 DT_STRTAB and DT_STRSZ. But only if checks are enabled.
44
c177f377
AM
452020-05-19 Alan Modra <amodra@gmail.com>
46
47 * ar.c (map_over_members, get_pos_bfd, delete_members, move_members),
48 (replace_members): Use bfd_get_filename rather than accessing
49 bfd->filename directly.
50 * arsup.c (map_over_list, ar_delete, ar_replace, ar_extract): Likewise.
51 * binemul.c (do_ar_emul_append): Likewise.
52 * coffgrok.c (coff_grok): Likewise.
53
83d27139
SH
542020-05-18 Stafford Horne <shorne@gmail.com>
55
56 * MAINTAINERS (OR1K): Add myself as maintainer.
57
d11a9fab
AB
582020-05-07 Andrew Burgess <andrew.burgess@embecosm.com>
59
60 * doc/binutils.texi: Mention 'entry address' in the set-start and
61 adjust-start options descriptions.
62
546cb2d8
NC
632020-05-05 Nick Clifton <nickc@redhat.com>
64
65 * dwarf.c (do_checks): New global variable.
66 (display_formatted_table): Warn about an unexpected number of
67 columns in the table, if checks are enabled. Do not complain
68 about the lack of data following the number of entries in the
69 table if the table is empty.
70 (display_debug_lines_decoded): Only warn about an unexpected
71 number of columns in a table if checks are enabled.
72 * dwarf.h (do_checks): Add a prototype.
73 * elfcomm.c (error): Remove weak attribute.
74 (warn): Likewise.
75 * readelf.c (do_checks): Delete.
76 (warn): Delete.
77 (process_section_headers): Only warn about empty sections if
78 checks are enabled.
79
e052e2ba
FS
802020-05-04 Fangrui Song <maskray@google.com>
81
82 * objcopy.c (copy_object): Allow empty section.
83 * testsuite/binutils-all/update-section.exp: Add test.
84
070b775f
NC
852020-05-04 Nick Clifton <nickc@redhat.com>
86
87 PR 25917
88 * dwarf.c (display_debug_lines_decoded): Warn if encountering a
89 supicious number of entries for DWARF-5 format directory and file
90 name tables. Do not display file name table header if the table
91 is empty. Do not allocate space for empty tables.
92
9c7b8e9b
AM
932020-05-04 Alan Modra <amodra@gmail.com>
94
95 * readelf.c (process_nds32_specific): Check size of .nds32_e_flags
96 section. Don't assume endian of host matches nds32 target. Free
97 buffer.
98
60832332
AM
992020-05-01 Alan Modra <amodra@gmail.com>
100 Haim Shimonovich <Haim.Shimonovich@ceva-dsp.com>
101
102 * objdump.c (disassemble_bytes): Don't scan for zeros when
103 disassembling zeros. Translate "resuming at file offset" message.
104 Formatting. Replace some signed variables with unsigned.
105
09c1e68a
AC
1062020-04-30 Alex Coplan <alex.coplan@arm.com>
107
108 * testsuite/binutils-all/aarch64/in-order-all.d: Update to use new
109 disassembly.
110 * testsuite/binutils-all/aarch64/out-of-order-all.d: Likewise.
111
8a8a1171
NC
1122020-04-30 Nick Clifton <nickc@redhat.com>
113
114 * testsuite/lib/binutils-common.exp (check_pie_support): New
115 proc.
116
cb4c35cf
AB
1172020-04-29 Andrew Burgess <andrew.burgess@embecosm.com>
118
119 * dwarf.c (display_debug_ranges): Ignore duplicate entries in
120 range_entries for the same offset.
121
1b513401
NC
1222020-04-29 Nick Clifton <nickc@redhat.com>
123
124 * readelf.c (warn): New function - like elfcomm.c version but only
125 produces output if warnings are enabled.
126 (struct options): Add --lint and --enable-checks.
127 (usage): Add entry for --lint.
128 (parse_args): Handle -L. If checks are enabled but no dumps have
129 been selected then enable all dumps.
130 (process_section_headers): Replace long if-then-else sequence with
131 a switch. Add warning messages for empty SHT_REL, SHT_RELA and
132 SHT_PROGBITS sections.
133 (process_file): Do not complain if the file is an archive and lint
134 mode has been enabled.
135 * elfcomm.c (error): Make the function weak.
136 (warn): Likewise.
137 * NEWS: Mention the new feature.
138 * doc/binutils.texi: Document the new feature.
139 * dwarf.h (report_leb_status): Add file name and line number
140 parameters. Include them in the diagnostic output.
141 (READ_ULEB): Pass file and line number to report_leb_status.
142 (READ_SLEB): Likewise.
143 * dwarf.c (read_and_print_leb128): Pass file and line number to
144 report_leb_status.
145 * testsuite/binutils-all/readelf.exp: Add test of new feature.
146 * testsuite/binutils-all/zero-sec.s: New test source file.
147 * testsuite/binutils-all/zero-sec.r: Expected output from new
148 test.
149
c2e71e57
NC
1502020-04-29 Nick Clifton <nickc@redhat.com>
151
152 * po/sr.po: Updated Serbian translation.
153
90837ea7
AM
1542020-04-26 Alan Modra <amodra@gmail.com>
155
156 * readelf.c (get_num_dynamic_syms): Check DT_MIPS_XHASH was
157 read before dereferencing, and gracefully return. Remove
158 gnu_hash_error variable. Free gnu hash arrays if number of
159 syms found is zero.
160
2482f306
AM
1612020-04-24 Alan Modra <amodra@gmail.com>
162
163 * readelf.c (get_num_dynamic_syms): Check for nbuckets and nchains
164 non-zero.
165 (process_dynamic_section): Call get_num_dynamic_syms once rather
166 than in segment loop. Break out of segment loop on a successful
167 load of dynamic symbols. Formatting.
168 (process_object): Return error status from process_dynamic_section.
169
27456742
AK
1702020-04-23 Anton Kolesov <anton.kolesov@synopsys.com>
171
172 * elf-bfd.h (elfcore_write_arc_v2): Add prototype.
173 * elf.c (elfcore_grok_arc_v2): New function.
174 (elfcore_grok_note): Call the new function to handle the corresponding
175 note.
176 (elfcore_write_arc_v2): New function.
177 (elfcore_write_register_note): Call the new function to handle the
178 corresponding pseudo-sections.
179
30ce8e47
MF
1802020-04-22 Max Filippov <jcmvbkbc@gmail.com>
181
182 PR ld/25861
183 * readelf.c (is_none_reloc): Recognize
184 BFD_RELOC_XTENSA_PDIFF{8,16,32} and
185 BFD_RELOC_XTENSA_NDIFF{8,16,32}.
186
33b5a830
NC
1872020-04-22 Nick Clifton <nickc@redhat.com>
188
189 * MAINTAINERS: Remove Chris Faylor as the ix86 PE maintainer.
190
978c4450
AM
1912020-04-22 Alan Modra <amodra@gmail.com>
192
193 * readelf.c (archive_file_offset, archive_file_size, dynamic_addr),
194 (dynamic_size, dynamic_nent, dynamic_strings, dynamic_strings_length),
195 (num_dynamic_syms, nbuckets, nchains, buckets, chains),
196 (ngnubuckets, gnubuckets, gnuchains, mipsxlat, ngnuchains),
197 (gnusymidx, dynamic_symbols, dynamic_syminfo, dynamic_syminfo_offset),
198 (dynamic_syminfo_nent, program_interpreter, dynamic_info),
199 (dynamic_info_DT_GNU_HASH, dynamic_info_DT_MIPS_XHASH, version_info),
200 (dynamic_section, symtab_shndx_list, group_count, section_groups),
201 (section_headers_groups): Move to struct filedata. Update use
202 throughout file.
203
6431e409
AM
2042020-04-22 Alan Modra <amodra@gmail.com>
205
206 * readelf.c (struct dump_data): New, used..
207 (cmdline): ..here, and..
208 (struct filedata): ..here. Adjust all uses.
209 (request_dump_bynumber, request_dump, parse_args): Pass in a
210 struct dump_data* rather than Filedata*. Adjust callers.
211 (main): Don't set cmdline.file_name.
212
a5e0be5c
AM
2132020-04-20 Alan Modra <amodra@gmail.com>
214
215 * readelf.c (process_symbol_table): Clear ngnuchains, ngnubuckets
216 and nbuckets.
217
8ff66993
AM
2182020-04-20 Alan Modra <amodra@gmail.com>
219
220 * readelf.c (process_section_headers): Free dynamic symbols etc.
221 earlier.
222
ceb9bf11
AM
2232020-04-20 Alan Modra <amodra@gmail.com>
224
225 * readelf.c (get_num_dynamic_syms): Formatting. Don't return
226 on error without freeing.
227 (process_dynamic_section): Don't recreate dynamic symbols from
228 dynamic tag info when the dynamic symbols have already been
229 read via section headers.
230
e409955d
FS
2312020-04-17 Fredrik Strupe <fredrik@strupe.net>
232
233 * testsuite/binutils-all/arm/vdup-cond.d: New test for testing that
234 conditional VDUP instructions are disassembled correctly.
235 * testsuite/binutils-all/arm/vdup-cond.s: New file used by
236 vdup-cond.d.
237 * testsuite/binutils-all/arm/vdup-thumb.d: New test for testing
238 that VDUP instructions (which are conditional in A32) can be
239 disassembled in thumb mode.
240 * testsuite/binutils-all/arm/vdup-cond.s: New file used by
241 vdup-thumb.d.
242
ca3f923f
AM
2432020-04-17 Alan Modra <amodra@gmail.com>
244
245 PR 25840
246 * debug.c (debug_class_type_samep): Don't segfault on NULL type.
247
937f6614
AM
2482020-04-16 Alan Modra <amodra@gmail.com>
249
250 * doc/binutils.texi: Mention --no-show-raw-insn in objdump
251 --no-addresses description.
252
b1bc1394
AM
2532020-04-15 Alan Modra <amodra@gmail.com>
254
255 * objdump.c (no_addresses): New static var.
256 (usage): Print help for --no-addresses.
257 (long_options): Add --no-addresses entry.
258 (objdump_print_addr_with_sym, objdump_print_addr): Omit symbol address.
259 (disassemble_bytes): Don't print current line address, or reloc
260 address.
261 * doc/binutils.texi: Document objdump --no-addresses.
262
001890e1
AM
2632020-04-15 Alan Modra <amodra@gmail.com>
264
265 PR 25822
266 * readelf.c (get_num_dynamic_syms): Don't set num_of_syms when
267 reading buckets or chains fails.
268
b71d4fa7
AM
2692020-04-15 Alan Modra <amodra@gmail.com>
270
271 * readelf.c (process_symbol_table): Zero gnubuckets, gnuchains
272 etc. after freeing.
273
89246a0e
AM
2742020-04-15 Alan Modra <amodra@gmail.com>
275
276 * readelf.c (get_group_flags): Translate text.
277 (get_file_type, get_symbol_binding, get_symbol_type),
278 (get_ppc64_symbol_other, get_symbol_other): Increase size of buffer.
279
c98a4545
AM
2802020-04-15 Alan Modra <amodra@gmail.com>
281
282 PR 25821
283 * readelf.c (get_num_dynamic_syms): Typo fix.
284
645f43a8
AM
2852020-04-14 Alan Modra <amodra@gmail.com>
286
287 * readelf.c (process_mips_specific): Free eopt and iopt. Avoid
288 possibility of overflow when checking number of conflicts.
289
10ca4b04
L
2902020-04-14 H.J. Lu <hongjiu.lu@intel.com>
291
292 PR binutils/25707
293 * readelf.c (nbuckets): New.
294 (nchains): Likewise.
295 (buckets): Likewise.
296 (chains): Likewise.
297 (ngnubuckets): Likewise.
298 (gnubuckets): Likewise.
299 (gnuchains): Likewise.
300 (mipsxlat): Likewise.
301 (ngnuchains): Likewise.
302 (gnusymidx): Likewise.
303 (VALID_SYMBOL_NAME): Likewise.
304 (VALID_DYNAMIC_NAME): Use it.
305 (get_dynamic_data): Moved before process_dynamic_section.
306 (get_num_dynamic_syms): New function.
307 (process_dynamic_section): Use DT_SYMTAB, DT_SYMENT, DT_HASH,
308 DT_GNU_HASH and DT_MIPS_XHASH to reconstruct dynamic symbol
309 table. Use DT_STRTAB and DT_STRSZ to reconstruct dynamic string
310 table.
311 (get_symbol_index_type): Don't print "bad section index" when
312 there is no section header.
313 (print_dynamic_symbol): Rewrite.
314 (process_symbol_table): Call print_dynamic_symbol to dump dynamic
315 symbol table.
316
bb897477
RO
3172020-04-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
318
319 * testsuite/lib/binutils-common.exp (supports_gnu_osabi): Don't
320 enable on *-*-solaris*.
321
00386881
NC
3222020-03-30 Nick Clifton <nickc@redhat.com>
323
324 PR binutils/25662
325 * objcopy.c (copy_object): When copying PE format files set the
326 timestamp field in the pe_data structure if the preserve_dates
327 flag is set.
328 * testsuite/binutils-all/objcopy.exp (objcopy_test) Use
329 --preserve-dates in place of the -p option, in order to make its
330 effect more obvious.
331
0a6a8b59
AM
3322020-03-28 Alan Modra <amodra@gmail.com>
333
334 * testsuite/binutils-all/objcopy.exp (objcopy_test): Only
335 clear_xfail hppa*-*-*elf*. Revert mips xfails.
336
6a81c59b
AM
3372020-03-28 Alan Modra <amodra@gmail.com>
338
339 * testsuite/binutils-all/objcopy.exp (objcopy_test): Move xfails
340 from here to calls. Remove "m8*-*-*" entry. Don't xfail tic54x
341 but do xfail spu, mipstx39 and mips-sgi-irix for the executable
342 test. Pass "-p" to objcopy for the executable test.
343
1fafefd5
JL
3442020-03-27 Jozef Lawrynowicz <jozef.l@mittosystems.com>
345
346 PR binutils/25662
347 * testsuite/binutils-all/objcopy.exp (objcopy_test): Add argument to
348 specify whether an object file or executable should be built and tested.
349 Change test names to report whether an object file or executable is
350 being tested.
351 * testsuite/binutils-all/pr25662.ld: New test.
352 * testsuite/binutils-all/pr25662.s: New test.
353
80e2a3b6
AM
3542020-03-27 Alan Modra <amodra@gmail.com>
355
356 * readelf.c (process_archive): Don't double free qualified_name.
357 Don't break out of loop with "negative" archive_file_size, just
358 set file offset to max.
359
4c836627
AM
3602020-03-25 Alan Modra <amodra@gmail.com>
361
362 * readelf.c (process_archive): Prevent endless loop.
363
1081065c
L
3642020-03-24 H.J. Lu <hongjiu.lu@intel.com>
365
366 PR binutils/25708
367 * nm.c (print_symname): Replace _bfd_elf_get_symbol_version_name
368 with bfd_get_symbol_version_string.
369 (print_symbo): Pass TRUE to bfd_get_symbol_version_string.
370 * objdump.c (objdump_print_symname): Likewise.
371
7e6e972f
L
3722020-03-24 H.J. Lu <hongjiu.lu@intel.com>
373
374 PR binutils/25708
375 * nm.c (SYM_NAME): Removed.
376 (print_symname): Add a pointer to struct extended_symbol_info
377 argument. Call _bfd_elf_get_symbol_version_name to get symbol
378 version.
379 (print_symdef_entry): Pass NULL to print_symname.
380 (print_symbol_info_bsd): Update call to print_symname.
381 (print_symbol_info_sysv): Likewise.
382 (print_symbol_info_posix): Likewise.
383
5a814d6d
AM
3842020-03-24 Alan Modra <amodra@gmail.com>
385
386 * readelf.c (process_mips_specific): Free iconf on error path.
387
0636b245
NC
3882020-03-23 Nick Clifton <nickc@redhat.com>
389
390 PR 25714
391 * wrstabs.c (stab_pop_type): Replace assertion with error return.
392 * write_stabs_in_sections_debugging_info: Likewise.
393 * stab_enum_type: Likewise.
394 * stab_modify_type: Likewise.
395 * stab_struct_field: Likewise.
396 * stab_end_struct_type: Likewise.
397 * stab_start_class_type: Likewise.
398 * stab_class_static_member: Likewise.
399 * stab_class_baseclass: Likewise.
400 * stab_class_start_method: Likewise.
401 * stab_class_method_var: Likewise.
402 * stab_class_end_method: Likewise.
403 * stab_end_class_type: Likewise.
404 * stab_typedef_type: Likewise.
405 * stab_start_function: Likewise.
406 * stab_end_block: Likewise.
407 * stab_lineno: Likewise.
408
5844b465
NC
4092020-03-20 Nick Clifton <nickc@redhat.com>
410
411 * readelf.c (get_compression_header): Add ATTRIBUTE_WARN_UNUSED_RESULT.
412 (process_section_headers): Check the return value from
413 get_compression_header.
414 (dump_section_as_strings): Likewise.
415 (dump_section_as_bytes): Likewise.
416 (load_specific_debug_section): Likewise.
417
3d98c460
L
4182020-03-20 H.J. Lu <hongjiu.lu@intel.com>
419
420 * ar.c (main): Update bfd_plugin_set_program_name call.
421 * nm.c (main): Likewise.
422
f3a08f77
NC
4232020-03-19 Nick Clifton <nickc@redhat.com>
424
425 PR 25676
426 * testsuite/binutils-all/dw4.s: New test source file.
427 * testsuite/binutils-all/nm.exp: Run the new test.
428
ef3df110
L
4292020-03-19 H.J. Lu <hongjiu.lu@intel.com>
430
431 * readelf.c (process_symbol_table): Use unsigned long for si.
432
81a65eb3
AM
4332020-03-19 Alan Modra <amodra@gmail.com>
434
435 * elfcomm.c: Don't include bfd.h or bucomm.h.
436 (program_name): Declare.
437 (process_archive_index_and_symbols): Replace bfd_boolean with int,
438 and substitute FALSE and TRUE.
439 (setup_archive, setup_nested_archive): Likewise.
440 * elfcomm.h: Likewise.
441
1cb7d8b1
AM
4422020-03-19 Alan Modra <amodra@gmail.com>
443
444 * readelf.c (process_archive): Always return via path freeing
445 memory. Formatting.
446
b966f55f
AM
4472020-03-19 Alan Modra <amodra@gmail.com>
448
449 * readelf.c (process_netbsd_elf_note): Validate descsz before
450 accessing descdata. Formatting.
451
645ba681
AM
4522020-03-19 Alan Modra <amodra@gmail.com>
453
454 * elfcomm.c (setup_archive): Make file_size an off_t. Comment.
455 * elfcomm.h (setup_archive): Update prototype.
456
28d13567
AM
4572020-03-16 Alan Modra <amodra@gmail.com>
458
459 * readelf.c (get_symbols): New function.
460 (process_relocs, ia64_process_unwind, hppa_process_unwind),
461 (arm_process_unwind, get_symbol_for_build_attribute): Use it.
462
60e63c3e
AM
4632020-03-16 Alan Modra <amodra@gmail.com>
464
465 * unwind-ia64.c (unw_decode_uleb128): Prevent overlarge shifts.
466 Detect shift overflows and check that terminating byte is found.
467 Print an error on a bad uleb128.
468
1bd6175a
AM
4692020-03-14 Alan Modra <amodra@gmail.com>
470
471 * readelf.c (process_file): Clean ba_cache.
472
780f96ae
AM
4732020-03-14 Alan Modra <amodra@gmail.com>
474
475 * elfcomm.h (setup_archive): Update prototype.
476 * elfcomm.c (setup_archive): Add file_size parameter and sanity
477 check longnames_size.
478 (setup_nested_archive): Get file size and pass to setup_archive.
479 * elfedit.c (process_archive): Likewise.
480 * readelf.c (process_archive): Pass filedata->file_size to
481 setup_archive.
482
f761cb13
AM
4832020-03-14 Alan Modra <amodra@gmail.com>
484
485 * readelf.c (dump_section_as_strings): Free memory on error exit.
486 (dump_section_as_bytes, process_notes_at): Likewise.
487 (get_build_id): Free enote.
488
06d949ec
KR
4892020-03-13 Kamil Rytarowski <n54@gmx.com>
490
491 * readelf.c (get_netbsd_elfcore_note_type): Add support for
492 NT_NETBSDCORE_LWPSTATUS notes.
493
fd486f32
AM
4942020-03-13 Alan Modra <amodra@gmail.com>
495
496 * elfcomm.c (get_archive_member_name): Always return malloc'd
497 string or NULL.
498 * elfedit.c (process_archive): Tidy memory on all return paths.
499 * readelf.c (process_archive): Likewise.
500 (process_symbol_table): Likewise.
501 (ba_cache): New, replacing ..
502 (get_symbol_for_build_attribute): ..static vars here. Free
503 strtab and symtab before loading new ones. Reject symtab without
504 valid strtab in loop, breaking out of loop on valid symtab.
505 (process_file): Free ba_cache symtab and strtab here, resetting
506 ba_cache.
507
8fb879cd
AM
5082020-03-12 Alan Modra <amodra@gmail.com>
509
510 * readelf.c (process_section_headers): Don't just set
511 filedata->section_headers NULL, free it first. Similarly for
512 dynamic_symbols, dynamic_strings, dynamic_syminfo and
513 symtab_shndx_list. Zero associated counts too.
514 (process_object): Free symtab_shndx_list.
515 (process_file): Free various allocated filedata tables.
516
5496f3c6
NC
5172020-03-11 Nick Clifton <nickc@redhat.com>
518
519 PR 25611
520 PR 25614
521 * dwarf.h (DWARF2_Internal_LineInfo): Add li_address_size and
522 li_segment_size fields.
523 * dwarf.c (read_debug_line_header): Record the address size and
524 segment selector size values (if present) in the lineinfo
525 structure.
526 (display_formatted_table): Warn if the format count is empty but
527 the table itself is not empty.
528 Display the format count and entry count at the start of the table
529 dump.
530 (display_debug_lines_raw): Display the address size and segement
531 selector size fields, if present.
532 * testsuite/binutils-all/dw5.W: Update expected output.
533
9cc89dc0
AM
5342020-03-11 Alan Modra <amodra@gmail.com>
535
536 PR 25651
537 * objcopy.c (copy_object): Test "gaps" not gap_fill_set or
538 pad_to_set on second block of code dealing with padding.
539 Replace "c" with "num_sec" and don't recalculate number of
540 sections on second block. Size arrays using sizeof (element)
541 rather than sizeof (element type).
542
41da0822
AM
5432020-03-10 Alan Modra <amodra@gmail.com>
544
545 * objdump.c (disassemble_section): Don't call qsort unless
546 sym count is at least two.
547 (disassemble_data): Don't call memcpy with NULL src.
548
95099889
AM
5492020-03-09 Alan Modra <amodra@gmail.com>
550
551 PR 25645
552 * readelf.c (dump_ia64_vms_dynamic_fixups): Pass size and nmemb
553 to get_data rather than multiplying.
554 (dump_ia64_vms_dynamic_relocs): Likewise.
555 (process_version_sections): Correct order of size and nmemb args
556 in get_data call.
557 (process_mips_specific): Likewise.
558
a15de1f5
L
5592020-03-08 H.J. Lu <hongjiu.lu@intel.com>
560
561 * readelf.c (get_dynamic_data): Replace "memory chekers" with
562 "memory checkers" in comments.
563
9979ab66
SM
5642020-03-06 Simon Marchi <simon.marchi@efficios.com>
565
566 PR 25491
567 * doc/Makefile.am: Rename MOSTLYCLEANFILES to MAINTAINERCLEANFILES.
568 * doc/Makefile.in: Re-generate.
569
a0dcf297
NC
5702020-03-06 Nick Clifton <nickc@redhat.com>
571
572 * objcopy.c (check_new_section_flags): New function. Reject the
573 SEC_COFF_SHARED flag if the target is not a COFF binary.
574 (copy_object): Call check_new_section_flags.
575 (setup_section): Likewise.
576 * doc/binutils.texi (objcopy): Add a note that the 'share' section
577 flag cannot be applied to ELF binaries.
578
a9b90127
AM
5792020-03-06 Alan Modra <amodra@gmail.com>
580
581 PR 25637
582 * objcopy.c (filter_symbols): Correct rem_leading_char logic.
583
d1faf7ca
AM
5842020-03-05 Alan Modra <amodra@gmail.com>
585
586 PR 25629
587 * objcopy.c (filter_symbols): Don't segfault on NULL
588 prefix_symbols_string.
589
eef64366
CE
5902020-03-04 Christian Eggers <ceggers@gmx.de>
591
592 * objcopy.c (copy_object): Convert from bytes to octets for
593 --gap-fill and --pad-to.
594
5be2b2f5
NC
5952020-03-03 Nick Clifton <nickc@redhat.com>
596
597 PR 25625
598 * prdbg.c (pr_tag_type): Remove call to abort.
599
b312fea1
AM
6002020-03-02 Aaron Merey <amerey@redhat.com>
601
602 * binutils/testsuite/binutils-all/debuginfod.exp: Improve port
603 selection.
604
ba3265d0
NC
6052020-03-02 Nick Clifton <nickc@redhat.com>
606
607 PR 25543
608 * readelf.c (dump_section_as_strings): Display new-line characters
609 as \n and then insert a line break.
610 * testsuite/binutils-all/pr25543.s: New test.
611 * testsuite/binutils-all/pr25543.d: Test driver.
612 * testsuite/binutils-all/readelf.exp: Run the new test.
613
736990c4
NC
6142020-02-27 Nick Clifton <nickc@redhat.com>
615
616 PR 25526
617 * readelf.c (process_ia64_vms_dynamic_relocs): Check to see if
618 get_data is unable to load the string table.
619
dc1e8a47
AM
6202020-02-26 Alan Modra <amodra@gmail.com>
621
622 * elfedit.c: Indent labels correctly.
623 * readelf.c: Likewise.
624 * resres.c: Likewise.
625
ecda9016
L
6262020-02-25 H.J. Lu <hongjiu.lu@intel.com>
627
628 PR binutils/25584
629 * ar.c (main): Pass 0 to bfd_plugin_set_program_name.
630 * nm.c (main): Pass 1 to bfd_plugin_set_program_name.
631
83d4d556
NC
6322020-02-24 Nick Clifton <nickc@redhat.com>
633
634 PR 25499
635 * doc/binutils.texi (objdump): Fix typo in description of
636 objdump's -g option.
637
bd0cf5a6
NC
6382020-02-20 Nelson Chu <nelson.chu@sifive.com>
639
640 * dwarf.c (regname_internal_riscv): Updated since the DECLARE_CSR
641 is changed.
642
741cb839
EC
6432020-02-19 Jordan Rupprecht <rupprecht@google.com>
644
645 * objdump.c (show_line): call bfd_demangle when using do_demangle.
646
9f1528a1
AB
6472020-02-19 Andrew Burgess <andrew.burgess@embecosm.com>
648
649 * configure: Regenerate.
650
3a5d12fb
FS
6512020-02-10 Fangrui Song <maskray@google.com>
652
653 * objcopy.c (parse_flags): Handle "exclude".
654 * doc/binutils.texi: Document the support.
655
678d457f
AM
6562020-02-10 Aaron Merey <amerey@redhat.com>
657
658 * binutils/testsuite/binutils-all/debuginfod.exp:
659 Replace set ::env with setenv.
46471187
AM
660 Start server before setting environment variable.
661 Specify tmpdir as the location of the server's
662 database.
663 Check additional server metrics at start-up.
678d457f 664
e8319fde
NC
6652020-02-07 Nick Clifton <nickc@redhat.com>
666
667 * README-how-to-make-a-release: Add note about updating the
668 GAS/NEWS URL in the next release.
669
9fc0b501
SB
6702020-02-07 Sergey Belyashov <sergey.belyashov@gmail.com>
671
672 PR 25469
673 * readelf.c (get_machine_flags): Add support for Z80N machine
674 number.
675
e1104d08
NC
6762020-02-07 Nick Clifton <nickc@redhat.com>
677
678 * dwarf.c (display_debug_lines_decoded): Force a NUL termination
679 of the truncated file name.
680
c2e6f744 6812020-02-06 Andrew Burgess <andrew.burgess@embecosm.com>
ece12829
TT
682
683 * objdump.c (print_jump_visualisation): New function.
684 (disassemble_bytes): Call new function.
685
02e0be69
AM
6862020-02-06 Alan Modra <amodra@gmail.com>
687
688 * testsuite/lib/binutils-common.exp (match_target): Accept '!' before
689 TCL procedure.
690 (supports_gnu_osabi): New procedure.
691 (is_generic): New, from ld-lib.exp.
692 (supports_gnu_unique): Use the above.
693
e8b79122
AM
6942020-02-04 Alan Modra <amodra@gmail.com>
695
696 * Makefile.am (CFILES): Add od-elf32_avr.c.
697 * Makefile.in: Regenerate.
698 * po/POTFILES.in: Regenerate.
699
27a45f42
AS
7002020-02-03 Andreas Schwab <schwab@linux-m68k.org>
701
702 * readelf.c (dump_relocations, dump_relocations)
703 (decode_arm_unwind_bytecode, process_dynamic_section)
704 (get_symbol_visibility, get_alpha_symbol_other): Add newline to
705 error message.
706
0b398d69
ST
7072020-02-03 Sergei Trofimovich <siarheit@google.com>
708
709 * coffdump.c (program_name): Drop redundant definition.
710 * srconv.c (program_name): Likewise
711 * sysdump.c (program_name): Likewise
712
a8c4d40b
L
7132020-02-02 H.J. Lu <hongjiu.lu@intel.com>
714
715 PR gas/25380
716 * objdump.c (sym_ok): Return FALSE if 2 sections are in the
717 same file with different section pointers.
718
cb6ad9bb
NC
7192020-02-01 Nick Clifton <nickc@redhat.com>
720
721 * README-how-to-make-a-release: Update with more details on the
722 release making process.
723
53943f32
NC
7242020-01-31 Nick Clifton <nickc@redhat.com>
725
726 * po/sv.po: Updated Swedish translation.
727
55be8fd0
NC
7282020-01-28 Nick Clifton <nickc@redhat.com>
729
730 * readelf.c (get_build_id): Simplify warning message about corrupt
731 notes encountered whilst scanning for the build-id.
732
82ef9cad
RM
7332020-01-27 Roland McGrath <mcgrathr@google.com>
734
735 * objcopy.c (compare_gnu_build_notes): Fix comparison results
736 for overlapping ranges so that (A == B) == (B == A) holds.
737
e3696f67
AM
7382020-01-27 Alan Modra <amodra@gmail.com>
739
740 * testsuite/lib/binutils-common.exp (big_or_little_endian): Replace
741 case statement with switch statement.
742
2f796de6
NC
7432020-01-24 Nick Clifton <nickc@redhat.com>
744
745 * readelf.c (get_build_id): Fix warning messages about corrupt
746 notes.
747
24e648d4
NC
7482020-01-23 Nick Clifton <nickc@redhat.com>
749
750 * po/fr.po: Updated French translation.
751
c48acf6f
YC
7522020-01-22 Yuri Chornoivan <yurchor@mageia.org>
753
754 PR 25417
755 * readelf.c (get_alpha_symbol_other): Fix error message typo.
756
26916852
NC
7572020-01-20 Nick Clifton <nickc@redhat.com>
758
759 * po/pt.po: Updated Portuguese translation.
760 * po/uk.po: Updated Ukranian translation.
761
b248e9ce
NC
7622020-01-18 Nick Clifton <nickc@redhat.com>
763
764 * README-how-to-make-a-release: Update notes on how to cut a
765 branch for a release.
766
1b1bb2c6
NC
7672020-01-18 Nick Clifton <nickc@redhat.com>
768
769 * configure: Regenerate.
770 * po/binutils.pot: Regenerate.
771
ae774686
NC
7722020-01-18 Nick Clifton <nickc@redhat.com>
773
774 Binutils 2.34 branch created.
775
82a9ed20
TT
7762020-01-17 Thomas Troeger <tstroege@gmx.de>
777
778 * objdump.c (jump_info_visualize_address): Discard jumps that are
779 no longer needed.
780 (disassemble_bytes): Only compute the maximum level if jumps were
781 detected.
782
6a1939f5
NC
7832020-01-13 Nick Clifton <nickc@redhat.com>
784
c87c17c1 785 * objdump.c (disassemble_bytes): Remove C99-ism.
6a1939f5
NC
786 * testsuite/binutils-all/debuginfod.exp: New tests.
787
1d67fe3b
TT
7882020-01-13 Thomas Troeger <tstroege@gmx.de>
789
790 * objdump.c (visualize_jumps, color_output, extended_color_output)
791 (detected_jumps): New variables.
792 (usage): Add the new jump visualization options.
793 (option_values): Add new option value.
794 (long_options): Add the new option.
795 (jump_info_new, jump_info_free): New functions.
796 (jump_info_min_address, jump_info_max_address): Likewise.
797 (jump_info_end_address, jump_info_is_start_address): Likewise.
798 (jump_info_is_end_address, jump_info_size): Likewise.
799 (jump_info_unlink, jump_info_insert): Likewise.
800 (jump_info_add_front, jump_info_move_linked): Likewise.
801 (jump_info_intersect, jump_info_merge): Likewise.
802 (jump_info_sort, jump_info_visualize_address): Likewise.
803 (disassemble_jumps): New function - used to locate jumps.
804 (disassemble_bytes): Add ascii art generation.
805 (disassemble_section): Add scan to locate jumps.
806 (main): Parse the new visualization option.
807 * doc/binutils.texi: Document the new feature.
808 * NEWS: Mention the new feature.
809
a788aedd
AM
8102020-01-13 Alan Modra <amodra@gmail.com>
811
a4f2b7c5
AM
812 PR 25360
813 PR 25361
a788aedd
AM
814 * dwarf.c (display_debug_frames): Move fde_fc earlier. Free
815 fde_fc col_type and col_offset.
816 * readelf.c (apply_relocations): Move symsec check earlier.
817 (free_debug_section): Free reloc_info.
818 (process_notes_at): Free pnotes on error path.
819 (process_object): Free dump_sects here..
820 (process_archive): ..not here.
821
805f38bc
AM
8222020-01-13 Alan Modra <amodra@gmail.com>
823
824 PR 25362
825 * nm.c (display_rel_file): Free dyn_syms.
826
ffebb0bb
NC
8272020-01-09 Nick Clifton <nickc@redhat.com>
828
829 PR 25220
830 * objcopy.c (empty_name): New variable.
831 (need_sym_before): Prevent an attempt to free a static variable.
832 (filter_symbols): Avoid strcmp test by checking for pointer
833 equality.
834
ade4fd9b
NC
8352020-01-09 Nick Clifton <nickc@redhat.com>
836
837 * po/zh_TW.po: Updated Traditional Chinese translation.
838
8392020-01-09 Aaron Merey <amerey@redhat.com>
840
841 * Makefile.am (readelf_LDADD, objdump_LDADD): Add libdebuginfod.
842 * Makefile.in: Regenerate.
843 * NEWS: Update.
844 * config.in: Regenerate.
845 * configure: Regenerate.
846 * configure.ac: Call AC_DEBUGINFOD.
847 * doc/Makefile.in: Regenerate.
848 * doc/binutils.texi: Add section on using binutils
849 with debuginfod.
850 * dwarf.c (debuginfod_fetch_separate_debug_info): New function.
851 Query debuginfod servers for the target debug file.
852 (load_separate_debug_info): Call
853 debuginfod_fetch_separate_debug_info if configured with
854 debuginfod.
855 (load_separate_debug_files): Add file argument to
856 load_separate_debug_info calls.
857 * dwarf.h (get_build_id): Add declaration.
858 * objdump.c (get_build_id): New function. Get build-id of file.
859 * readelf.c (get_build_id): Likewise.
860 * testsuite/binutils-all/debuginfod.exp: New tests.
861 * testsuite/binutils-all/linkdebug.s: Add .note.gnu.build-id
862 section.
863
6655dba2
SB
8642020-01-02 Sergey Belyashov <sergey.belyashov@gmail.com>
865
866 * readelf.c: Add support for new Z*) relocations and machine
867 types.
868
b14ce8bf
AM
8692020-01-01 Alan Modra <amodra@gmail.com>
870
871 Update year range in copyright notice of all files.
872
0b114740 873For older changes see ChangeLog-2019
3499769a 874\f
0b114740 875Copyright (C) 2020 Free Software Foundation, Inc.
3499769a
AM
876
877Copying and distribution of this file, with or without modification,
878are permitted in any medium without royalty provided the copyright
879notice and this notice are preserved.
880
881Local Variables:
882mode: change-log
883left-margin: 8
884fill-column: 74
885version-control: never
886End:
This page took 0.263068 seconds and 4 git commands to generate.