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:
committed by
Jérôme Duval
parent
e929cd2f8f
commit
9fc69d1b00
@@ -21,8 +21,6 @@
|
|||||||
# define TRACE(x) ;
|
# define TRACE(x) ;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
void *__dso_handle;
|
|
||||||
|
|
||||||
status_t
|
status_t
|
||||||
arch_relocate_image(image_t *rootImage, image_t *image,
|
arch_relocate_image(image_t *rootImage, image_t *image,
|
||||||
SymbolLookupCache* cache)
|
SymbolLookupCache* cache)
|
||||||
|
|||||||
@@ -29,6 +29,7 @@
|
|||||||
|
|
||||||
struct user_space_program_args *gProgramArgs;
|
struct user_space_program_args *gProgramArgs;
|
||||||
void *__gCommPageAddress;
|
void *__gCommPageAddress;
|
||||||
|
void *__dso_handle;
|
||||||
|
|
||||||
|
|
||||||
static const char *
|
static const char *
|
||||||
|
|||||||
Reference in New Issue
Block a user