>From cb32e21b1a103779d8a0453281f3dbbb1671b0de Mon Sep 17 00:00:00 2001 From: Michael Shigorin Date: Thu, 9 May 2019 12:33:53 +0300 Subject: [PATCH] elfhacks: add e2k support Elbrus 2000 can actually run both 32- and 64-bit ABIs but given the large amounts of memory e2k hosts tend to come with e2k32 is less practical at the day. --- glinject/elfhacks.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/glinject/elfhacks.h b/glinject/elfhacks.h index 3c351e2..8cc9936 100644 --- a/glinject/elfhacks.h +++ b/glinject/elfhacks.h @@ -38,7 +38,7 @@ extern "C" { #define __PUBLIC __attribute__ ((visibility ("default"))) -#ifdef __x86_64__ +if defined (__x86_64__) || defined (__e2k__) # define __elf64 #endif #ifdef __i386__ -- 2.21.0