On Mon, Jul 11, 2005 at 08:57:58AM +0200, Falk Hueffner wrote: > The "ldbu" instruction is only available on ev56 and above, however, > gcc4.1 emits ".arch ev5" because of "-mcpu=ev5", which overrides as's > "-mev6". This used to work because 4.0 didn't output ".arch ev5" > because it doesn't actually do anything important. > > I don't see any fault on gcc's side here. You could argue that the > command line option for as should override the ".arch", but I think > it's been like this forever. So you should probably just add ".arch > ev6" inside the asm (annoyingly, gas doesn't seem to have ".arch any" > or similar).
It'd probably be easier to go back to suppressing the .arch in this case. r~