From 4c9e41b060e6fc1880912b56c0bed7bc180477ff Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Fri, 1 Aug 2025 10:37:53 -0500 Subject: [PATCH] cpukit/sapi/src/exinit.c: Address warning on all ARM builds The block of embedded assembly language which creates a section to add auto-loading of the Python pretty printing scripts was getting this warning on all ARM BSPs. /tmp/ccMGaqij.s: Assembler messages: /tmp/ccMGaqij.s:19: missing merge / string entity size, 1 assumed This was because the @ symbol is a comment on ARM. Changing to a % as suggested on the binutils mailing list resolved the problem. --- cpukit/sapi/src/exinit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpukit/sapi/src/exinit.c b/cpukit/sapi/src/exinit.c index 320e16b6ab..51349ee1ba 100644 --- a/cpukit/sapi/src/exinit.c +++ b/cpukit/sapi/src/exinit.c @@ -69,7 +69,7 @@ RTEMS_SECTION(".rtemsroset.copyright") const char _Copyright_Notice[] = */ asm( \ - ".pushsection \".debug_gdb_scripts\", \"MS\",@progbits,1\n" \ + ".pushsection \".debug_gdb_scripts\", \"MS\",%progbits,1\n" \ ".byte 4\n" \ ".ascii \"gdb.inlined-script\\n\"\n" \ ".ascii \"import sys\\n\"\n" \