summaryrefslogtreecommitdiffstats
path: root/linux-user/elfload.c
diff options
context:
space:
mode:
Diffstat (limited to 'linux-user/elfload.c')
-rw-r--r--linux-user/elfload.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/linux-user/elfload.c b/linux-user/elfload.c
index 8b17c0e..7be6e71 100644
--- a/linux-user/elfload.c
+++ b/linux-user/elfload.c
@@ -2001,9 +2001,13 @@ static void load_elf_image(const char *image_name, int image_fd,
info->brk = info->end_code;
}
+#if defined(CONFIG_LLVM)
+ load_symbols(ehdr, image_fd, load_bias);
+#else
if (qemu_log_enabled()) {
load_symbols(ehdr, image_fd, load_bias);
}
+#endif
close(image_fd);
return;
OpenPOWER on IntegriCloud