aboutsummaryrefslogtreecommitdiff
path: root/gcc/symtab.c
diff options
context:
space:
mode:
authorJan Hubicka <jh@suse.cz>2020-10-15 13:50:22 +0200
committerJan Hubicka <jh@suse.cz>2020-10-15 13:50:22 +0200
commit2fa684fd37703d382c0a98f723fd1c8abd32b18d (patch)
treef9881244d80a44ccba69c539212a5f98aeb33052 /gcc/symtab.c
parent445567b22a3c535be0b1861b393e9a0b050f2b1e (diff)
downloadgcc-2fa684fd37703d382c0a98f723fd1c8abd32b18d.zip
gcc-2fa684fd37703d382c0a98f723fd1c8abd32b18d.tar.gz
gcc-2fa684fd37703d382c0a98f723fd1c8abd32b18d.tar.bz2
Also accept symbols in other partition in symtab_node::binds_to_current_def_p
* symtab.c (symtab_node::binds_to_current_def_p): Also accept symbols defined in other partition.
Diffstat (limited to 'gcc/symtab.c')
-rw-r--r--gcc/symtab.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/symtab.c b/gcc/symtab.c
index 207c9e7..bc2865f 100644
--- a/gcc/symtab.c
+++ b/gcc/symtab.c
@@ -2391,7 +2391,7 @@ symbol_table::symbol_suffix_separator ()
bool
symtab_node::binds_to_current_def_p (symtab_node *ref)
{
- if (!definition)
+ if (!definition && !in_other_partition)
return false;
if (transparent_alias)
return definition