[PATCH] elfhacks: add e2k support

Michael Shigorin mike на altlinux.org
Чт Май 9 12:33:53 MSK 2019


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


--Nq2Wo0NMKNjxTN9z--


Подробная информация о списке рассылки devel-ports