summaryrefslogtreecommitdiff
path: root/rts/linker/SymbolExtras.h
diff options
context:
space:
mode:
authorMoritz Angermann <moritz.angermann@gmail.com>2021-03-24 10:07:02 +0800
committerMarge Bot <ben+marge-bot@smart-cactus.org>2021-03-29 17:25:49 -0400
commitdc6fa61c7e8ca54e4b9feb6d2db59c4b365de09d (patch)
tree87e80bf173a6e70b418564947f105c32244693b7 /rts/linker/SymbolExtras.h
parent026a53e0ae5d9bd436e59ed681ab51c9fc3563c0 (diff)
downloadhaskell-dc6fa61c7e8ca54e4b9feb6d2db59c4b365de09d.tar.gz
[linker] SymbolExtras are only used on PPC and X86
Diffstat (limited to 'rts/linker/SymbolExtras.h')
-rw-r--r--rts/linker/SymbolExtras.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/rts/linker/SymbolExtras.h b/rts/linker/SymbolExtras.h
index 6c05020b7b..9573856f87 100644
--- a/rts/linker/SymbolExtras.h
+++ b/rts/linker/SymbolExtras.h
@@ -16,13 +16,12 @@ SymbolExtra* makeArmSymbolExtra( ObjectCode const* oc,
unsigned long target,
bool fromThumb,
bool toThumb );
-#else
+#elif defined(powerpc_HOST_ARCH) || defined(x86_64_HOST_ARCH)
SymbolExtra* makeSymbolExtra( ObjectCode const* oc,
unsigned long symbolNumber,
unsigned long target );
-#endif /* arm_HOST_ARCH */
-
+#endif /* powerpc_HOST_ARCH || x86_64_HOST_ARCH */
#endif /* NEED_SYMBOL_EXTRAS */
#include "EndPrivate.h"