]> git.pld-linux.org Git - packages/rpm.git/commitdiff
- use objcopy to extract debug info.
authorPaweł Sikora <pluto@pld-linux.org>
Sat, 2 Sep 2006 18:09:38 +0000 (18:09 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- use .gnu_debuglink section.

Changed files:
    rpm-debuginfo.patch -> 1.15

rpm-debuginfo.patch

index 656536370ef2976414196e3dfd186a64e6e5753f..402a3ede20095b44eab75cf25f16fbf9c472c01b 100644 (file)
@@ -54,8 +54,8 @@ diff -ur rpm-4.4.6.org/scripts/find-debuginfo.sh rpm-4.4.6/scripts/find-debuginf
  strip_to_debug()
  {
 -  eu-strip --remove-comment -f "$1" "$2" || :
-+  eu-strip --remove-comment -f "$1" -o "${2}.tmp" "$2" || :
-+  rm -f "${2}.tmp"
++  objcopy --only-keep-debug --remove-section .comment "$2" "$1"
++  objcopy --add-gnu-debuglink="$1" "$2"
  }
  
  # Strip ELF binaries
This page took 0.041027 seconds and 4 git commands to generate.