diff options
author | H. Peter Anvin <hpa@zytor.com> | 2008-09-08 12:01:48 -0700 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2008-09-09 11:52:41 -0700 |
commit | 28f7e66fc1da53997a545684b21b91fb3ca3f321 (patch) | |
tree | f739409c143ab252deefb210858c663e15924878 /samples | |
parent | 43789e21638626d826c0e8d62e50ceb76b9d61ed (diff) |
x86: prevent binutils from being "smart" and generating NOPLs for us
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: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions