RTS: Use ELF v1 convention on all powerpc64 systems
authorPeter Trommler <ptrommler@acm.org>
Fri, 28 Dec 2018 21:30:34 +0000 (22:30 +0100)
committerBen Gamari <ben@well-typed.com>
Thu, 17 Jan 2019 18:39:40 +0000 (13:39 -0500)
rts/StgCRun.c

index 3ce41a6..1b0a8f2 100644 (file)
@@ -719,7 +719,6 @@ StgRunIsImplementedInAssembler(void)
 
 #if defined(powerpc64_HOST_ARCH)
 
-#if defined(linux_HOST_OS)
 static void GNUC3_ATTRIBUTE(used)
 StgRunIsImplementedInAssembler(void)
 {
@@ -841,10 +840,6 @@ StgRunIsImplementedInAssembler(void)
         : : "i"(RESERVED_C_STACK_BYTES+304 /*stack frame size*/));
 }
 
-#else // linux_HOST_OS
-#error Only Linux support for power64 right now.
-#endif
-
 #endif
 
 #if defined(powerpc64le_HOST_ARCH)