diff options
author | GHC GitLab CI <ghc-ci@gitlab-haskell.org> | 2020-11-27 17:28:38 +0000 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2020-11-30 19:48:53 -0500 |
commit | b6698d73fa9811795ca37ba0b704aa430c390345 (patch) | |
tree | 090c94eba119eeac84e714e7d3161343e5dd3a7d /rts/linker | |
parent | 6ac3db5fefbac6bea6c8fd0ac64daf036d9a8e60 (diff) | |
download | haskell-b6698d73fa9811795ca37ba0b704aa430c390345.tar.gz |
rts/linker: Don't declare dynamic objects with image_mapped
This previously resulted in warnings due to spurious unmap failures.
Diffstat (limited to 'rts/linker')
-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 bcf7556bc1..b70eab0916 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); |