• H. Peter Anvin's avatar
    x86: prevent binutils from being "smart" and generating NOPLs for us · 28f7e66f
    H. Peter Anvin authored
    binutils, contrary to documented behaviour, will generate long NOPs (a
    P6-or-higher instruction which is broken on at least some VIA chips,
    Virtual PC/Virtual Server, and some versions of Qemu) depending on the
    -mtune= option, which is not supposed to change architectural
    behaviour.
    
    Pass an explicit override to the assembler, in case ends up passing
    the -mtune= parameter to gas (gcc 4.3.0 does not appear to.)
    Signed-off-by: default avatarH. Peter Anvin <hpa@zytor.com>
    28f7e66f
Makefile_32.cpu 2.33 KB