ld: Disable ifunc tests on Solaris
[deliverable/binutils-gdb.git] / binutils / ChangeLog
... / ...
CommitLineData
12020-04-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2
3 * testsuite/lib/binutils-common.exp (supports_gnu_osabi): Don't
4 enable on *-*-solaris*.
5
62020-03-30 Nick Clifton <nickc@redhat.com>
7
8 PR binutils/25662
9 * objcopy.c (copy_object): When copying PE format files set the
10 timestamp field in the pe_data structure if the preserve_dates
11 flag is set.
12 * testsuite/binutils-all/objcopy.exp (objcopy_test) Use
13 --preserve-dates in place of the -p option, in order to make its
14 effect more obvious.
15
162020-03-28 Alan Modra <amodra@gmail.com>
17
18 * testsuite/binutils-all/objcopy.exp (objcopy_test): Only
19 clear_xfail hppa*-*-*elf*. Revert mips xfails.
20
212020-03-28 Alan Modra <amodra@gmail.com>
22
23 * testsuite/binutils-all/objcopy.exp (objcopy_test): Move xfails
24 from here to calls. Remove "m8*-*-*" entry. Don't xfail tic54x
25 but do xfail spu, mipstx39 and mips-sgi-irix for the executable
26 test. Pass "-p" to objcopy for the executable test.
27
282020-03-27 Jozef Lawrynowicz <jozef.l@mittosystems.com>
29
30 PR binutils/25662
31 * testsuite/binutils-all/objcopy.exp (objcopy_test): Add argument to
32 specify whether an object file or executable should be built and tested.
33 Change test names to report whether an object file or executable is
34 being tested.
35 * testsuite/binutils-all/pr25662.ld: New test.
36 * testsuite/binutils-all/pr25662.s: New test.
37
382020-03-27 Alan Modra <amodra@gmail.com>
39
40 * readelf.c (process_archive): Don't double free qualified_name.
41 Don't break out of loop with "negative" archive_file_size, just
42 set file offset to max.
43
442020-03-25 Alan Modra <amodra@gmail.com>
45
46 * readelf.c (process_archive): Prevent endless loop.
47
482020-03-24 H.J. Lu <hongjiu.lu@intel.com>
49
50 PR binutils/25708
51 * nm.c (print_symname): Replace _bfd_elf_get_symbol_version_name
52 with bfd_get_symbol_version_string.
53 (print_symbo): Pass TRUE to bfd_get_symbol_version_string.
54 * objdump.c (objdump_print_symname): Likewise.
55
562020-03-24 H.J. Lu <hongjiu.lu@intel.com>
57
58 PR binutils/25708
59 * nm.c (SYM_NAME): Removed.
60 (print_symname): Add a pointer to struct extended_symbol_info
61 argument. Call _bfd_elf_get_symbol_version_name to get symbol
62 version.
63 (print_symdef_entry): Pass NULL to print_symname.
64 (print_symbol_info_bsd): Update call to print_symname.
65 (print_symbol_info_sysv): Likewise.
66 (print_symbol_info_posix): Likewise.
67
682020-03-24 Alan Modra <amodra@gmail.com>
69
70 * readelf.c (process_mips_specific): Free iconf on error path.
71
722020-03-23 Nick Clifton <nickc@redhat.com>
73
74 PR 25714
75 * wrstabs.c (stab_pop_type): Replace assertion with error return.
76 * write_stabs_in_sections_debugging_info: Likewise.
77 * stab_enum_type: Likewise.
78 * stab_modify_type: Likewise.
79 * stab_struct_field: Likewise.
80 * stab_end_struct_type: Likewise.
81 * stab_start_class_type: Likewise.
82 * stab_class_static_member: Likewise.
83 * stab_class_baseclass: Likewise.
84 * stab_class_start_method: Likewise.
85 * stab_class_method_var: Likewise.
86 * stab_class_end_method: Likewise.
87 * stab_end_class_type: Likewise.
88 * stab_typedef_type: Likewise.
89 * stab_start_function: Likewise.
90 * stab_end_block: Likewise.
91 * stab_lineno: Likewise.
92
932020-03-20 Nick Clifton <nickc@redhat.com>
94
95 * readelf.c (get_compression_header): Add ATTRIBUTE_WARN_UNUSED_RESULT.
96 (process_section_headers): Check the return value from
97 get_compression_header.
98 (dump_section_as_strings): Likewise.
99 (dump_section_as_bytes): Likewise.
100 (load_specific_debug_section): Likewise.
101
1022020-03-20 H.J. Lu <hongjiu.lu@intel.com>
103
104 * ar.c (main): Update bfd_plugin_set_program_name call.
105 * nm.c (main): Likewise.
106
1072020-03-19 Nick Clifton <nickc@redhat.com>
108
109 PR 25676
110 * testsuite/binutils-all/dw4.s: New test source file.
111 * testsuite/binutils-all/nm.exp: Run the new test.
112
1132020-03-19 H.J. Lu <hongjiu.lu@intel.com>
114
115 * readelf.c (process_symbol_table): Use unsigned long for si.
116
1172020-03-19 Alan Modra <amodra@gmail.com>
118
119 * elfcomm.c: Don't include bfd.h or bucomm.h.
120 (program_name): Declare.
121 (process_archive_index_and_symbols): Replace bfd_boolean with int,
122 and substitute FALSE and TRUE.
123 (setup_archive, setup_nested_archive): Likewise.
124 * elfcomm.h: Likewise.
125
1262020-03-19 Alan Modra <amodra@gmail.com>
127
128 * readelf.c (process_archive): Always return via path freeing
129 memory. Formatting.
130
1312020-03-19 Alan Modra <amodra@gmail.com>
132
133 * readelf.c (process_netbsd_elf_note): Validate descsz before
134 accessing descdata. Formatting.
135
1362020-03-19 Alan Modra <amodra@gmail.com>
137
138 * elfcomm.c (setup_archive): Make file_size an off_t. Comment.
139 * elfcomm.h (setup_archive): Update prototype.
140
1412020-03-16 Alan Modra <amodra@gmail.com>
142
143 * readelf.c (get_symbols): New function.
144 (process_relocs, ia64_process_unwind, hppa_process_unwind),
145 (arm_process_unwind, get_symbol_for_build_attribute): Use it.
146
1472020-03-16 Alan Modra <amodra@gmail.com>
148
149 * unwind-ia64.c (unw_decode_uleb128): Prevent overlarge shifts.
150 Detect shift overflows and check that terminating byte is found.
151 Print an error on a bad uleb128.
152
1532020-03-14 Alan Modra <amodra@gmail.com>
154
155 * readelf.c (process_file): Clean ba_cache.
156
1572020-03-14 Alan Modra <amodra@gmail.com>
158
159 * elfcomm.h (setup_archive): Update prototype.
160 * elfcomm.c (setup_archive): Add file_size parameter and sanity
161 check longnames_size.
162 (setup_nested_archive): Get file size and pass to setup_archive.
163 * elfedit.c (process_archive): Likewise.
164 * readelf.c (process_archive): Pass filedata->file_size to
165 setup_archive.
166
1672020-03-14 Alan Modra <amodra@gmail.com>
168
169 * readelf.c (dump_section_as_strings): Free memory on error exit.
170 (dump_section_as_bytes, process_notes_at): Likewise.
171 (get_build_id): Free enote.
172
1732020-03-13 Kamil Rytarowski <n54@gmx.com>
174
175 * readelf.c (get_netbsd_elfcore_note_type): Add support for
176 NT_NETBSDCORE_LWPSTATUS notes.
177
1782020-03-13 Alan Modra <amodra@gmail.com>
179
180 * elfcomm.c (get_archive_member_name): Always return malloc'd
181 string or NULL.
182 * elfedit.c (process_archive): Tidy memory on all return paths.
183 * readelf.c (process_archive): Likewise.
184 (process_symbol_table): Likewise.
185 (ba_cache): New, replacing ..
186 (get_symbol_for_build_attribute): ..static vars here. Free
187 strtab and symtab before loading new ones. Reject symtab without
188 valid strtab in loop, breaking out of loop on valid symtab.
189 (process_file): Free ba_cache symtab and strtab here, resetting
190 ba_cache.
191
1922020-03-12 Alan Modra <amodra@gmail.com>
193
194 * readelf.c (process_section_headers): Don't just set
195 filedata->section_headers NULL, free it first. Similarly for
196 dynamic_symbols, dynamic_strings, dynamic_syminfo and
197 symtab_shndx_list. Zero associated counts too.
198 (process_object): Free symtab_shndx_list.
199 (process_file): Free various allocated filedata tables.
200
2012020-03-11 Nick Clifton <nickc@redhat.com>
202
203 PR 25611
204 PR 25614
205 * dwarf.h (DWARF2_Internal_LineInfo): Add li_address_size and
206 li_segment_size fields.
207 * dwarf.c (read_debug_line_header): Record the address size and
208 segment selector size values (if present) in the lineinfo
209 structure.
210 (display_formatted_table): Warn if the format count is empty but
211 the table itself is not empty.
212 Display the format count and entry count at the start of the table
213 dump.
214 (display_debug_lines_raw): Display the address size and segement
215 selector size fields, if present.
216 * testsuite/binutils-all/dw5.W: Update expected output.
217
2182020-03-11 Alan Modra <amodra@gmail.com>
219
220 PR 25651
221 * objcopy.c (copy_object): Test "gaps" not gap_fill_set or
222 pad_to_set on second block of code dealing with padding.
223 Replace "c" with "num_sec" and don't recalculate number of
224 sections on second block. Size arrays using sizeof (element)
225 rather than sizeof (element type).
226
2272020-03-10 Alan Modra <amodra@gmail.com>
228
229 * objdump.c (disassemble_section): Don't call qsort unless
230 sym count is at least two.
231 (disassemble_data): Don't call memcpy with NULL src.
232
2332020-03-09 Alan Modra <amodra@gmail.com>
234
235 PR 25645
236 * readelf.c (dump_ia64_vms_dynamic_fixups): Pass size and nmemb
237 to get_data rather than multiplying.
238 (dump_ia64_vms_dynamic_relocs): Likewise.
239 (process_version_sections): Correct order of size and nmemb args
240 in get_data call.
241 (process_mips_specific): Likewise.
242
2432020-03-08 H.J. Lu <hongjiu.lu@intel.com>
244
245 * readelf.c (get_dynamic_data): Replace "memory chekers" with
246 "memory checkers" in comments.
247
2482020-03-06 Simon Marchi <simon.marchi@efficios.com>
249
250 PR 25491
251 * doc/Makefile.am: Rename MOSTLYCLEANFILES to MAINTAINERCLEANFILES.
252 * doc/Makefile.in: Re-generate.
253
2542020-03-06 Nick Clifton <nickc@redhat.com>
255
256 * objcopy.c (check_new_section_flags): New function. Reject the
257 SEC_COFF_SHARED flag if the target is not a COFF binary.
258 (copy_object): Call check_new_section_flags.
259 (setup_section): Likewise.
260 * doc/binutils.texi (objcopy): Add a note that the 'share' section
261 flag cannot be applied to ELF binaries.
262
2632020-03-06 Alan Modra <amodra@gmail.com>
264
265 PR 25637
266 * objcopy.c (filter_symbols): Correct rem_leading_char logic.
267
2682020-03-05 Alan Modra <amodra@gmail.com>
269
270 PR 25629
271 * objcopy.c (filter_symbols): Don't segfault on NULL
272 prefix_symbols_string.
273
2742020-03-04 Christian Eggers <ceggers@gmx.de>
275
276 * objcopy.c (copy_object): Convert from bytes to octets for
277 --gap-fill and --pad-to.
278
2792020-03-03 Nick Clifton <nickc@redhat.com>
280
281 PR 25625
282 * prdbg.c (pr_tag_type): Remove call to abort.
283
2842020-03-02 Aaron Merey <amerey@redhat.com>
285
286 * binutils/testsuite/binutils-all/debuginfod.exp: Improve port
287 selection.
288
2892020-03-02 Nick Clifton <nickc@redhat.com>
290
291 PR 25543
292 * readelf.c (dump_section_as_strings): Display new-line characters
293 as \n and then insert a line break.
294 * testsuite/binutils-all/pr25543.s: New test.
295 * testsuite/binutils-all/pr25543.d: Test driver.
296 * testsuite/binutils-all/readelf.exp: Run the new test.
297
2982020-02-27 Nick Clifton <nickc@redhat.com>
299
300 PR 25526
301 * readelf.c (process_ia64_vms_dynamic_relocs): Check to see if
302 get_data is unable to load the string table.
303
3042020-02-26 Alan Modra <amodra@gmail.com>
305
306 * elfedit.c: Indent labels correctly.
307 * readelf.c: Likewise.
308 * resres.c: Likewise.
309
3102020-02-25 H.J. Lu <hongjiu.lu@intel.com>
311
312 PR binutils/25584
313 * ar.c (main): Pass 0 to bfd_plugin_set_program_name.
314 * nm.c (main): Pass 1 to bfd_plugin_set_program_name.
315
3162020-02-24 Nick Clifton <nickc@redhat.com>
317
318 PR 25499
319 * doc/binutils.texi (objdump): Fix typo in description of
320 objdump's -g option.
321
3222020-02-20 Nelson Chu <nelson.chu@sifive.com>
323
324 * dwarf.c (regname_internal_riscv): Updated since the DECLARE_CSR
325 is changed.
326
3272020-02-19 Jordan Rupprecht <rupprecht@google.com>
328
329 * objdump.c (show_line): call bfd_demangle when using do_demangle.
330
3312020-02-19 Andrew Burgess <andrew.burgess@embecosm.com>
332
333 * configure: Regenerate.
334
3352020-02-10 Fangrui Song <maskray@google.com>
336
337 * objcopy.c (parse_flags): Handle "exclude".
338 * doc/binutils.texi: Document the support.
339
3402020-02-10 Aaron Merey <amerey@redhat.com>
341
342 * binutils/testsuite/binutils-all/debuginfod.exp:
343 Replace set ::env with setenv.
344 Start server before setting environment variable.
345 Specify tmpdir as the location of the server's
346 database.
347 Check additional server metrics at start-up.
348
3492020-02-07 Nick Clifton <nickc@redhat.com>
350
351 * README-how-to-make-a-release: Add note about updating the
352 GAS/NEWS URL in the next release.
353
3542020-02-07 Sergey Belyashov <sergey.belyashov@gmail.com>
355
356 PR 25469
357 * readelf.c (get_machine_flags): Add support for Z80N machine
358 number.
359
3602020-02-07 Nick Clifton <nickc@redhat.com>
361
362 * dwarf.c (display_debug_lines_decoded): Force a NUL termination
363 of the truncated file name.
364
3652020-02-06 Andrew Burgess <andrew.burgess@embecosm.com>
366
367 * objdump.c (print_jump_visualisation): New function.
368 (disassemble_bytes): Call new function.
369
3702020-02-06 Alan Modra <amodra@gmail.com>
371
372 * testsuite/lib/binutils-common.exp (match_target): Accept '!' before
373 TCL procedure.
374 (supports_gnu_osabi): New procedure.
375 (is_generic): New, from ld-lib.exp.
376 (supports_gnu_unique): Use the above.
377
3782020-02-04 Alan Modra <amodra@gmail.com>
379
380 * Makefile.am (CFILES): Add od-elf32_avr.c.
381 * Makefile.in: Regenerate.
382 * po/POTFILES.in: Regenerate.
383
3842020-02-03 Andreas Schwab <schwab@linux-m68k.org>
385
386 * readelf.c (dump_relocations, dump_relocations)
387 (decode_arm_unwind_bytecode, process_dynamic_section)
388 (get_symbol_visibility, get_alpha_symbol_other): Add newline to
389 error message.
390
3912020-02-03 Sergei Trofimovich <siarheit@google.com>
392
393 * coffdump.c (program_name): Drop redundant definition.
394 * srconv.c (program_name): Likewise
395 * sysdump.c (program_name): Likewise
396
3972020-02-02 H.J. Lu <hongjiu.lu@intel.com>
398
399 PR gas/25380
400 * objdump.c (sym_ok): Return FALSE if 2 sections are in the
401 same file with different section pointers.
402
4032020-02-01 Nick Clifton <nickc@redhat.com>
404
405 * README-how-to-make-a-release: Update with more details on the
406 release making process.
407
4082020-01-31 Nick Clifton <nickc@redhat.com>
409
410 * po/sv.po: Updated Swedish translation.
411
4122020-01-28 Nick Clifton <nickc@redhat.com>
413
414 * readelf.c (get_build_id): Simplify warning message about corrupt
415 notes encountered whilst scanning for the build-id.
416
4172020-01-27 Roland McGrath <mcgrathr@google.com>
418
419 * objcopy.c (compare_gnu_build_notes): Fix comparison results
420 for overlapping ranges so that (A == B) == (B == A) holds.
421
4222020-01-27 Alan Modra <amodra@gmail.com>
423
424 * testsuite/lib/binutils-common.exp (big_or_little_endian): Replace
425 case statement with switch statement.
426
4272020-01-24 Nick Clifton <nickc@redhat.com>
428
429 * readelf.c (get_build_id): Fix warning messages about corrupt
430 notes.
431
4322020-01-23 Nick Clifton <nickc@redhat.com>
433
434 * po/fr.po: Updated French translation.
435
4362020-01-22 Yuri Chornoivan <yurchor@mageia.org>
437
438 PR 25417
439 * readelf.c (get_alpha_symbol_other): Fix error message typo.
440
4412020-01-20 Nick Clifton <nickc@redhat.com>
442
443 * po/pt.po: Updated Portuguese translation.
444 * po/uk.po: Updated Ukranian translation.
445
4462020-01-18 Nick Clifton <nickc@redhat.com>
447
448 * README-how-to-make-a-release: Update notes on how to cut a
449 branch for a release.
450
4512020-01-18 Nick Clifton <nickc@redhat.com>
452
453 * configure: Regenerate.
454 * po/binutils.pot: Regenerate.
455
4562020-01-18 Nick Clifton <nickc@redhat.com>
457
458 Binutils 2.34 branch created.
459
4602020-01-17 Thomas Troeger <tstroege@gmx.de>
461
462 * objdump.c (jump_info_visualize_address): Discard jumps that are
463 no longer needed.
464 (disassemble_bytes): Only compute the maximum level if jumps were
465 detected.
466
4672020-01-13 Nick Clifton <nickc@redhat.com>
468
469 * objdump.c (disassemble_bytes): Remove C99-ism.
470 * testsuite/binutils-all/debuginfod.exp: New tests.
471
4722020-01-13 Thomas Troeger <tstroege@gmx.de>
473
474 * objdump.c (visualize_jumps, color_output, extended_color_output)
475 (detected_jumps): New variables.
476 (usage): Add the new jump visualization options.
477 (option_values): Add new option value.
478 (long_options): Add the new option.
479 (jump_info_new, jump_info_free): New functions.
480 (jump_info_min_address, jump_info_max_address): Likewise.
481 (jump_info_end_address, jump_info_is_start_address): Likewise.
482 (jump_info_is_end_address, jump_info_size): Likewise.
483 (jump_info_unlink, jump_info_insert): Likewise.
484 (jump_info_add_front, jump_info_move_linked): Likewise.
485 (jump_info_intersect, jump_info_merge): Likewise.
486 (jump_info_sort, jump_info_visualize_address): Likewise.
487 (disassemble_jumps): New function - used to locate jumps.
488 (disassemble_bytes): Add ascii art generation.
489 (disassemble_section): Add scan to locate jumps.
490 (main): Parse the new visualization option.
491 * doc/binutils.texi: Document the new feature.
492 * NEWS: Mention the new feature.
493
4942020-01-13 Alan Modra <amodra@gmail.com>
495
496 PR 25360
497 PR 25361
498 * dwarf.c (display_debug_frames): Move fde_fc earlier. Free
499 fde_fc col_type and col_offset.
500 * readelf.c (apply_relocations): Move symsec check earlier.
501 (free_debug_section): Free reloc_info.
502 (process_notes_at): Free pnotes on error path.
503 (process_object): Free dump_sects here..
504 (process_archive): ..not here.
505
5062020-01-13 Alan Modra <amodra@gmail.com>
507
508 PR 25362
509 * nm.c (display_rel_file): Free dyn_syms.
510
5112020-01-09 Nick Clifton <nickc@redhat.com>
512
513 PR 25220
514 * objcopy.c (empty_name): New variable.
515 (need_sym_before): Prevent an attempt to free a static variable.
516 (filter_symbols): Avoid strcmp test by checking for pointer
517 equality.
518
5192020-01-09 Nick Clifton <nickc@redhat.com>
520
521 * po/zh_TW.po: Updated Traditional Chinese translation.
522
5232020-01-09 Aaron Merey <amerey@redhat.com>
524
525 * Makefile.am (readelf_LDADD, objdump_LDADD): Add libdebuginfod.
526 * Makefile.in: Regenerate.
527 * NEWS: Update.
528 * config.in: Regenerate.
529 * configure: Regenerate.
530 * configure.ac: Call AC_DEBUGINFOD.
531 * doc/Makefile.in: Regenerate.
532 * doc/binutils.texi: Add section on using binutils
533 with debuginfod.
534 * dwarf.c (debuginfod_fetch_separate_debug_info): New function.
535 Query debuginfod servers for the target debug file.
536 (load_separate_debug_info): Call
537 debuginfod_fetch_separate_debug_info if configured with
538 debuginfod.
539 (load_separate_debug_files): Add file argument to
540 load_separate_debug_info calls.
541 * dwarf.h (get_build_id): Add declaration.
542 * objdump.c (get_build_id): New function. Get build-id of file.
543 * readelf.c (get_build_id): Likewise.
544 * testsuite/binutils-all/debuginfod.exp: New tests.
545 * testsuite/binutils-all/linkdebug.s: Add .note.gnu.build-id
546 section.
547
5482020-01-02 Sergey Belyashov <sergey.belyashov@gmail.com>
549
550 * readelf.c: Add support for new Z*) relocations and machine
551 types.
552
5532020-01-01 Alan Modra <amodra@gmail.com>
554
555 Update year range in copyright notice of all files.
556
557For older changes see ChangeLog-2019
558\f
559Copyright (C) 2020 Free Software Foundation, Inc.
560
561Copying and distribution of this file, with or without modification,
562are permitted in any medium without royalty provided the copyright
563notice and this notice are preserved.
564
565Local Variables:
566mode: change-log
567left-margin: 8
568fill-column: 74
569version-control: never
570End:
This page took 0.025276 seconds and 4 git commands to generate.