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.

Signed-off-by: Jérôme Duval <[email protected]>
This commit is contained in:
Jonathan Schleifer
2014-01-13 19:35:34 +01:00
committed by Jérôme Duval
parent e929cd2f8f
commit 9fc69d1b00
2 changed files with 1 additions and 2 deletions
@@ -21,8 +21,6 @@
# define TRACE(x) ;
#endif
void *__dso_handle;
status_t
arch_relocate_image(image_t *rootImage, image_t *image,
SymbolLookupCache* cache)
@@ -29,6 +29,7 @@
struct user_space_program_args *gProgramArgs;
void *__gCommPageAddress;
void *__dso_handle;
static const char *