diff options
author | Reid Barton <rwbarton@gmail.com> | 2016-01-25 09:12:40 -0500 |
---|---|---|
committer | Reid Barton <rwbarton@gmail.com> | 2016-01-25 09:12:40 -0500 |
commit | 5c8233388983a5af9fda5f3395ad28f4e0392f98 (patch) | |
tree | 67a8d5b6919b61222b3aa04dad53c89b1fad2e2c /rts | |
parent | 3c060f36f6eb4d359f252168e2f97b573d017080 (diff) | |
download | haskell-5c8233388983a5af9fda5f3395ad28f4e0392f98.tar.gz |
Show error message for unknown symbol on Elf_Rel platforms
Summary: This is already the behavior on Elf_Rela platforms, and is helpful.
Reviewers: simonmar, austin, bgamari, erikd
Reviewed By: erikd
Subscribers: thomie
Differential Revision: https://phabricator.haskell.org/D1841
Diffstat (limited to 'rts')
-rw-r--r-- | rts/Linker.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/rts/Linker.c b/rts/Linker.c index 1c76a000ba..b9a1d34a85 100644 --- a/rts/Linker.c +++ b/rts/Linker.c @@ -5009,7 +5009,6 @@ do_Elf_Rel_relocations ( ObjectCode* oc, char* ehdrC, } else { symbol = strtab + sym.st_name; S_tmp = lookupSymbol_( symbol ); - if (S_tmp == NULL) return 0; S = (Elf_Addr)S_tmp; } if (!S) { |