mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-02-17 13:10:12 +08:00
Stop the plugin handler from ignoring unknown symbol types when conanicalizing weak definitions.
* plugin.c (bfd_plugin_canonicalize_symtab): Handle the case of an unrecognized symbol type in a weak definition.
This commit is contained in:
parent
54844aa706
commit
b5ffa9182b
@ -1,3 +1,8 @@
|
||||
2020-09-08 Nick Clifton <nickc@redhat.com>
|
||||
|
||||
* plugin.c (bfd_plugin_canonicalize_symtab): Handle the case of an
|
||||
unrecognized symbol type in a weak definition.
|
||||
|
||||
2020-09-04 Alan Modra <amodra@gmail.com>
|
||||
|
||||
PR 26574
|
||||
|
@ -640,6 +640,8 @@ bfd_plugin_canonicalize_symtab (bfd *abfd,
|
||||
if (current_plugin->has_symbol_type)
|
||||
switch (syms[i].symbol_type)
|
||||
{
|
||||
default:
|
||||
/* FIXME: Should we issue an error here ? */
|
||||
case LDST_UNKNOWN:
|
||||
/* What is the best fake section for LDST_UNKNOWN? */
|
||||
case LDST_FUNCTION:
|
||||
|
Loading…
Reference in New Issue
Block a user