teknoraver / rpms / rpm

Forked from rpms/rpm 4 months ago
Clone

Blame rpm-4.4.2-debugedit-ppc-reloc.patch

Paul Nasrat 63e6a2
--- tools/debugedit.c	20 May 2004 21:30:00 -0000	2.8
Paul Nasrat 63e6a2
+++ tools/debugedit.c	19 Jul 2006 19:17:49 -0000
Paul Nasrat 63e6a2
@@ -1034,7 +1034,7 @@ edit_dwarf2 (DSO *dso)
Paul Nasrat 63e6a2
 		  break;
Paul Nasrat 63e6a2
 		case EM_PPC:
Paul Nasrat 63e6a2
 		case EM_PPC64:
Paul Nasrat 63e6a2
-		  if (rtype != R_PPC_ADDR32 || rtype != R_PPC_UADDR32)
Paul Nasrat 63e6a2
+		  if (rtype != R_PPC_ADDR32 && rtype != R_PPC_UADDR32)
Paul Nasrat 63e6a2
 		    goto fail;
Paul Nasrat 63e6a2
 		  break;
Paul Nasrat 63e6a2
 		case EM_S390: