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.
This commit is contained in:
Joel Sherrill
2025-08-01 10:37:53 -05:00
committed by Gedare Bloom
parent e8c5bba5bf
commit 4c9e41b060

View File

@@ -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" \