Help with Warning on ARM
Joel Sherrill
joel.sherrill@gmail.com
Fri Aug 1 14:54:28 GMT 2025
Hi
Over at RTEMS, we have this bit of code which is included with every
build of RTEMS on all architectures. It is a special section to
auto-load pretty printing scripts.
asm( \
".pushsection \".debug_gdb_scripts\", \"MS\",@progbits,1\n" \
".byte 4\n" \
".ascii \"gdb.inlined-script\\n\"\n" \
".ascii \"import sys\\n\"\n" \
".ascii \"import os.path\\n\"\n" \
".ascii \"sys.path.append(os.path.join(gdb.PYTHONDIR, 'rtems'))\\n\"\n" \
".ascii \"import rtems.pprinter as pprinter\\n\"\n" \
".byte 0\n" \
".popsection\n" \
);
On all ARM builds but no other architecture, we get this message:
/tmp/ccVjIfxL.s: Assembler messages:
/tmp/ccVjIfxL.s:19: missing merge / string entity size, 1 assumed
Any suggestions on what isn't 100% right?
Also, analyzing build logs, I have noticed that the assembler uses
Warning not warning like GCC. This was surprising when I noticed
that my scripts never reported warnings from as. And in this case,
it is just a message. Isn't this a warning?
Thanks.
--joel sherrill
RTEMS
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://sourceware.org/pipermail/binutils/attachments/20250801/0d324ec4/attachment.htm>
More information about the Binutils
mailing list