summaryrefslogtreecommitdiff
path: root/scripts/trylink
diff options
context:
space:
mode:
authorDenis Vlasenko2007-07-21 13:25:28 +0000
committerDenis Vlasenko2007-07-21 13:25:28 +0000
commit557fb713e0f943ac9b87c9f3804ba24e73d55bb0 (patch)
treeeda14f3179f0bddf125c2b8e8549cd6e35fa7242 /scripts/trylink
parent1ec5eaecba0a0323f214825b83fabcc18a41884d (diff)
downloadbusybox-557fb713e0f943ac9b87c9f3804ba24e73d55bb0.zip
busybox-557fb713e0f943ac9b87c9f3804ba24e73d55bb0.tar.gz
chpasswd: fixes and code shrink
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
Diffstat (limited to 'scripts/trylink')
-rwxr-xr-xscripts/trylink2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/trylink b/scripts/trylink
index cbd7023..bfc67bf 100755
--- a/scripts/trylink
+++ b/scripts/trylink
@@ -22,6 +22,8 @@ try "-Wl,--start-group $l_list -Wl,--end-group" "$@" \
cat busybox_ld.err
exit 1
}
+# Hack: we are not supposed to know executable name,
+# but this hack cuts down link time
mv busybox_unstripped busybox_unstripped.tmp
# Now try to remove each lib and build without.