diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2006-11-29 14:32:01 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2006-11-29 14:32:01 +0000 |
commit | 2425bdce34cd142b29eabad00927a9c473b05ecb (patch) | |
tree | a6ad29eb35cb296af12bbbac0a37c55ed23744cf /scripts | |
parent | 834410a5a56e7e7efac8b111bffd4c2362f5bc3f (diff) | |
download | busybox-w32-2425bdce34cd142b29eabad00927a9c473b05ecb.tar.gz busybox-w32-2425bdce34cd142b29eabad00927a9c473b05ecb.tar.bz2 busybox-w32-2425bdce34cd142b29eabad00927a9c473b05ecb.zip |
od: fix buglet in --traditional, microoptimization,
document coreutils bug
bloat-o-meter: account for objects in rodata too
Diffstat (limited to 'scripts')
-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 31364fe11..67b3d290d 100755 --- a/scripts/bloat-o-meter +++ b/scripts/bloat-o-meter | |||
@@ -17,7 +17,7 @@ def getsizes(file): | |||
17 | sym = {} | 17 | sym = {} |
18 | for l in os.popen("nm --size-sort " + file).readlines(): | 18 | for l in os.popen("nm --size-sort " + file).readlines(): |
19 | size, type, name = l[:-1].split() | 19 | size, type, name = l[:-1].split() |
20 | if type in "tTdDbB": | 20 | if type in "tTdDbBrR": |
21 | if "." in name: name = "static." + name.split(".")[0] | 21 | if "." in name: name = "static." + name.split(".")[0] |
22 | sym[name] = sym.get(name, 0) + int(size, 16) | 22 | sym[name] = sym.get(name, 0) + int(size, 16) |
23 | for l in os.popen("readelf -S " + file).readlines(): | 23 | for l in os.popen("readelf -S " + file).readlines(): |