[RFC/RFA] Proper mnemonics for VIA PadLock (i386) instructions

Thorsten Glaser tg@66h.42h.de
Wed Apr 13 15:20:00 GMT 2005


Jan Beulich dixit:

>>Alternatively, we'd need to make a way for a dash to be only
>>recognised as part of a mnemonic if followed by a letter.
>
>That wouldn't help either:
>
>	.equiv two, 2
>	movl -two(%ebx), %eax
>
>would still fail.

.oO(noone sane uses AT&T syntax anyway)

Well, then one has to fix gas, I assume.

DOES it fail then?

tg@herc:/home/tg $ objdump -d a.out

a.out:     file format elf32-i386

Disassembly of section .text:

00000000 <.text>:
   0:   8b 43 fe                mov    0xfffffffe(%ebx),%eax
tg@herc:/home/tg $ cat x.s
        .text
        .equiv two, 2
        movl -two(%ebx), %eax


Doesn't look like it (and yes, I have Marks patches
applied, since MirOS is an OpenBSD derivate, I need
it for the VIA code in the kernel).

bye,
//mirabile



More information about the Binutils mailing list