diff options
author | Nikita Ermakov <coffe92@gmail.com> | 2020-05-15 08:27:57 +0930 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2020-05-15 08:30:33 +0930 |
commit | 6a31512fd4fdd38ee2b1ea78543d352f961ca172 (patch) | |
tree | 86649141dfab647395689d696875bf0adfca813c /gold/ChangeLog | |
parent | 7813437494ac39f3aef392d06ed5416e84fe386b (diff) | |
download | gdb-6a31512fd4fdd38ee2b1ea78543d352f961ca172.zip gdb-6a31512fd4fdd38ee2b1ea78543d352f961ca172.tar.gz gdb-6a31512fd4fdd38ee2b1ea78543d352f961ca172.tar.bz2 |
gold: powerpc: Test whether sym is not a plugin in do_gc_mark_symbol
sym->object() could be either a Plugin or Powerpc_relobj. There could
be a situation when Pluginobj would be proccessed in
ppc_object->get_opd_ent(dst_off) as Powerpc_relobj and it leads to the
segmentation fault.
* powerpc.cc (do_gc_mark_symbol): Don't segfault on plugin symbols.
Diffstat (limited to 'gold/ChangeLog')
-rw-r--r-- | gold/ChangeLog | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gold/ChangeLog b/gold/ChangeLog index 212c9fa..e85669a 100644 --- a/gold/ChangeLog +++ b/gold/ChangeLog @@ -1,3 +1,7 @@ +2020-05-15 Nikita Ermakov <coffe92@gmail.com> + + * powerpc.cc (do_gc_mark_symbol): Don't segfault on plugin symbols. + 2020-05-14 Nick Clifton <nickc@redhat.com> * po/sr.po: New Serbian translation. |