This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: Why doesn't this assemble for elf but does for pe?
- From: Nick Clifton <nickc at redhat dot com>
- To: "Stephen P. Smith" <ischis2 at cox dot net>
- Cc: binutils <binutils at sources dot redhat dot com>
- Date: 01 May 2003 08:34:51 +0100
- Subject: Re: Why doesn't this assemble for elf but does for pe?
- References: <3EADF43D.4030103@cox.net> <m33ck0usm8.fsf@localhost.localdomain><3EAFCECA.7040502@cox.net> <m3d6j4t7l1.fsf@localhost.localdomain><3EAFF3D1.9020904@cox.net>
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