]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Merge r357231 from the clang1000-import branch:
authordim <dim@FreeBSD.org>
Tue, 28 Jan 2020 21:46:59 +0000 (21:46 +0000)
committerdim <dim@FreeBSD.org>
Tue, 28 Jan 2020 21:46:59 +0000 (21:46 +0000)
commit0f3dd1b985dedb0c08bc47baac9b1c75d12b916f
tree7222c410c84d62a558d44145aa22586fe433d4e8
parent63da139a9248808f173e9bf3df9d03065bb9db90
Merge r357231 from the clang1000-import branch:

Work around assembler error from clang 10.0.0 in gptboot:

stand/i386/gptboot/gptldr.S:141:3: error: value of 36878 is too large for field of 2 bytes.
  jmp MEM_JMP # Start BTX
  ^

Use the same construct as in stand/i386/boot2/boot1.S, which ensures the
jump distance does not become too large.

MFC after: 3 days
stand/i386/gptboot/gptldr.S