diff options
author | James Clarke <jrtc27@jrtc27.com> | 2016-08-10 09:58:01 -0700 |
---|---|---|
committer | Cary Coutant <ccoutant@gmail.com> | 2016-08-10 09:58:01 -0700 |
commit | 2c00092dced3808ce4dcb76a9e7c473530dd01e8 (patch) | |
tree | 22d6fb414fd849543da67da3ec3fa041d5452281 /gold/ChangeLog | |
parent | 007801eeb19ed565eb4dc4020831f6d293f46930 (diff) | |
download | gdb-2c00092dced3808ce4dcb76a9e7c473530dd01e8.zip gdb-2c00092dced3808ce4dcb76a9e7c473530dd01e8.tar.gz gdb-2c00092dced3808ce4dcb76a9e7c473530dd01e8.tar.bz2 |
Fix potential crashes when Target::make_symbol() returns NULL.
2016-08-10 James Clarke <jrtc27@jrtc27.com>
gold/
PR gold/20443
* symtab.cc (Symbol_table::add_from_relobj): Handle NULL symbols,
which will be present for STT_SPARC_REGISTER.
(Symbol_table::add_from_pluginobj): Likewise.
(Symbol_table::add_from_dynobj): Likewise.
(Symbol_table::add_from_incrobj): Removed dead code.
Diffstat (limited to 'gold/ChangeLog')
-rw-r--r-- | gold/ChangeLog | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/gold/ChangeLog b/gold/ChangeLog index d0a670b..10677c7 100644 --- a/gold/ChangeLog +++ b/gold/ChangeLog @@ -1,5 +1,14 @@ 2016-08-10 James Clarke <jrtc27@jrtc27.com> + PR gold/20443 + * symtab.cc (Symbol_table::add_from_relobj): Handle NULL symbols, + which will be present for STT_SPARC_REGISTER. + (Symbol_table::add_from_pluginobj): Likewise. + (Symbol_table::add_from_dynobj): Likewise. + (Symbol_table::add_from_incrobj): Removed dead code. + +2016-08-10 James Clarke <jrtc27@jrtc27.com> + PR gold/20442 * sparc.cc (Target_sparc::Relocate::relocate): R_SPARC_GOTDATA_OP_LOX10 should fall back on R_SPARC_GOT10, not R_SPARC_GOT13. |