bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GAS .space bug in MIPS crossassembler for Linux


From: Nick Clifton
Subject: Re: GAS .space bug in MIPS crossassembler for Linux
Date: Fri, 17 Nov 2000 11:20:05 -0800

Hi Philippe,

: GAS systematically emits spurious filler bytes for ".byte xx .space 3", 
breaking the build.
: 
: as.new -adhls  -EL -G 0 -v -g -M -o wrong.o wrong.s > wrong.lst

This is because the -M switch is being used.  This enables MRI
compatability mode, and in this mode, .space directives always align
their output to a word boundary.  (So that they *start* on a word
boundary).

There are two ways around this feature - use .ds.b instead of .space,
or do not enabled MRI compatabilty.

Cheers
        Nick



reply via email to

[Prev in Thread] Current Thread [Next in Thread]