diff options
author | Cary Coutant <ccoutant@google.com> | 2011-09-29 17:04:36 +0000 |
---|---|---|
committer | Cary Coutant <ccoutant@google.com> | 2011-09-29 17:04:36 +0000 |
commit | a7dac15368485853f4bd463352afb9b49517b624 (patch) | |
tree | fc084d79c73bad8d161d8907b033b703553b3186 /gold/incremental.cc | |
parent | 68fb0ec00bfd65b1085a011086d0328a904ab3df (diff) | |
download | gdb-a7dac15368485853f4bd463352afb9b49517b624.zip gdb-a7dac15368485853f4bd463352afb9b49517b624.tar.gz gdb-a7dac15368485853f4bd463352afb9b49517b624.tar.bz2 |
* gold/incremental.cc (Sized_incremental_binary::do_process_got_plt):
Check for NULL.
* gold/symtab.cc (Symbol_table::add_from_relobj): Ignore version
symbols during incremental update.
(Symbol_table::add_from_dynobj): Likewise.
Diffstat (limited to 'gold/incremental.cc')
-rw-r--r-- | gold/incremental.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gold/incremental.cc b/gold/incremental.cc index b422827..cbf6fba 100644 --- a/gold/incremental.cc +++ b/gold/incremental.cc @@ -685,7 +685,7 @@ Sized_incremental_binary<size, big_endian>::do_process_got_plt( gold_assert(plt_desc >= first_global && plt_desc < symtab_count); Symbol* sym = this->global_symbol(plt_desc - first_global); // Add the PLT entry only if the symbol is still referenced. - if (sym->in_reg()) + if (sym != NULL && sym->in_reg()) { gold_debug(DEBUG_INCREMENTAL, "PLT entry %d: %s", |