diff options
-rwxr-xr-x | scripts/bloat-o-meter | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/bloat-o-meter b/scripts/bloat-o-meter index 0d3ff7f5e..d095b27b5 100755 --- a/scripts/bloat-o-meter +++ b/scripts/bloat-o-meter | |||
@@ -57,7 +57,7 @@ def getsizes(file): | |||
57 | # if typ in ["SECTION", "FILES"]: continue # skip sections and files | 57 | # if typ in ["SECTION", "FILES"]: continue # skip sections and files |
58 | if "." in name: name = "static." + name.split(".")[0] | 58 | if "." in name: name = "static." + name.split(".")[0] |
59 | value = int(value, 16) | 59 | value = int(value, 16) |
60 | size = int(size) | 60 | size = int(size, 16) if size.startswith('0x') else int(size) |
61 | if vis != "DEFAULT" and bind != "GLOBAL": # see if it is an alias | 61 | if vis != "DEFAULT" and bind != "GLOBAL": # see if it is an alias |
62 | alias[(value, size)] = {"name" : name} | 62 | alias[(value, size)] = {"name" : name} |
63 | else: | 63 | else: |