~ chicken-core (master) 6012b3240179692c1a6d6dc6c4c667e68c41636b


commit 6012b3240179692c1a6d6dc6c4c667e68c41636b
Author:     Woodrow Douglass <wdouglass@carnegierobotics.com>
AuthorDate: Mon Jul 22 08:50:37 2024 -0400
Commit:     felix <felix@call-with-current-continuation.org>
CommitDate: Sat Jul 4 21:48:59 2026 +0200

    Move literals into text section for xtensa architecture
    
    Signed-off-by: Woodrow Douglass <wdouglass@carnegierobotics.com>
    Signed-off-by: felix <felix@call-with-current-continuation.org>

diff --git a/Makefile.linux b/Makefile.linux
index c5de9e8e..c344165f 100644
--- a/Makefile.linux
+++ b/Makefile.linux
@@ -52,6 +52,11 @@ USES_SONAME = yes
 
 # architectures
 
+ifeq ($(ARCH),xtensa)
+C_COMPILER_OPTIONS += -mtext-section-literals
+LINKER_OPTIONS += -mtext-section-literals
+endif
+
 ifeq ($(ARCH),x32)
 C_COMPILER_OPTIONS += -mx32
 LINKER_OPTIONS += -mx32
Trap