From 71a49ad8ebbf8233a4e8278cdfc9f8c8ed4224a5 Mon Sep 17 00:00:00 2001
From: Jonathan Schleifer <js@webkeks.org>
Date: Sun, 12 Jan 2014 17:04:18 +0100
Subject: [PATCH 6/6] runtime_loader: Add __dso_handle.
The symbol is needed for global objects. Usually, GCC also requires
this, but for some reason, the linking error only occurs when using
Clang.
---
src/system/runtime_loader/runtime_loader.cpp | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/system/runtime_loader/runtime_loader.cpp b/src/system/runtime_loader/runtime_loader.cpp
index e3dc21f..5467b2a 100644
a
|
b
|
|
29 | 29 | |
30 | 30 | struct user_space_program_args *gProgramArgs; |
31 | 31 | void *__gCommPageAddress; |
| 32 | void *__dso_handle; |
32 | 33 | |
33 | 34 | |
34 | 35 | static const char * |