From b00904b092ce478f7cfec71299db8a910a5a383a Mon Sep 17 00:00:00 2001 From: YAMAMOTO Takashi Date: Thu, 22 Aug 2024 13:35:25 +0900 Subject: [PATCH] Add a comment on AOT_SECTION_TYPE_SIGNATURE (#3746) cf. https://github.com/bytecodealliance/wasm-micro-runtime/issues/3744 --- core/iwasm/aot/aot_runtime.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/core/iwasm/aot/aot_runtime.h b/core/iwasm/aot/aot_runtime.h index 0eb64798..76c78451 100644 --- a/core/iwasm/aot/aot_runtime.h +++ b/core/iwasm/aot/aot_runtime.h @@ -39,6 +39,10 @@ typedef enum AOTSectionType { AOT_SECTION_TYPE_FUNCTION = 3, AOT_SECTION_TYPE_EXPORT = 4, AOT_SECTION_TYPE_RELOCATION = 5, + /* + * Note: We haven't had anything to use AOT_SECTION_TYPE_SIGNATURE. + * It's just reserved for possible module signing features. + */ AOT_SECTION_TYPE_SIGNATURE = 6, AOT_SECTION_TYPE_CUSTOM = 100, } AOTSectionType;