diff options
author | Artem Pyanykh <artempyanykh@gmail.com> | 2019-02-11 14:05:23 +0300 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2019-02-22 23:47:32 -0500 |
commit | e87ae4733adb7420d13e96c2423aa71f804a2c46 (patch) | |
tree | 1c5fbf8bc77448b58a8bda7ab7b11cc6b7a3dad6 /rts/Linker.c | |
parent | 4b752d52761be4795fd83698b3290df455f0c3ea (diff) | |
download | haskell-e87ae4733adb7420d13e96c2423aa71f804a2c46.tar.gz |
Drop support for i386 and PowerPC in MachO linker
Some code is broken, there are no CI targets (so not obvious how to
test), and no one seems to have built GHC for any of the above
platforms in years.
Diffstat (limited to 'rts/Linker.c')
-rw-r--r-- | rts/Linker.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/rts/Linker.c b/rts/Linker.c index b6f1de9be6..06b36ca88e 100644 --- a/rts/Linker.c +++ b/rts/Linker.c @@ -447,9 +447,7 @@ initLinker_ (int retain_cafs) } IF_DEBUG(linker, debugBelch("initLinker: inserting rts symbol %s, %p\n", sym->lbl, sym->addr)); } -# if defined(OBJFORMAT_MACHO) && defined(powerpc_HOST_ARCH) - machoInitSymbolsWithoutUnderscore(); -# endif + /* GCC defines a special symbol __dso_handle which is resolved to NULL if referenced from a statically linked module. We need to mimic this, but we cannot use NULL because we use it to mean nonexistent symbols. So we |