diff mbox series

[v3,1/9] MIPS: asm: Move strings to .rodata.str section

Message ID 20240502-mips_debug_ll-v3-1-3b61f30e484c@flygoat.com (mailing list archive)
State New
Headers show
Series MIPS: Unify low-level debugging functionalities | expand

Commit Message

Jiaxun Yang May 2, 2024, 9:59 a.m. UTC
Well, they are read only.

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
---
v3: Fix an indentation error (philmd)
---
 arch/mips/include/asm/asm.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/arch/mips/include/asm/asm.h b/arch/mips/include/asm/asm.h
index 2e99450f4228..0c87a7de2a7d 100644
--- a/arch/mips/include/asm/asm.h
+++ b/arch/mips/include/asm/asm.h
@@ -94,7 +94,7 @@  symbol:		.insn
 symbol		=	value
 
 #define TEXT(msg)					\
-		.pushsection .data;			\
+		.pushsection .rodata.str;		\
 8:		.asciiz msg;				\
 		.popsection;