hush/coreutils
Denis Vlasenko d0a071a528 brctl: eliminate stray data object
brctl: use constant fd to reduce parameter passing
runsvdir: do not use data/bss
od: reuse bb_argv_dash
last: do not go into endless loop on read error
mount: make it not fail scripts/find_bad_common_bufsiz check
dc: add INIT_G() (no-op for dc, but we want uniform usage of "G trick")

function                                             old     new   delta
runsvdir_main                                       1646    1672     +26
set_pgrp                                               1       -      -1
exitsoon                                               1       -      -1
check                                                679     678      -1
svnum                                                  4       -      -4
svdir                                                  4       -      -4
sv                                                     4       -      -4
stamplog                                               4       -      -4
rploglen                                               4       -      -4
rplog                                                  4       -      -4
mount_main                                           995     988      -7
static.default_file_list                               8       -      -8
pfd                                                    8       -      -8
logpipe                                                8       -      -8
static.info                                           20       -     -20
brctl_main                                           767     739     -28
------------------------------------------------------------------------------
(add/remove: 0/12 grow/shrink: 1/3 up/down: 26/-106)          Total: -80 bytes
   text    data     bss     dec     hex filename
 793327     662    7412  801401   c3a79 busybox_old
 793329     641    7372  801342   c3a3e busybox_unstripped
2008-03-17 09:33:45 +00:00
..
libcoreutils *: add -Wunused-parameter; fix resulting breakage 2008-03-17 09:00:54 +00:00
basename.c add -fvisibility=hidden to CC flags, mark XXX_main functions 2007-10-11 10:05:36 +00:00
cal.c add -fvisibility=hidden to CC flags, mark XXX_main functions 2007-10-11 10:05:36 +00:00
cat.c *: shrink by using [f]open_or_warn_stdin where appropriate 2008-03-17 09:07:36 +00:00
catv.c *: shrink by using [f]open_or_warn_stdin where appropriate 2008-03-17 09:07:36 +00:00
chgrp.c add -fvisibility=hidden to CC flags, mark XXX_main functions 2007-10-11 10:05:36 +00:00
chmod.c *: add -Wunused-parameter; fix resulting breakage 2008-03-17 09:00:54 +00:00
chown.c *: add -Wunused-parameter; fix resulting breakage 2008-03-17 09:00:54 +00:00
chroot.c lpd: spool mode added by Vladimir 2008-02-25 20:30:24 +00:00
cksum.c *: shrink by using [f]open_or_warn_stdin where appropriate 2008-03-17 09:07:36 +00:00
comm.c *: add -Wunused-parameter; fix resulting breakage 2008-03-17 09:00:54 +00:00
Config.in *: mode tcp/udpsvd to networking, delete ipsvd/* 2008-03-17 09:13:22 +00:00
cp.c add -fvisibility=hidden to CC flags, mark XXX_main functions 2007-10-11 10:05:36 +00:00
cut.c *: shrink by using [f]open_or_warn_stdin where appropriate 2008-03-17 09:07:36 +00:00
date.c add -fvisibility=hidden to CC flags, mark XXX_main functions 2007-10-11 10:05:36 +00:00
dd.c libbb: introduse and use signal_[no_]SA_RESTART_empty_mask and sigaction_set 2008-03-12 23:19:35 +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 dos2unix: tiny shrink 2008-03-17 08:42:43 +00:00
du.c *: shrink: use Vladimir's "o+" specifier instead of xatou(opt_param) 2008-03-17 09:09:09 +00:00
echo.c *: add -Wunused-parameter; fix resulting breakage 2008-03-17 09:00:54 +00:00
env.c *: add -Wunused-parameter; fix resulting breakage 2008-03-17 09:00:54 +00:00
expand.c *: shrink by using [f]open_or_warn_stdin where appropriate 2008-03-17 09:07:36 +00:00
expr.c add -fvisibility=hidden to CC flags, mark XXX_main functions 2007-10-11 10:05:36 +00:00
false.c add -fvisibility=hidden to CC flags, mark XXX_main functions 2007-10-11 10:05:36 +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 add -fvisibility=hidden to CC flags, mark XXX_main functions 2007-10-11 10:05:36 +00:00
id.c *: add -Wunused-parameter; fix resulting breakage 2008-03-17 09:00:54 +00:00
install.c add -fvisibility=hidden to CC flags, mark XXX_main functions 2007-10-11 10:05:36 +00:00
Kbuild random s/short/int/ 2008-02-16 13:18:17 +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 add -fvisibility=hidden to CC flags, mark XXX_main functions 2007-10-11 10:05:36 +00:00
ls.c *: shrink: use Vladimir's "o+" specifier instead of xatou(opt_param) 2008-03-17 09:09:09 +00:00
md5_sha1_sum.c *: shrink by using [f]open_or_warn_stdin where appropriate 2008-03-17 09:07:36 +00:00
mkdir.c add -fvisibility=hidden to CC flags, mark XXX_main functions 2007-10-11 10:05:36 +00:00
mkfifo.c *: add -Wunused-parameter; fix resulting breakage 2008-03-17 09:00:54 +00:00
mknod.c *: add -Wunused-parameter; fix resulting breakage 2008-03-17 09:00:54 +00:00
mv.c - use standard-imposed constants some more 2007-11-16 12:39:16 +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 brctl: eliminate stray data object 2008-03-17 09:33:45 +00:00
od.c add -fvisibility=hidden to CC flags, mark XXX_main functions 2007-10-11 10:05:36 +00:00
printenv.c *: shrink: use Vladimir's "o+" specifier instead of xatou(opt_param) 2008-03-17 09:09:09 +00:00
printf.c add -fvisibility=hidden to CC flags, mark XXX_main functions 2007-10-11 10:05:36 +00:00
pwd.c *: add -Wunused-parameter; fix resulting breakage 2008-03-17 09:00:54 +00:00
readlink.c *: add -Wunused-parameter; fix resulting breakage 2008-03-17 09:00:54 +00:00
realpath.c *: shrink: use Vladimir's "o+" specifier instead of xatou(opt_param) 2008-03-17 09:09:09 +00:00
rm.c *: add -Wunused-parameter; fix resulting breakage 2008-03-17 09:00:54 +00:00
rmdir.c *: add -Wunused-parameter; fix resulting breakage 2008-03-17 09:00: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 *: shrink: use Vladimir's "o+" specifier instead of xatou(opt_param) 2008-03-17 09:09:09 +00:00
sort.c *: shrink by using [f]open_or_warn_stdin where appropriate 2008-03-17 09:07:36 +00:00
split.c *: shrink: use Vladimir's "o+" specifier instead of xatou(opt_param) 2008-03-17 09:09:09 +00:00
stat.c *: fix fallout from -Wunused-parameter 2008-03-17 09:04:04 +00:00
stty.c stty: fix mishandling of 'control' keywords (Ralf Friedl <Ralf.Friedl@online.de>) 2008-01-27 23:24:31 +00:00
sum.c *: shrink by using [f]open_or_warn_stdin where appropriate 2008-03-17 09:07:36 +00:00
sync.c *: add -Wunused-parameter; fix resulting breakage 2008-03-17 09:00:54 +00:00
tac.c *: shrink by using [f]open_or_warn_stdin where appropriate 2008-03-17 09:07:36 +00:00
tail.c *: shrink: use Vladimir's "o+" specifier instead of xatou(opt_param) 2008-03-17 09:09:09 +00:00
tee.c libbb: introduce bb_signals and bb_signals_recursive, 2008-02-16 22:58:56 +00:00
test.c *: add optimization barrier to all "G trick" locations 2008-02-27 18:41:59 +00:00
touch.c *: add -Wunused-parameter; fix resulting breakage 2008-03-17 09:00:54 +00:00
tr.c *: add -Wunused-parameter; fix resulting breakage 2008-03-17 09:00:54 +00:00
true.c *: add -Wunused-parameter; fix resulting breakage 2008-03-17 09:00:54 +00:00
tty.c *: add -Wunused-parameter; fix resulting breakage 2008-03-17 09:00:54 +00:00
uname.c add -fvisibility=hidden to CC flags, mark XXX_main functions 2007-10-11 10:05:36 +00:00
uniq.c *: add -Wunused-parameter; fix resulting breakage 2008-03-17 09:00:54 +00:00
usleep.c *: shrink: use Vladimir's "o+" specifier instead of xatou(opt_param) 2008-03-17 09:09:09 +00:00
uudecode.c *: shrink by using [f]open_or_warn_stdin where appropriate 2008-03-17 09:07:36 +00:00
uuencode.c add -fvisibility=hidden to CC flags, mark XXX_main functions 2007-10-11 10:05:36 +00:00
wc.c *: add -Wunused-parameter; fix resulting breakage 2008-03-17 09:00:54 +00:00
who.c *: add -Wunused-parameter; fix resulting breakage 2008-03-17 09:00:54 +00:00
whoami.c *: add -Wunused-parameter; fix resulting breakage 2008-03-17 09:00:54 +00:00
yes.c *: shrink by using [f]open_or_warn_stdin where appropriate 2008-03-17 09:07:36 +00:00