busybox/coreutils
Denis Vlasenko 9e3a540b1b cut: stop using static data. This alone removed ~70 bytes of code.
+ some optimizations

function                                             old     new   delta
nlists                                                 4       -      -4
cut_lists                                              4       -      -4
cut_main                                            1041     960     -81
2008-07-22 10:34:46 +00:00
..
libcoreutils *: add FAST_FUNC markers 2008-07-12 11:23:36 +00:00
basename.c more -Wall warning fixes from Cristian Ionescu-Idbohrn. 2008-05-13 02:27:31 +00:00
cal.c cal: remove lone static data variable. -4 bytes. coreutils 2008-07-22 10:10:13 +00:00
cat.c *: rename ATTRIBUTE_XXX to just XXX. 2008-07-05 09:18:54 +00:00
catv.c *: rename ATTRIBUTE_XXX to just XXX. 2008-07-05 09:18:54 +00:00
chgrp.c add -fvisibility=hidden to CC flags, mark XXX_main functions 2007-10-11 10:05:36 +00:00
chmod.c *: rename ATTRIBUTE_XXX to just XXX. 2008-07-05 09:18:54 +00:00
chown.c *: rename ATTRIBUTE_XXX to just XXX. 2008-07-05 09:18:54 +00:00
chroot.c lpd: spool mode added by Vladimir 2008-02-25 20:30:24 +00:00
cksum.c *: rename ATTRIBUTE_XXX to just XXX. 2008-07-05 09:18:54 +00:00
comm.c comm: almost total rewrite; add testsuite 2008-07-15 06:45:14 +00:00
Config.in sleep: make fractional seconds separately selectable in .config 2008-07-15 22:01:49 +00:00
cp.c cp: fix "cp -RL" to create regular files even if src is a symlink 2008-04-27 22:06:24 +00:00
cut.c cut: stop using static data. This alone removed ~70 bytes of code. 2008-07-22 10:34:46 +00:00
date.c *: rename ATTRIBUTE_XXX to just XXX. 2008-07-05 09:18:54 +00:00
dd.c *: rename ATTRIBUTE_XXX to just XXX. 2008-07-05 09:18:54 +00:00
df.c df: add -a 2007-11-15 09:02:12 +00:00
dirname.c add -fvisibility=hidden to CC flags, mark XXX_main functions 2007-10-11 10:05:36 +00:00
dos2unix.c libbb: [x]fopen_for_{read,write} introduced and used. 2008-07-21 23:05:26 +00:00
du.c *: rename ATTRIBUTE_XXX to just XXX. 2008-07-05 09:18:54 +00:00
echo.c *: rename ATTRIBUTE_XXX to just XXX. 2008-07-05 09:18:54 +00:00
env.c *: rename ATTRIBUTE_XXX to just XXX. 2008-07-05 09:18:54 +00:00
expand.c *: rename ATTRIBUTE_XXX to just XXX. 2008-07-05 09:18:54 +00:00
expr.c expr: fix comparisons 'a < b' where we were overflowing a-b 2008-04-02 20:24:09 +00:00
false.c *: rename ATTRIBUTE_XXX to just XXX. 2008-07-05 09:18:54 +00:00
fold.c *: shrink by using [f]open_or_warn_stdin where appropriate 2008-03-17 09:07:36 +00:00
head.c *: shrink by using [f]open_or_warn_stdin where appropriate 2008-03-17 09:07:36 +00:00
hostid.c *: rename ATTRIBUTE_XXX to just XXX. 2008-07-05 09:18:54 +00:00
id.c *: rename ATTRIBUTE_XXX to just XXX. 2008-07-05 09:18:54 +00:00
install.c - first pass to unify/cleanup uid handling (-236b) 2008-07-21 14:41:33 +00:00
Kbuild ash: optional printf builtin. +25 bytes if off, +35 if on. 2008-06-01 22:36:39 +00:00
length.c add -fvisibility=hidden to CC flags, mark XXX_main functions 2007-10-11 10:05:36 +00:00
ln.c add -fvisibility=hidden to CC flags, mark XXX_main functions 2007-10-11 10:05:36 +00:00
logname.c *: rename ATTRIBUTE_XXX to just XXX. 2008-07-05 09:18:54 +00:00
ls.c ls: fix a bug where we may use uninintialized variable 2008-07-15 05:21:47 +00:00
md5_sha1_sum.c *: rename ATTRIBUTE_XXX to just XXX. 2008-07-05 09:18:54 +00:00
mkdir.c patch: shrink by Pascal Bellard <pascal.bellard AT ads-lu.com> (-80 bytes) 2008-03-23 22:55:25 +00:00
mkfifo.c *: rename ATTRIBUTE_XXX to just XXX. 2008-07-05 09:18:54 +00:00
mknod.c *: add -Wunused-parameter; fix resulting breakage 2008-03-17 09:00:54 +00:00
mv.c mv: fix a case when we move dangling symlink 2008-07-12 11:22:19 +00:00
nice.c add -fvisibility=hidden to CC flags, mark XXX_main functions 2007-10-11 10:05:36 +00:00
nohup.c nohup: compat patch by Christoph Gysin <mailinglist.cache at gmail.com> 2008-02-04 00:30:06 +00:00
od_bloaty.c libbb: introduce and use xrealloc_vector 2008-07-08 05:14:36 +00:00
od.c libbb: get rid of statics in dump.c; code shrinks a lot too 2008-07-16 11:00:16 +00:00
printenv.c *: rename ATTRIBUTE_XXX to just XXX. 2008-07-05 09:18:54 +00:00
printf.c printf: do not print garbage on "%Ld". closes bug 4214. 2008-07-18 18:41:55 +00:00
pwd.c *: rename ATTRIBUTE_XXX to just XXX. 2008-07-05 09:18:54 +00:00
readlink.c *: rename ATTRIBUTE_XXX to just XXX. 2008-07-05 09:18:54 +00:00
realpath.c *: rename ATTRIBUTE_XXX to just XXX. 2008-07-05 09:18:54 +00:00
rm.c *: rename ATTRIBUTE_XXX to just XXX. 2008-07-05 09:18:54 +00:00
rmdir.c *: rename ATTRIBUTE_XXX to just XXX. 2008-07-05 09:18:54 +00:00
seq.c add -fvisibility=hidden to CC flags, mark XXX_main functions 2007-10-11 10:05:36 +00:00
sleep.c sleep: make fractional seconds separately selectable in .config 2008-07-15 22:01:49 +00:00
sort.c libbb: [x]fopen_for_{read,write} introduced and used. 2008-07-21 23:05:26 +00:00
split.c *: rename ATTRIBUTE_XXX to just XXX. 2008-07-05 09:18:54 +00:00
stat.c stat: pointers are not 0L, they are NULL 2008-06-27 22:31:07 +00:00
stty.c *: rename ATTRIBUTE_XXX to just XXX. 2008-07-05 09:18:54 +00:00
sum.c *: rename ATTRIBUTE_XXX to just XXX. 2008-07-05 09:18:54 +00:00
sync.c *: rename ATTRIBUTE_XXX to just XXX. 2008-07-05 09:18:54 +00:00
tac.c *: rename ATTRIBUTE_XXX to just XXX. 2008-07-05 09:18:54 +00:00
tail.c more -Wall warning fixes from Cristian Ionescu-Idbohrn. 2008-05-13 02:27:31 +00:00
tee.c tee: fix infinite looping on open error (echo asd | tee "") 2008-07-16 07:34:00 +00:00
test_ptr_hack.c add forgotten files. I am forgetting it all the time :( 2008-04-22 18:07:41 +00:00
test.c test: fix parser to prefer binop over unop, as coreutils does. 2008-07-19 08:15:13 +00:00
touch.c *: rename ATTRIBUTE_XXX to just XXX. 2008-07-05 09:18:54 +00:00
tr.c *: rename ATTRIBUTE_XXX to just XXX. 2008-07-05 09:18:54 +00:00
true.c *: rename ATTRIBUTE_XXX to just XXX. 2008-07-05 09:18:54 +00:00
tty.c *: rename ATTRIBUTE_XXX to just XXX. 2008-07-05 09:18:54 +00:00
uname.c *: rename ATTRIBUTE_XXX to just XXX. 2008-07-05 09:18:54 +00:00
uniq.c *: rename ATTRIBUTE_XXX to just XXX. 2008-07-05 09:18:54 +00:00
usleep.c *: rename ATTRIBUTE_XXX to just XXX. 2008-07-05 09:18:54 +00:00
uudecode.c libbb: [x]fopen_for_{read,write} introduced and used. 2008-07-21 23:05:26 +00:00
uuencode.c add -fvisibility=hidden to CC flags, mark XXX_main functions 2007-10-11 10:05:36 +00:00
wc.c *: rename ATTRIBUTE_XXX to just XXX. 2008-07-05 09:18:54 +00:00
who.c libbb: use improved xmalloc_read() from modprobe-small 2008-07-09 09:50:33 +00:00
whoami.c *: rename ATTRIBUTE_XXX to just XXX. 2008-07-05 09:18:54 +00:00
yes.c *: shrink by using [f]open_or_warn_stdin where appropriate 2008-03-17 09:07:36 +00:00