aboutsummaryrefslogtreecommitdiff
path: root/scripts/bloat-o-meter
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2006-11-29 14:32:01 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2006-11-29 14:32:01 +0000
commit2425bdce34cd142b29eabad00927a9c473b05ecb (patch)
treea6ad29eb35cb296af12bbbac0a37c55ed23744cf /scripts/bloat-o-meter
parent834410a5a56e7e7efac8b111bffd4c2362f5bc3f (diff)
downloadbusybox-2425bdce34cd142b29eabad00927a9c473b05ecb.tar.gz
od: fix buglet in --traditional, microoptimization,
document coreutils bug bloat-o-meter: account for objects in rodata too
Diffstat (limited to 'scripts/bloat-o-meter')
-rwxr-xr-xscripts/bloat-o-meter2
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):
sym = {}
for l in os.popen("nm --size-sort " + file).readlines():
size, type, name = l[:-1].split()
- if type in "tTdDbB":
+ if type in "tTdDbBrR":
if "." in name: name = "static." + name.split(".")[0]
sym[name] = sym.get(name, 0) + int(size, 16)
for l in os.popen("readelf -S " + file).readlines():