Changing GAS for ARM to accept semicolon as a comment character ?
Richard Earnshaw
rearnsha@arm.com
Fri Apr 12 04:19:00 GMT 2002
>
> > Darn - oh well. I don't suppose NetBSD would like to switch to a 'one
> > instruction per line' approach for their assembler source code ?
>
> There's no way to write the following #define without using a statement
> separator:
>
> #define _ENTRY(x) \
> .text; _ALIGN_TEXT; .globl x; .type x,_ASM_TYPE_FUNCTION; x:
>
> R.
>
Oh, and ARM/Linux uses the same technique.
R.
More information about the Binutils
mailing list