cpp: mark __dso_handle as weak.
The POSIX target uses the native crt0 which already provides __dso_handle. Signed-off-by: Michael Hope <mlhx@google.com>
This commit is contained in:
parent
5f67a6119d
commit
7383814d8b
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@
|
||||||
|
|
||||||
#include <toolchain.h>
|
#include <toolchain.h>
|
||||||
|
|
||||||
void *__dso_handle = 0;
|
__weak void *__dso_handle;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Register destructor for a global object
|
* @brief Register destructor for a global object
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue