diff options
author | Dongkyun Son <dongkyun.s@samsung.com> | 2019-08-01 11:25:32 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@review.ap-northeast-2.compute.internal> | 2019-08-01 11:25:32 +0000 |
commit | 5db6932f5f64e12daef09e156d98d1d52cfc1068 (patch) | |
tree | 55e6305e6f896174088d7555aa34806fd43ccd40 | |
parent | 1234f9de1795dc35cbce6111c8ed477a00c05a74 (diff) | |
parent | b976b009e225d0f9856d76e6b48250de0d81b6f9 (diff) | |
download | rpm-accepted/tizen_5.5_base_mobile_hotfix.tar.gz rpm-accepted/tizen_5.5_base_mobile_hotfix.tar.bz2 rpm-accepted/tizen_5.5_base_mobile_hotfix.zip |
Merge "Fix binutils strip support" into tizen_basetizen_5.5.m2_releasesubmit/tizen_base/20190801.003618submit/tizen_5.5_base_wearable_hotfix/20201023.155602submit/tizen_5.5_base_mobile_hotfix/20201023.171502submit/tizen_5.5_base/20191030.000001accepted/tizen/base/20190805.091705accepted/tizen/5.5/base/wearable/hotfix/20201023.080232accepted/tizen/5.5/base/mobile/hotfix/20201023.083823accepted/tizen/5.5/base/20191030.084033tizen_5.5_tvtizen_5.5_base_wearable_hotfixtizen_5.5_base_mobile_hotfixtizen_5.5_baseaccepted/tizen_5.5_base_wearable_hotfixaccepted/tizen_5.5_base_mobile_hotfixaccepted/tizen_5.5_base
-rwxr-xr-x[-rw-r--r--] | scripts/find-debuginfo.sh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/scripts/find-debuginfo.sh b/scripts/find-debuginfo.sh index 97e052d94..e4fffe4b5 100644..100755 --- a/scripts/find-debuginfo.sh +++ b/scripts/find-debuginfo.sh @@ -139,8 +139,9 @@ strip_to_debug() if [ "$STRIP_DEFAULT_PACKAGE" != "binutils" ]; then eu-strip --remove-comment $g $strip_option -f "$1" "$2" || exit else - mv $2 $1 - strip --remove-section=.comment $g $strip_option -o "$2" "$1" || exit + cp "$2" "$1" + strip --remove-section=.comment $g $strip_option "$2" || exit + objcopy --add-gnu-debuglink="$1" "$2" || exit fi esac chmod 444 "$1" || exit |