diff options
author | CoprDistGit <infra@openeuler.org> | 2024-11-02 04:43:47 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2024-11-02 04:43:47 +0000 |
commit | fecf77bdbb0767893229721ae684bf256019d1cc (patch) | |
tree | 2d392bd6c9441c5c41db0f4e6a5f7b4e95ce940b | |
parent | 1469ff14fdc1bde4986cd0320840b902d792b0ea (diff) |
automatic import of debugeditopeneuler24.03_LTS
-rw-r--r-- | add-loongarch-support-for-debugedit.patch | 29 | ||||
-rw-r--r-- | debugedit.spec | 2 |
2 files changed, 0 insertions, 31 deletions
diff --git a/add-loongarch-support-for-debugedit.patch b/add-loongarch-support-for-debugedit.patch deleted file mode 100644 index 23e8a8d..0000000 --- a/add-loongarch-support-for-debugedit.patch +++ /dev/null @@ -1,29 +0,0 @@ -From 0862098a423f3324b5e8024f94e42ebcc1ec1697 Mon Sep 17 00:00:00 2001 -From: Wenlong Zhang <zhangwenlong@loongson.cn> -Date: Mon, 9 Jan 2023 18:40:28 +0800 -Subject: [PATCH] add loongarch support for debugedit - ---- - tools/debugedit.c | 6 ++++++ - 1 file changed, 6 insertions(+) - -diff --git a/tools/debugedit.c b/tools/debugedit.c -index 668777a..911e84e 100644 ---- a/tools/debugedit.c -+++ b/tools/debugedit.c -@@ -618,6 +618,12 @@ setup_relbuf (DSO *dso, debug_section *sec, int *reltype) - goto fail; - break; - #endif -+#if defined(EM_LOONGARCH) -+ case EM_LOONGARCH: -+ if (rtype != R_LARCH_32) -+ goto fail; -+ break; -+#endif - #if defined(EM_MCST_ELBRUS) && defined(R_E2K_32_ABS) - case EM_MCST_ELBRUS: - if (rtype != R_E2K_32_ABS) --- -2.33.0 - diff --git a/debugedit.spec b/debugedit.spec index 34e1eac..48517df 100644 --- a/debugedit.spec +++ b/debugedit.spec @@ -27,8 +27,6 @@ Requires: sed dwz grep Patch1: find-debuginfo.sh-decompress-DWARF-compressed-ELF-se.patch -Patch9000: add-loongarch-support-for-debugedit.patch - %description Debugedit provides programs and scripts for creating debuginfo and source file distributions, collect build-ids and rewrite source |