Saturday, 2 June 2012

[gccsdk] AsAsm conditional assembly directives bug?

I've just been trying to assemble some code with asasm from GCC
4.1.2rel2dev. I have a file called s.Selection that contains this:

AREA |ARM$$code|, CODE, READONLY, PIC

GET hdr.Text2
END

and a file called hdr.Text2 containing this:

[ :LNOT :DEF: MyHdr
GBLL MyHdr

GBLL Debug
Debug SETL {TRUE}

]
END


If I assemble this with asasm, it doesn't like the conditional compilation:

*asasm -aof -o o.Selection s.Selection
hdr.Text2:2:10: Fatal error: Illegal expression
called from line 4 from file s.Selection
[ :LNOT :DEF: BCM2835_Hdr
----------^

Yet objasm is fine:

*objasm -o o.Selection s.Selection
ARM AOF Macro Assembler 3.32 (Acorn Computers Ltd) [10 Feb 2005]
*

Any ideas what might be going wrong?

Thanks
Theo

_______________________________________________
GCCSDK mailing list gcc@gccsdk.riscos.info
Bugzilla: http://www.riscos.info/bugzilla/index.cgi
List Info: http://www.riscos.info/mailman/listinfo/gcc
Main Page: http://www.riscos.info/index.php/GCCSDK

No comments:

Post a Comment