projects
/
grub.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a50dbb7
)
asm-tests/i386-pc: Check that near jumps are 2 bytes.
author
Vladimir Serbinenko
<phcoder@gmail.com>
Wed, 11 Nov 2015 17:58:57 +0000
(18:58 +0100)
committer
Vladimir Serbinenko
<phcoder@gmail.com>
Wed, 11 Nov 2015 18:14:25 +0000
(18:14 +0000)
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
patch
|
blob
|
history
diff --git
a/asm-tests/i386-pc.S
b/asm-tests/i386-pc.S
index
97cd32a
..
f6f9a88
100644
(file)
--- a/
asm-tests/i386-pc.S
+++ b/
asm-tests/i386-pc.S
@@
-5,6
+5,10
@@
.code16
jmp far
.org 4
- .space 300
+ jmp nearer
+ .org 6
+ .space 100
+nearer:
+ .space 200
far:
.byte 0