File eppic-support-arm64.patch of Package eppic
From: Luc Chouinard <lchouinard@lchouinard-desktop.englab.juniper.net>
Date: Thu Jun 19 12:28:40 2014 -0700
Subject: Support for ARM64
References: FATE#320844
Patch-mainline: yes
Git-commit: 5391d3dd0e6710c22ec5801f99a6788a2e4b132a
Acked-by: Petr Tesarik <ptesarik@suse.com>
diff --git a/applications/crash/eppic.c b/applications/crash/eppic.c
index 5236ed9..66f7cd5 100644
--- a/applications/crash/eppic.c
+++ b/applications/crash/eppic.c
@@ -1035,6 +1035,9 @@ _init() /* Register the command set. */
#ifdef PPC64
#define EPPIC_ABI ABI_PPC64
#else
+#ifdef ARM64
+#define EPPIC_ABI ABI_ARM64
+#else
#error eppic: Unkown ABI
#endif
#endif
@@ -1042,6 +1045,7 @@ _init() /* Register the command set. */
#endif
#endif
#endif
+#endif
eppic_apiset(&icops, EPPIC_ABI, sizeof(long), 0);
eppic_version();
diff --git a/libeppic/eppic_api.h b/libeppic/eppic_api.h
index ea9d7d4..e41d056 100644
--- a/libeppic/eppic_api.h
+++ b/libeppic/eppic_api.h
@@ -29,6 +29,7 @@
#define ABI_S390 4
#define ABI_S390X 5
#define ABI_PPC64 6
+#define ABI_ARM64 7
/* types of variables */
#define V_BASE 1