rpm/rpm-4.4.2-debugedit-ppc-reloc.patch
2006-07-19 19:56:10 +00:00

12 lines
356 B
Diff

--- 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: