diff options
author | Moritz Angermann <moritz.angermann@gmail.com> | 2021-03-24 10:07:02 +0800 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2021-03-29 17:25:49 -0400 |
commit | dc6fa61c7e8ca54e4b9feb6d2db59c4b365de09d (patch) | |
tree | 87e80bf173a6e70b418564947f105c32244693b7 /rts/linker/SymbolExtras.h | |
parent | 026a53e0ae5d9bd436e59ed681ab51c9fc3563c0 (diff) | |
download | haskell-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.h | 5 |
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" |