From: Denys Vlasenko Date: Wed, 2 Jun 2010 11:28:17 +0000 (+0200) Subject: document how to find non-shared string dups X-Git-Tag: 1_17_0~128 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=abb154ba02f9a9a98465cb1f816f974cca536392;p=oweals%2Fbusybox.git document how to find non-shared string dups Signed-off-by: Denys Vlasenko --- diff --git a/docs/keep_data_small.txt b/docs/keep_data_small.txt index 079bac3a6..01c0d3c7b 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: