busybox/procps
Denys Vlasenko e440b39416 *: stop using atexit in non-debug build: saves ~260 in bss with musl
"builtin" below is atexit's 32-element global array of functions to call.

function                                             old     new   delta
top_main                                             879     889     +10
launch_helper                                        185     193      +8
powertop_main                                       1555    1559      +4
sed_main                                             651     650      -1
slot                                                   4       -      -4
call                                                   4       -      -4
atexit                                                23       -     -23
kill_helper                                           31       -     -31
__funcs_on_exit                                      120       -    -120
__cxa_atexit                                         168       -    -168
builtin                                              260       -    -260
------------------------------------------------------------------------------
(add/remove: 0/8 grow/shrink: 3/1 up/down: 22/-611)          Total: -589 bytes
   text	   data	    bss	    dec	    hex	filename
 912364	    563	   6132	 919059	  e0613	busybox_old
 912035	    563	   5844	 918442	  e03aa	busybox_unstripped

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2017-08-16 17:45:32 +02:00
..
Config.src config: deindent all help texts 2017-07-21 09:50:55 +02:00
free.c free,stat: make NOEXEC 2017-08-07 18:18:09 +02:00
fuser.c getopt32: remove opt_complementary 2017-08-08 21:55:02 +02:00
iostat.c getopt32: remove opt_complementary 2017-08-08 21:55:02 +02:00
Kbuild.src kill: optimizations for single-applet build 2017-01-09 18:46:58 +01:00
kill.c new NOFORKs: pwdx,kill[all5],ttysize,realpath,readlink NOEXECs: date,resize 2017-08-03 19:03:32 +02:00
lsof.c config: deindent all help texts 2017-07-21 09:50:55 +02:00
mpstat.c nameif: make it NOEXEC 2017-08-06 14:15:24 +02:00
nmeter.c config: deindent all help texts 2017-07-21 09:50:55 +02:00
pgrep.c free,stat: make NOEXEC 2017-08-07 18:18:09 +02:00
pidof.c free,stat: make NOEXEC 2017-08-07 18:18:09 +02:00
pmap.c getopt32: remove opt_complementary 2017-08-08 21:55:02 +02:00
powertop.c *: stop using atexit in non-debug build: saves ~260 in bss with musl 2017-08-16 17:45:32 +02:00
ps.c ps: improve TIME column for large times: showing "14453:50" is not good 2017-08-10 15:02:16 +02:00
ps.posix
pstree.c getopt32: remove opt_complementary 2017-08-08 21:55:02 +02:00
pwdx.c getopt32: remove opt_complementary 2017-08-08 21:55:02 +02:00
smemcap.c config: deindent all help texts 2017-07-21 09:50:55 +02:00
sysctl.c sysctl: make it NOEXEC 2017-08-05 18:23:10 +02:00
top.c *: stop using atexit in non-debug build: saves ~260 in bss with musl 2017-08-16 17:45:32 +02:00
uptime.c users,w,who,uptime,renice: make NOEXEC 2017-08-07 16:47:34 +02:00
watch.c getopt32: remove opt_complementary 2017-08-08 21:55:02 +02:00