public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Panu Matilainen <pmatilai@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/rpm] pmatilai-v6: - handle aarch64 debug_info relocations in debugedit (#974860)
Date: Mon, 23 Nov 2026 09:28:17 GMT [thread overview]
Message-ID: <179542609782.1.14140965721611119447.rpms-rpm-17960b66b234@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/rpm
Branch : pmatilai-v6
Commit : 17960b66b23480b17e903bab85b3e43c23fd9a46
Author : Panu Matilainen <pmatilai@redhat.com>
Date : 2013-06-17T10:12:11+03:00
Stats : +34/-1 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/rpm/c/17960b66b23480b17e903bab85b3e43c23fd9a46?branch=pmatilai-v6
Log:
- handle aarch64 debug_info relocations in debugedit (#974860)
---
diff --git a/rpm-4.11.x-aarch64-debugedit.patch b/rpm-4.11.x-aarch64-debugedit.patch
new file mode 100644
index 0000000..419e579
--- /dev/null
+++ b/rpm-4.11.x-aarch64-debugedit.patch
@@ -0,0 +1,27 @@
+commit 389d260ca41a277de49ca0154966d549945d8635
+Author: Kyle McMartin <kmcmarti@redhat.com>
+Date: Sun Jun 16 12:48:46 2013 -0400
+
+ debugedit: handle aarch64 debug_info relocations (RhBug:974860)
+
+ AArch64 generates a relocation which must be handled similar to other
+ architectures. Adding this patch allows debugedit to run against the
+ kernel debuginfo.
+
+ Signed-off-by: Panu Matilainen <pmatilai@redhat.com>
+
+diff --git a/tools/debugedit.c b/tools/debugedit.c
+index a658d5b..434bab0 100644
+--- a/tools/debugedit.c
++++ b/tools/debugedit.c
+@@ -1158,6 +1158,10 @@ edit_dwarf2 (DSO *dso)
+ if (rtype != R_ALPHA_REFLONG)
+ goto fail;
+ break;
++ case EM_AARCH64:
++ if (rtype != R_AARCH64_ABS32)
++ goto fail;
++ break;
+ default:
+ fail:
+ error (1, 0, "%s: Unhandled relocation %d in .debug_info section",
diff --git a/rpm.spec b/rpm.spec
index 2ece24f..e88c945 100644
--- a/rpm.spec
+++ b/rpm.spec
@@ -22,7 +22,7 @@
Summary: The RPM package management system
Name: rpm
Version: %{rpmver}
-Release: %{?snapver:0.%{snapver}.}3%{?dist}
+Release: %{?snapver:0.%{snapver}.}4%{?dist}
Group: System Environment/Base
Url: http://www.rpm.org/
Source0: http://rpm.org/releases/testing/%{name}-%{srcver}.tar.bz2
@@ -51,6 +51,8 @@ Patch6: rpm-4.9.0-armhfp-logic.patch
Patch100: rpm-4.11.x-filter-soname-deps.patch
# Fix regression on addressing main package by its name
Patch101: rpm-4.11.1-rc1-lookup-mainpkg.patch
+# handle aarch64 debug_info relocations
+Patch102: rpm-4.11.x-aarch64-debugedit.patch
# These are not yet upstream
Patch301: rpm-4.6.0-niagara.patch
@@ -231,6 +233,7 @@ packages on a system.
%patch100 -p1 -b .filter-soname-deps
%patch101 -p1 -b .lookup-mainpkg
+%patch102 -p1 -b .aarch64-debugedit
%patch301 -p1 -b .niagara
%patch302 -p1 -b .geode
@@ -464,6 +467,9 @@ exit 0
%doc COPYING doc/librpm/html/*
%changelog
+* Mon Jun 17 2013 Panu Matilainen <pmatilai@redhat.com> - 4.11.1-0.rc1.4
+- handle aarch64 debug_info relocations in debugedit (#974860)
+
* Tue Jun 11 2013 Panu Matilainen <pmatilai@redhat.com> - 4.11.1-0.rc1.3
- disable autoconf config.site processing in builds (#962837)
reply other threads:[~2026-11-23 9:28 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=179542609782.1.14140965721611119447.rpms-rpm-17960b66b234@fedoraproject.org \
--to=pmatilai@redhat.com \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox