diff options
author | Moritz Angermann <moritz.angermann@gmail.com> | 2020-10-27 10:52:25 +0800 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2020-11-06 03:46:44 -0500 |
commit | 2cb879092c0c946f5313216fc9ce4b93954c2f74 (patch) | |
tree | dfe782a367219dbf96172b451fa3cfa7c7c1388c /rts/Libdw.c | |
parent | c85f4928d4dbb2eb2cf906d08bfe7620d6f04ca5 (diff) | |
download | haskell-2cb879092c0c946f5313216fc9ce4b93954c2f74.tar.gz |
[AArch64] Aarch64 Always PIC
Diffstat (limited to 'rts/Libdw.c')
-rw-r--r-- | rts/Libdw.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/rts/Libdw.c b/rts/Libdw.c index d45d9d0e5d..9619479313 100644 --- a/rts/Libdw.c +++ b/rts/Libdw.c @@ -133,8 +133,9 @@ int libdwLookupLocation(LibdwSession *session, Location *frame, Dwfl_Module *mod = dwfl_addrmodule(session->dwfl, addr); if (mod == NULL) return 1; + void *object_file = &frame->object_file; dwfl_module_info(mod, NULL, NULL, NULL, NULL, NULL, - &frame->object_file, NULL); + object_file, NULL); // Find function name frame->function = dwfl_module_addrname(mod, addr); |