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:
Michael Hope 2018-03-26 20:32:05 +02:00 committed by Anas Nashif
commit 7383814d8b

View file

@ -12,7 +12,7 @@
#include <toolchain.h>
void *__dso_handle = 0;
__weak void *__dso_handle;
/**
* @brief Register destructor for a global object