From 3300bd484965e9a0ad133721f7b0c7efff1ee3d4 Mon Sep 17 00:00:00 2001 From: Miles Bader Date: Tue, 24 Jun 1997 21:14:10 +0000 Subject: Renamed to mksmallso.sh --- release/mksmallso | 25 ------------------------- 1 file changed, 25 deletions(-) delete mode 100644 release/mksmallso (limited to 'release') diff --git a/release/mksmallso b/release/mksmallso deleted file mode 100644 index a39a24db..00000000 --- a/release/mksmallso +++ /dev/null @@ -1,25 +0,0 @@ -# Usage: -# $1 : Destination merged, stripped, small shared library -# $2 : lib*_pic.a files from which to produce the final small library -# ${3:$} : executables and shared libraries whos dependencies we care about - -MERGED_SO="$1"; shift -PIC_LIBS="$1"; shift - -GCC=${GCC-i386-gnu-gcc} -LD=${LD-i386-gnu-ld} -OBJDUMP=${OBJDUMP-i386-gnu-objdump} -OBJCOPY=${OBJCOPY-i386-gnu-objcopy} - -DEP_FLAGS_FILE=/tmp/,depflags.$$ -MERGED_PIC_LIB=/tmp/,libmerged_pic.a.$$ - -#trap "rm -f $DEP_FLAGS_FILE $MERGED_PIC_LIB" 0 - -$OBJDUMP --dynamic-syms "$@" 2>/dev/null|sed -n 's/^.*\*UND\*.* \([^ ]*\)$/-u\1/p'|sort -u > $DEP_FLAGS_FILE - -$LD -o $MERGED_PIC_LIB `cat $DEP_FLAGS_FILE` -r $PIC_LIBS \ -&& $GCC -nostdlib -shared -Wl,-soname=`basename $MERGED_SO` \ - -o $MERGED_SO.uns $MERGED_PIC_LIB \ -&& $OBJCOPY --strip-debug $MERGED_SO.uns $MERGED_SO \ -&& rm -f $MERGED_SO.uns -- cgit v1.2.3