summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorDenis Vlasenko2006-11-29 14:32:01 +0000
committerDenis Vlasenko2006-11-29 14:32:01 +0000
commit2425bdce34cd142b29eabad00927a9c473b05ecb (patch)
treea6ad29eb35cb296af12bbbac0a37c55ed23744cf /scripts
parent834410a5a56e7e7efac8b111bffd4c2362f5bc3f (diff)
downloadbusybox-2425bdce34cd142b29eabad00927a9c473b05ecb.zip
busybox-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')
-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 31364fe..67b3d29 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():