diff options
| author | Ulrich Drepper <[email protected]> | 2006-04-04 21:38:57 +0000 |
|---|---|---|
| committer | Ulrich Drepper <[email protected]> | 2006-04-04 21:38:57 +0000 |
| commit | 361df7da6dfecd817b27e62b91752ac316d7cdd4 (patch) | |
| tree | 865700eefabe0f8605d369aeecbd6b8137174f8e /fake-src/strip | |
| parent | ba718b11356bdb0caea95a49a06ddb61a843cd3e (diff) | |
propagate from branch 'com.redhat.elfutils.roland.pending' (head 4f8fc821345feef58624f0aa5b470d4827577d8c)
to branch 'com.redhat.elfutils' (head 76e26cb54695fd3b21ee8fb5be3036bd68200633)
Diffstat (limited to 'fake-src/strip')
| -rw-r--r-- | fake-src/strip | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/fake-src/strip b/fake-src/strip deleted file mode 100644 index 0d1e739d..00000000 --- a/fake-src/strip +++ /dev/null @@ -1,20 +0,0 @@ -#!/bin/bash -[ "$1" != "-f" -a "$2" != "-f" ] && exec strip "$@" -if [ "$1" = "-f" ]; then - opts= - debug="$2" - file="$3" - [ $# -ne 3 ] && exit 1 - file "$file" 2>/dev/null | grep -q relocatable && opts=-g -elif [ "$1" = "-g" ]; then - opts=-g - debug="$3" - file="$4" - [ $# -ne 4 ] && exit 1 -else - exit 1 -fi -set -e -objcopy --only-keep-debug "$file" "$debug" -strip $opts "$file" -objcopy --add-gnu-debuglink="$debug" "$file" |
