debian_linux.abi: Consider symbols equal regardless of the module they are in

svn path=/dists/sid/linux-2.6/; revision=15883
This commit is contained in:
Ben Hutchings 2010-06-18 03:21:47 +00:00
parent b3cd196347
commit 2c6587bd9e
1 changed files with 3 additions and 1 deletions

View File

@ -7,8 +7,10 @@ class Symbol(object):
if not isinstance(other, Symbol):
return NotImplemented
# Symbols are resolved to modules by depmod at installation/
# upgrade time, not compile time, so moving a symbol between
# modules is not an ABI change. Compare everything else.
if self.name != other.name: return False
if self.module != other.module: return False
if self.version != other.version: return False
if self.export != other.export: return False