Why doesn't this assemble for elf but does for pe?

Nick Clifton nickc@redhat.com
Thu May 1 07:40:00 GMT 2003


Hi Stephen,

> note that common, RawHandlerTable, and numRawHandlers are all defined.
> Ok I change the code to :
> 
> #NO_APP
> .equ rawHandlerSize, ((common - RawHandlerTable)/numRawHandlers)
> #APP
> 
> I am getting :
> ../../code/HAL/x86/rawhndlr.S: Assembler messages:
> ../../code/HAL/x86/rawhndlr.S:281: Error: missing ')'
> gmake: *** [rawhndlr.o] Error 1

The #APP and #NO_APP need to be at the start of files.  They do not
work elsewhere.  (Yes, I know that this is a pain, but that is the way
that the system works).

Cheers
        Nick



More information about the Binutils mailing list