aboutsummaryrefslogtreecommitdiff
path: root/gold/expression.cc
diff options
context:
space:
mode:
authorCary Coutant <ccoutant@gmail.com>2015-08-25 17:53:53 -0700
committerCary Coutant <ccoutant@gmail.com>2015-08-25 17:53:53 -0700
commit3ac0a36c297a7bb3325c6efa756cccc40572dbdb (patch)
treeef53f171f2769e3544750adbba092d20389c82ee /gold/expression.cc
parentdc72bf948acc0b3cca517c730a3103d9b1d072b3 (diff)
downloadfsf-binutils-gdb-3ac0a36c297a7bb3325c6efa756cccc40572dbdb.zip
fsf-binutils-gdb-3ac0a36c297a7bb3325c6efa756cccc40572dbdb.tar.gz
fsf-binutils-gdb-3ac0a36c297a7bb3325c6efa756cccc40572dbdb.tar.bz2
Fix regression introduced by fix for PR 18703.
When a user object overrides a versioned definition in a shared object, it's possible to trigger an internal error because the versioned definition we saw didn't override the unversioned definition. This was introduced by the fix for PR 18703. This patch fixes the problem by reordering the tests so that we do not check ret->is_default() until we're confident that the symbol is in fact versioned. gold/ PR gold/18866 PR gold/18703 * symtab.cc (Symbol_table): Reorder conditions to avoid internal error.
Diffstat (limited to 'gold/expression.cc')
0 files changed, 0 insertions, 0 deletions