nealef commented on PR #2026:
URL: https://github.com/apache/nuttx-apps/pull/2026#issuecomment-2152933057
@tmedicci - @acassis tested with this patch and it worked:
```
diff --git a/arch/xtensa/src/lx6/Toolchain.defs
b/arch/xtensa/src/lx6/Toolchain.defs
index 1be4627c92..187a27a7cf 100644
--- a/arch/xtensa/src/lx6/Toolchain.defs
+++ b/arch/xtensa/src/lx6/Toolchain.defs
@@ -124,6 +124,8 @@ endif
LDFLAGS += -nostdlib
+SHMODULEFLAGS = -Bsymbolic -G -Bdynamic --entry=__start
+
# Optimization of unused sections
ifeq ($(CONFIG_DEBUG_OPT_UNUSED_SECTIONS),y)
diff --git a/arch/xtensa/src/lx7/Toolchain.defs
b/arch/xtensa/src/lx7/Toolchain.defs
index 710b19677d..d7d0b01f2d 100644
--- a/arch/xtensa/src/lx7/Toolchain.defs
+++ b/arch/xtensa/src/lx7/Toolchain.defs
@@ -128,6 +128,8 @@ endif
LDFLAGS += -nostdlib
+SHMODULEFLAGS = -Bsymbolic -G -Bdynamic --entry=__start
+
# Optimization of unused sections
ifeq ($(CONFIG_DEBUG_OPT_UNUSED_SECTIONS),y)
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]