diff options
author | Alan Modra <amodra@gmail.com> | 2020-07-20 13:32:34 +0930 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2020-07-20 22:21:11 +0930 |
commit | 2f5541f384babda4aef3d6c8011a6d15af78e0a3 (patch) | |
tree | 77de27fb62718a1cdcff15552aaee892704d6c7b /ld/testsuite/ld-discard | |
parent | b243ba58e833dbb03f3746c0146f1450822c5d05 (diff) | |
download | gdb-2f5541f384babda4aef3d6c8011a6d15af78e0a3.zip gdb-2f5541f384babda4aef3d6c8011a6d15af78e0a3.tar.gz gdb-2f5541f384babda4aef3d6c8011a6d15af78e0a3.tar.bz2 |
PR26265, Spurious 'gc-sections requires ... when --init or --fini
bfd/
* elflink.c (_bfd_elf_gc_keep): Use bfd_is_const_section.
ld/
PR 26265
* ldlang.c (undef_from_cmdline): Delete.
(ldlang_add_undef): Mark "cmdline" param unused.
(lang_end): Traverse gc_sym_list to determine whether a symbol root
has been specified. Update error message.
* testsuite/ld-gc/noent.d: Adjust for changed error message.
Diffstat (limited to 'ld/testsuite/ld-discard')
0 files changed, 0 insertions, 0 deletions