Commit Graph

9 Commits (1634461bd208f4bd108ea5c3d3f1cf9eb56d4a7e)

Author SHA1 Message Date
Yorkie Liu 8b2efc87db scripts: rstrip.sh: allow rpath with sole $ORIGIN token
2efe776 introduces rpath checks with the commit message:

> Remove all rpath entries which do not point to a location below /lib or
> /usr/lib and which do not begin with '$ORIGIN'.

However the implementation failed to support rpath entries with only the
'$ORIGIN' token and no trailing slash, so allow these as well.

Signed-off-by: Yorkie Liu <yazhong.liu@rokid.com>
[reword commit message]
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
5 years ago
Felix Fietkau b9b681c067 rstrip.sh: fix handling variations in "file" output
On some systems, file adds ", with debug info" after "not stripped"

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years ago
Jo-Philipp Wich 2efe776ab0 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>

SVN-Revision: 44377
9 years ago
Felix Fietkau c2590fe930 strip kernel modules more aggressively: make all global symbols local, rename all symbols in the symbol table to make them compress better
SVN-Revision: 30662
12 years ago
Nicolas Thill 54d622a815 add a workaround to rstrip restoring exec perms when they got changed by sstrip
SVN-Revision: 15312
15 years ago
Ralph Hempel 91042e02a7 strip relocatable binaries (not depending on the extension) ( thanks to Thomas )
SVN-Revision: 14726
15 years ago
Felix Fietkau d0e1033a26 more fixes for rstrip.sh and kernel modules - fixes #1301
SVN-Revision: 6280
17 years ago
Felix Fietkau f0d41ad105 always return true in rstrip.sh
SVN-Revision: 6132
18 years ago
Felix Fietkau 60c1f0f64d finally move buildroot-ng to trunk 8 years ago