aboutsummaryrefslogtreecommitdiff
path: root/scripts
AgeCommit message (Collapse)Author
2007-12-02attack the biggest stack users:Denis Vlasenko
-mkfs_minix_main [busybox_unstripped]: 4288 -mkfs_minix_main [busybox_unstripped]: 4276 -grave [busybox_unstripped]: 4260 (bzip2 users too - not listed) price we pay in code size increase: mainSort 2458 2515 +57 grave 1005 1058 +53 sendMTFValues 2177 2195 +18 BZ2_blockSort 122 125 +3 mkfs_minix_main 3070 3022 -48 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 4/1 up/down: 131/-48) Total: 83 bytes
2007-11-23update defconfigDenis Vlasenko
2007-11-18make output a little more friendlyMike Frysinger
2007-11-18merge from upstream for systems that dont integrate libintl into their C ↵Mike Frysinger
library: commit aa1e5ef5c1d95e7ebf0821d9ba27debe43a87a22 Author: Sam Ravnborg <sam@ravnborg.org> Date: Sun Aug 12 23:15:44 2007 +0200 kbuild: check if we can link gettext not just compile cygwin provides the header file but the lib file needs to be added manually. A generic fix is to check if we can compile and link a program that uses gettext() and if it fails fall back to NO_NLS. International users of cygwin may have to specify HOST_LOADLIBES := "-lintl" on the make command line. Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
2007-11-13trylink: accomodate older versions of ldDenis Vlasenko
2007-10-11fix a problem with two different applet_name'sDenis Vlasenko
2007-10-11add -fvisibility=hidden to CC flags, mark XXX_main functionsDenis Vlasenko
EXTERNALLY_VISIBLE. 5% size reduction of libbusybox.so
2007-10-10Move applets/applet.c into libbb, allows to get rid of --whole-archiveDenis Vlasenko
(smaller code). Tested in static and shared mode.
2007-10-10trylink: s/strip/$STRIP/gDenis Vlasenko
2007-10-09trylink: trivial cleanupDenis Vlasenko
2007-10-09trylink: reformat link flags for readabilityDenis Vlasenko
trylink: add --sort-section alignment: text data bss dec hex filename - 6557 428 3260 10245 2805 busybox + 6555 428 3260 10243 2803 busybox - 909621 1076 12108 922805 e14b5 libbusybox.so.1.8.0.svn + 908868 1050 12016 921934 e114e libbusybox.so.1.8.0.svn
2007-10-09trylink: remove useless redirects, add missing error checksDenis Vlasenko
2007-10-09trylink: trivial fixesDenis Vlasenko
2007-10-08make "individual applets" build less noisy.Denis Vlasenko
add *.tmp to list of files deleted by make mrproper.
2007-10-07make --help work for "individual applets" too.Denis Vlasenko
2007-10-07libbusybox: move (possibly compressed) help stuff into libbusybox.Denis Vlasenko
Makes individual binaries much smaller.
2007-10-07reviving libbusybox, adding CONFIG_INDIVIDUAL part 4Denis Vlasenko
2007-10-07reviving libbusybox, adding CONFIG_INDIVIDUAL part 3Denis Vlasenko
2007-10-07reviving libbusybox, adding CONFIG_INDIVIDUAL part 2Denis Vlasenko
2007-10-07reviving libbusybox, adding CONFIG_INDIVIDUAL part 1Denis Vlasenko
2007-09-27make variables staticDenis Vlasenko
2007-09-26check-lxdialog.sh: no point in giving up, maybe -lcurses will work?Denis Vlasenko
2007-09-22- add microcom to defconfigBernhard Reutner-Fischer
2007-09-03trylink: reinstate accidentally deleted --verboseDenis Vlasenko
trylink: remove commented-out parts
2007-09-02- Generally strip off -l that does not pull in a lib.Bernhard Reutner-Fischer
If l_list is non-empty then add the group flags.
2007-09-02- fix bug where we linked again -lm even though it is not needed.Bernhard Reutner-Fischer
For BBOX_LIB_LIST="crypt m" trylink ... with just applet true, we pulled in libm because in this case we tried to use invalid flags (plain "-l" without a lib) which of course failed, thus the script thought that -lm was needed. The fix is not to pass "-l" without a lib if we are about to check if any or the last remaining lib is really needed.
2007-08-24Update defconfig; fix commentsDenis Vlasenko
2007-08-23build system: stop moaning about unset integer CONFIGs.Denis Vlasenko
2007-08-21s/communal/common/ part 2Denis Vlasenko
2007-08-21s/communal/common/Denis Vlasenko
2007-08-14httpd: extend -p PORT to -p [IP[v6]:]PORTDenis Vlasenko
httpd: comment out strange code which "closes connection properly" (isnt exit(0) good enough?) handle_incoming_and_exit - 2246 +2246 httpd_main 1116 1141 +25 getLine 75 77 +2 packed_usage 22827 22811 -16 parse_conf 1303 1284 -19 shutdown 32 - -32 handleIncoming 2578 - -2578 ------------------------------------------------------------------------------ (add/remove: 1/2 grow/shrink: 2/2 up/down: 2273/-2645) Total: -372 bytes text data bss dec hex filename 774704 1058 11092 786854 c01a6 busybox_old 774335 1058 11092 786485 c0035 busybox_unstripped
2007-08-14trylink: automatically use custom link script if user provides oneDenis Vlasenko
vinfo_msg: one user (info_msg), incorporate in it *: style fixes
2007-08-13expand, unexpand: new applets from Tito <farmatito@tiscali.it>Denis Vlasenko
2007-08-12trylink: produce even more info about final link stageDenis Vlasenko
trylink: explain how to modify link and drastically decrease amount of padding (unfortunately, needs hand editing ATM). *: add ALIGN1 / ALIGN2 to global strings and arrays of bytes and shorts size saving: 0.5k
2007-08-06patch: fix -p -1 handlingDenis Vlasenko
checkstack.pl: add blackfin (by Alex Landau <landau_alex@yahoo.com>)
2007-08-06trylink: s/&& exit 1/|| exit 1/ (spotted by Alex Landau <landau_alex@yahoo.com>)Denis Vlasenko
2007-08-06sed: fix 'q' command handling ("Nguyen Thai Ngoc Duy" <pclouds@gmail.com>)Denis Vlasenko
add testsuite entry for it. Fix applet order checker. Fix cmp yelling. trylink: fix error file and map file generation applets: fix applet order
2007-07-21chpasswd: fixes and code shrinkDenis Vlasenko
update_passwd 732 734 +2 chpasswd_main 318 292 -26 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 1/1 up/down: 2/-26) Total: -24 bytes text data bss dec hex filename 781564 1168 11900 794632 c2008 busybox_old 781548 1168 11900 794616 c1ff8 busybox_unstripped
2007-07-20chpasswd: new applet by Alexander Shishkin <virtuoso@slind.org>Denis Vlasenko
2007-07-19ifup/ifdown: make location of ifstate configurableDenis Vlasenko
2007-07-17Modify method of linking against libs. Now we fisrt try allDenis Vlasenko
specified libs, and if it succeeds, we try to remove them one-by-one. If link succeeds, then library is thrown out. Should solve the problem with SELinux linking in libsepol even when not needed.
2007-07-14xioctl and friends by Tito <farmatito@tiscali.it>Denis Vlasenko
function old new delta do_iptunnel 203 977 +774 process_dev 5328 5494 +166 ioctl_or_perror - 54 +54 ioctl_or_perror_and_die - 51 +51 ioctl_alt_func - 49 +49 bb_ioctl_or_warn - 47 +47 do_add_ioctl 102 145 +43 bb_xioctl - 39 +39 print_value_on_off - 31 +31 get_lcm 105 123 +18 arp_main 2155 2167 +12 .................. zcip_main 1576 1566 -10 setlogcons_main 92 82 -10 dumpkmap_main 263 253 -10 do_get_ioctl 85 75 -10 setkeycodes_main 165 154 -11 write_table 244 232 -12 vconfig_main 318 306 -12 do_del_ioctl 93 81 -12 set_address 75 62 -13 maybe_set_utc 30 16 -14 loadfont_main 495 479 -16 slattach_main 712 695 -17 do_loadfont 191 174 -17 do_iplink 1155 1136 -19 getty_main 2583 2562 -21 fbset_main 2058 2035 -23 do_time 588 565 -23 xioctl 25 - -25 read_rtc 186 160 -26 parse_conf 1299 1270 -29 udhcp_read_interface 269 239 -30 bb_ioctl 45 - -45 bb_ioctl_alt 70 - -70 bb_ioctl_on_off 78 - -78 .rodata 129370 129018 -352 do_show 799 - -799 ------------------------------------------------------------------------------ (add/remove: 6/5 grow/shrink: 13/49 up/down: 1316/-1864) Total: -548 bytes text data bss dec hex filename 675352 2740 13968 692060 a8f5c busybox_old 674804 2740 13968 691512 a8d38 busybox_unstripped
2007-06-25- need to pass the PATH down to the gcc-version check to be able to find the ↵Bernhard Reutner-Fischer
correct cc. Fixes make PATH="$CROSS_BIN:$PATH" CROSS_COMPILE=foo- like invocations that previously failed to resolve since the information about the path set by the user was lost.
2007-06-22- handy to have the cross_compile block here, tooBernhard Reutner-Fischer
2007-06-21build system: remove kernel .config locations (spotted by walter harms ↵Denis Vlasenko
<wharms@bfs.de>)
2007-06-19defconfig: updateDenis Vlasenko
2007-06-10add script which measures stack consumption.Denis Vlasenko
Current top users: 0x08052f52 uncompress []: 393312 0x080c8a58 input_tab []: 82104 0x08092d5b ifaddrlist []: 32828 0x08056163 loadfont_main []: 32796 0x0806e508 colon []: 16532 0x08056095 do_loadfont []: 16400 0x0806da70 place_cursor []: 16388 0x080792e8 login_main []: 9176 393 kb of stack??? OMG...
2007-06-07- update defconfigBernhard Reutner-Fischer
2007-06-04Audit bb_common_bufsiz usage, add script which looks for misuse.Denis Vlasenko
tr: stop using globals needlessly. code: -103 bytes
2007-06-03find_stray_communal_vars: script which finds communal variablesDenis Vlasenko
resize: remove globals var mdev: remove globals var