summaryrefslogtreecommitdiff
path: root/docs/keep_data_small.txt
diff options
context:
space:
mode:
authorDenys Vlasenko2010-06-02 13:28:17 +0200
committerDenys Vlasenko2010-06-02 13:28:17 +0200
commitabb154ba02f9a9a98465cb1f816f974cca536392 (patch)
tree3cdce05089c40fc291c8d35aa10f366e5583c479 /docs/keep_data_small.txt
parentea8b252cb30c4b4463df43a5342af95931920f09 (diff)
downloadbusybox-abb154ba02f9a9a98465cb1f816f974cca536392.zip
busybox-abb154ba02f9a9a98465cb1f816f974cca536392.tar.gz
document how to find non-shared string dups
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'docs/keep_data_small.txt')
-rw-r--r--docs/keep_data_small.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/keep_data_small.txt b/docs/keep_data_small.txt
index 079bac3..01c0d3c 100644
--- a/docs/keep_data_small.txt
+++ b/docs/keep_data_small.txt
@@ -145,6 +145,11 @@ one of above methods is not worth the resulting code obfuscation.
If you have less than ~300 bytes of global data - don't bother.
+ Finding non-shared duplicated strings
+
+strings busybox | sort | uniq -c | sort -nr
+
+
gcc's data alignment problem
The following attribute added in vi.c: