Blob Blame Raw
--- h/elf64_ppcle_reloc.h.orig	2014-10-23 15:29:00.000000000 -0600
+++ h/elf64_ppcle_reloc.h	2019-06-25 18:44:50.679703481 -0600
@@ -1,6 +1,21 @@
 #define ha(x_) ((((x_) >> 16) + (((x_) & 0x8000) ? 1 : 0)) & 0xffff)
 #define lo(x_) ((x_) & 0xffff)
+#ifndef R_PPC64_PLTSEQ
+#define R_PPC64_PLTSEQ 119
+#endif
+#ifndef R_PPC64_PLTCALL
+#define R_PPC64_PLTCALL 120
+#endif
 
+    case R_PPC64_PLT16_HA:
+      add_val(where,MASK(16),ha(s+a-p));
+      break;
+    case R_PPC64_PLT16_LO_DS:
+      add_val(where,MASK(16),ha(s+a-toc->st_value));
+      break;
+    case R_PPC64_PLTSEQ:
+    case R_PPC64_PLTCALL:
+      break;
     case R_PPC64_REL16_HA: 
       store_val(where,MASK(16),ha(s+a-p));
       break;