diff options
author | GHC GitLab CI <ghc-ci@gitlab-haskell.org> | 2020-11-27 17:28:38 +0000 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2020-11-29 09:52:59 -0500 |
commit | bf27265901c7a8ff2facbdcd3a1710905576d88e (patch) | |
tree | 85dbf57ced89a838ae1442dd7928ebd2cdad1b31 | |
parent | 39e08bb548805d56995fc251c7a9dab93b18c2a7 (diff) | |
download | haskell-wip/unloading-fixes.tar.gz |
rts/linker: Don't declare dynamic objects with image_mappedwip/unloading-fixes
This previously resulted in warnings due to spurious unmap failures.
-rw-r--r-- | rts/linker/Elf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rts/linker/Elf.c b/rts/linker/Elf.c index 7e5a3ef7f9..6580a794de 100644 --- a/rts/linker/Elf.c +++ b/rts/linker/Elf.c @@ -2053,7 +2053,7 @@ void * loadNativeObj_ELF (pathchar *path, char **errmsg) goto dlopen_fail; } - nc = mkOc(DYNAMIC_OBJECT, path, NULL, 0, true, NULL, 0); + nc = mkOc(DYNAMIC_OBJECT, path, NULL, 0, false, NULL, 0); foreignExportsLoadingObject(nc); hdl = dlopen(path, RTLD_NOW|RTLD_LOCAL); |