Jo-Philipp Wich
6da5c89178
scripts: extend rstrip.sh to remove bad rpaths
...
Remove all rpath entries which do not point to a location below /lib or
/usr/lib and which do not begin with '$ORIGIN'.
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44377 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-10 15:48:48 +00:00
Felix Fietkau
32a6974781
strip kernel modules more aggressively: make all global symbols local, rename all symbols in the symbol table to make them compress better
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30662 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-20 17:38:26 +00:00
Nicolas Thill
902e698c99
add a workaround to rstrip restoring exec perms when they got changed by sstrip
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15312 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-21 01:10:21 +00:00
Ralph Hempel
d499c25b04
strip relocatable binaries (not depending on the extension)
...
( thanks to Thomas )
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14726 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-02 17:33:02 +00:00
Felix Fietkau
a94d2be696
more fixes for rstrip.sh and kernel modules - fixes #1301
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6280 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-02-09 16:24:34 +00:00
Felix Fietkau
dd50b9fc36
always return true in rstrip.sh
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6132 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-01-20 01:17:28 +00:00
Felix Fietkau
4e7d3fe8d9
run rstrip in bash
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@5044 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-10-10 22:38:29 +00:00
Mike Baker
f9e5c1b1d5
credit where credit is due
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4091 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-06-27 00:35:46 +00:00
Felix Fietkau
6d33b87152
sstrip binaries that have been stripped by the regular strip before
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4047 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-06-22 00:07:36 +00:00
Felix Fietkau
272d1962e4
strip kernel modules automatically as well
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@3870 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-05-31 20:06:46 +00:00
Felix Fietkau
fcbf1847c9
don't try to strip kernel modules
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@3859 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-05-31 14:29:33 +00:00
Waldemar Brodkorb
b4312b447c
try to add with correct permissions
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@698 3c298f89-4303-0410-b956-a3cf2f4a3e73
2005-04-21 08:33:23 +00:00
Waldemar Brodkorb
34df535d2f
try to add with correct permissions later
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@697 3c298f89-4303-0410-b956-a3cf2f4a3e73
2005-04-21 08:32:28 +00:00
Nicolas Thill
385f79c341
Add an rscript shell script to recursively find strippable binaries and strip unstripped ones
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@660 3c298f89-4303-0410-b956-a3cf2f4a3e73
2005-04-18 06:12:00 +00:00