>>>>> "Falk" == Falk Hueffner <[EMAIL PROTECTED]> writes:
>> $ alpha-unknown-linux-gnu-gcc -fno-common -ffreestanding -O2 \
>> -mno-fp-regs -ffixed-8 -msmall-data -mcpu=ev5 -Wa,-mev6 -c
>> core_cia.i
Falk> I don't see any fault on gcc's side here. You could argue that
Falk> the command line option for as should override the ".arch", but
Falk> I think it's been like this forever. So you should probably
Falk> just add ".arch ev6" inside the asm (annoyingly, gas doesn't
Falk> seem to have ".arch any" or similar).
More appropriate would be to make the command line consistent with the
code. If there's inline assembly that requires ev6, then -mcpu=ev6 is
appropriate. Conversely, if the code really is supposed to run on an
ev5, then -Wa,mev5 is the right fix and the inline assembly should
stick to instructions that exist on that machine.
paul