From 5d5b6fae22f4bc7627009ea171534c115b5f5677 Mon Sep 17 00:00:00 2001 From: mahailiang Date: Wed, 30 Oct 2024 21:33:17 +0800 Subject: [PATCH] add sw_64 support --- tools/debugedit.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tools/debugedit.c b/tools/debugedit.c index 216e2fa..0067238 100644 --- a/tools/debugedit.c +++ b/tools/debugedit.c @@ -598,6 +598,10 @@ setup_relbuf (DSO *dso, debug_section *sec, int *reltype) if (rtype != R_X86_64_32) goto fail; break; + case EM_SW_64: + if (rtype != R_SW_64_REFLONG) + goto fail; + break; case EM_ALPHA: if (rtype != R_ALPHA_REFLONG) goto fail; -- 2.20.1