public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Paul Nasrat <pnasrat@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/rpm] pmatilai-v6: Fix debugedit for ppc relocations (#199473)
Date: Mon, 23 Nov 2026 09:23:48 GMT	[thread overview]
Message-ID: <179542582844.1.17006372564061057312.rpms-rpm-63e6a294071c@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/rpm
Branch : pmatilai-v6
Commit : 63e6a294071ce68b1c8ec10554d64d1892faf4a8
Author : Paul Nasrat <pnasrat@fedoraproject.org>
Date   : 2006-07-19T19:56:10+00:00
Stats  : +17/-1 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/rpm/c/63e6a294071ce68b1c8ec10554d64d1892faf4a8?branch=pmatilai-v6

Log:
Fix debugedit for ppc relocations (#199473)

---
diff --git a/rpm-4.4.2-debugedit-ppc-reloc.patch b/rpm-4.4.2-debugedit-ppc-reloc.patch
new file mode 100644
index 0000000..05c9d0b
--- /dev/null
+++ b/rpm-4.4.2-debugedit-ppc-reloc.patch
@@ -0,0 +1,11 @@
+--- tools/debugedit.c	20 May 2004 21:30:00 -0000	2.8
++++ tools/debugedit.c	19 Jul 2006 19:17:49 -0000
+@@ -1034,7 +1034,7 @@ edit_dwarf2 (DSO *dso)
+ 		  break;
+ 		case EM_PPC:
+ 		case EM_PPC64:
+-		  if (rtype != R_PPC_ADDR32 || rtype != R_PPC_UADDR32)
++		  if (rtype != R_PPC_ADDR32 && rtype != R_PPC_UADDR32)
+ 		    goto fail;
+ 		  break;
+ 		case EM_S390:

diff --git a/rpm.spec b/rpm.spec
index f9ee3ba..c44f6d6 100644
--- a/rpm.spec
+++ b/rpm.spec
@@ -20,7 +20,7 @@ Name: rpm
 %define version 4.4.2
 Version: %{version}
 %{expand: %%define rpm_version %{version}}
-Release: 29
+Release: 30
 Group: System Environment/Base
 Source: ftp://wraptastic.org/pub/rpm-4.4.x/rpm-%{rpm_version}.tar.gz
 Source1: mono-find-provides
@@ -56,6 +56,7 @@ Patch27: rpm-4.4.2-noselinux-verify.patch
 Patch28: rpm-4.4.2-python-aslist.patch
 Patch29: rpm-4.4.2-rpmio-ipv6.patch
 Patch30: rpm-4.4.2-gnuhash.patch
+Patch31: rpm-4.4.2-debugedit-ppc-reloc.patch
 License: GPL
 Conflicts: patch < 2.5
 %ifos linux
@@ -199,6 +200,7 @@ shell-like rules.
 %patch28 -p1 -b .aslist
 %patch29 -p1 -b .ipv6
 %patch30 -p1 -b .gnuhash
+%patch31 -p0 -b .dbgppc
 
 # rebuild configure for ipv6
 autoconf
@@ -595,6 +597,9 @@ exit 0
 %{__includedir}/popt.h
 
 %changelog
+* Wed Jul 19 2006 Paul Nasrat <pnasrat@redhat.com> - 4.4.2-30
+- Fix debugedit for ppc relocations (#199473)
+
 * Fri Jul 14 2006 David Cantrell <dcantrell@redhat.com> - 4.4.2-29
 - Fixed null pointer problem in rpmfcELF() DT_GNU_HASH handling
 

                 reply	other threads:[~2026-11-23  9:23 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=179542582844.1.17006372564061057312.rpms-rpm-63e6a294071c@fedoraproject.org \
    --to=pnasrat@fedoraproject.org \
    --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