]> git.ipfire.org Git - thirdparty/grub.git/commit
asm-tests/i386-pc: Check that near jumps are 2 bytes.
authorVladimir Serbinenko <phcoder@gmail.com>
Wed, 11 Nov 2015 17:58:57 +0000 (18:58 +0100)
committerVladimir Serbinenko <phcoder@gmail.com>
Wed, 11 Nov 2015 18:14:25 +0000 (18:14 +0000)
commit323ef2bdc358b90f0894223a6424df036c6dfe02
tree6e9aac7525c5412b5e56350ef7667cfbc7c7d7dd
parenta50dbb743e53e5e643f27daa84261e6e9d7747c1
asm-tests/i386-pc: Check that near jumps are 2 bytes.

We already check that jump over 300 bytes gap is 3 bytes in code16-mode.
Some clang versions generate 3-byte opcode for short jumps which makes
boot.img blow over 512-byte limit. Enforce -no-integrated-as in such cases
asm-tests/i386-pc.S