From e8d177f4d4e1c6bc41787ea1621e323ff4ad493e Mon Sep 17 00:00:00 2001
From: Woodrow Douglass <wdouglass@carnegierobotics.com>
Date: Mon, 22 Jul 2024 08:50:37 -0400
Subject: [PATCH] Move literals into text section for xtensa architecture
Signed-off-by: Woodrow Douglass <wdouglass@carnegierobotics.com>
---
Makefile.linux | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/Makefile.linux b/Makefile.linux
index b628cda4..e97c2b94 100644
a
|
b
|
USES_SONAME = yes |
52 | 52 | |
53 | 53 | # architectures |
54 | 54 | |
| 55 | ifeq ($(ARCH),xtensa) |
| 56 | C_COMPILER_OPTIONS += -mtext-section-literals |
| 57 | LINKER_OPTIONS += -mtext-section-literals |
| 58 | endif |
| 59 | |
55 | 60 | ifeq ($(ARCH),x32) |
56 | 61 | C_COMPILER_OPTIONS += -mx32 |
57 | 62 | LINKER_OPTIONS += -mx32 |