mirror of
git://sourceware.org/git/libabigail.git
synced 2025-03-08 07:38:06 +00:00
Consider symbol versions' public-ness during comparison
* src/abg-ir.cc (elf_symbol::operator==): Rather than comparing bindings, compare public-ness here. That is, if two symbol versions' differ because one is GLOBAL and the other one is WEAK, they should still be considered equal, from an ABI standpoint. Signed-off-by: Dodji Seketeli <dodji@redhat.com>
This commit is contained in:
parent
495a1dba55
commit
06f9ed88f5
@ -621,7 +621,7 @@ elf_symbol::operator==(const elf_symbol& other)
|
||||
{
|
||||
return (get_name() == other.get_name()
|
||||
&& get_type() == other.get_type()
|
||||
&& get_binding() == other.get_binding()
|
||||
&& is_public() == other.is_public()
|
||||
&& get_is_defined() == other.get_is_defined()
|
||||
&& get_version() == other.get_version());
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user