This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]