plugins: plugin_bss_start[] and plugin_end_addr[] are only for NATIVE builds

Change-Id: I5a856cd89126c3aa8f718536a8ddadfae80bb15a
This commit is contained in:
Solomon Peachy 2025-08-27 13:57:44 -04:00
parent a7a21bd311
commit b21c477819

View file

@ -32,8 +32,10 @@ PLUGIN_HEADER
#define EXIT_MAGIC 0x0CDEBABE
extern enum plugin_status plugin_start(const void*);
#if (CONFIG_PLATFORM & PLATFORM_NATIVE)
extern unsigned char plugin_bss_start[];
extern unsigned char plugin_end_addr[];
#endif
static jmp_buf __exit_env;
/* only 1 atexit handler for now, chain in the exit handler if you need more */