forked from Imagelibrary/rtems
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:
committed by
Gedare Bloom
parent
e8c5bba5bf
commit
4c9e41b060
@@ -69,7 +69,7 @@ RTEMS_SECTION(".rtemsroset.copyright") const char _Copyright_Notice[] =
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
asm( \
|
asm( \
|
||||||
".pushsection \".debug_gdb_scripts\", \"MS\",@progbits,1\n" \
|
".pushsection \".debug_gdb_scripts\", \"MS\",%progbits,1\n" \
|
||||||
".byte 4\n" \
|
".byte 4\n" \
|
||||||
".ascii \"gdb.inlined-script\\n\"\n" \
|
".ascii \"gdb.inlined-script\\n\"\n" \
|
||||||
".ascii \"import sys\\n\"\n" \
|
".ascii \"import sys\\n\"\n" \
|
||||||
|
|||||||
Reference in New Issue
Block a user