diff options
author | CoprDistGit <infra@openeuler.org> | 2024-11-02 04:26:47 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2024-11-02 04:26:47 +0000 |
commit | b3861b93f387dd8de816de4b9995d515932a3cfd (patch) | |
tree | eaf08f573c29ae1ff99cf12e3a58e0b5bbefb697 /find-debuginfo.sh-decompress-DWARF-compressed-ELF-se.patch | |
parent | c4966f79a5343e69dad8321f1a4d18034905378d (diff) |
automatic import of debugedit
Diffstat (limited to 'find-debuginfo.sh-decompress-DWARF-compressed-ELF-se.patch')
-rw-r--r-- | find-debuginfo.sh-decompress-DWARF-compressed-ELF-se.patch | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/find-debuginfo.sh-decompress-DWARF-compressed-ELF-se.patch b/find-debuginfo.sh-decompress-DWARF-compressed-ELF-se.patch new file mode 100644 index 0000000..23165e7 --- /dev/null +++ b/find-debuginfo.sh-decompress-DWARF-compressed-ELF-se.patch @@ -0,0 +1,29 @@ +From f2bc669cd0a080792522dd1bb7f50ef7025f16f0 Mon Sep 17 00:00:00 2001 +From: Mark Wielaard <mark@klomp.org> +Date: Sat, 21 Jul 2018 10:13:04 +0200 +Subject: [PATCH] find-debuginfo.sh: decompress DWARF compressed ELF sections + +debugedit and dwz do not support DWARF compressed ELF sections, let's +just decompress those before extracting debuginfo. + +Tested-by: Igor Gnatenko <i.gnatenko.brain@gmail.com> +--- + scripts/find-debuginfo.in | 3 +++ + 1 file changed, 3 insertions(+) + +diff --git a/scripts/find-debuginfo.in b/scripts/find-debuginfo.in +index 90a44942d..7b01bc036 100755 +--- a/scripts/find-debuginfo.in ++++ b/scripts/find-debuginfo.in +@@ -460,6 +460,9 @@ + get_debugfn "$f" + [ -f "${debugfn}" ] && return + ++ echo "explicitly decompress any DWARF compressed ELF sections in $f" ++ eu-elfcompress -q -p -t none "$f" ++ + $verbose && echo "extracting debug info from $f" + # See also cpio SOURCEFILE copy. Directories must match up. + debug_base_name="$RPM_BUILD_DIR" +-- +2.18.0 |