From a84f11976d80c6f9338a48f16f3bcfc3acfb1408 Mon Sep 17 00:00:00 2001 From: Alberto Escolar Piedras Date: Mon, 21 Oct 2024 13:42:20 +0200 Subject: [PATCH] [nrf fromtree] native_simulator: Get latest from upstream Align with native_simulator's upstream main 51b27b67addd0073dc86e3d83f492c5cac5c3361 Which includes: * 51b27b nsi_utils: Add macro for weak declarations Signed-off-by: Alberto Escolar Piedras (cherry picked from commit 6ffbb8c72878c3f3f605f13455b28e23d8d36de0) --- scripts/native_simulator/common/src/include/nsi_utils.h | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/native_simulator/common/src/include/nsi_utils.h b/scripts/native_simulator/common/src/include/nsi_utils.h index 997eac30005..43d171a8e89 100644 --- a/scripts/native_simulator/common/src/include/nsi_utils.h +++ b/scripts/native_simulator/common/src/include/nsi_utils.h @@ -28,6 +28,7 @@ #define NSI_CODE_UNREACHABLE __builtin_unreachable() #define NSI_FUNC_NORETURN __attribute__((__noreturn__)) +#define NSI_WEAK __attribute__((__weak__)) #if defined(__clang__) /* The address sanitizer in llvm adds padding (redzones) after data