From f8f4620dc6c1e015a0008f348c35b9da633c8f50 Mon Sep 17 00:00:00 2001 From: Rui Ueyama Date: Tue, 24 Oct 2017 20:11:07 +0000 Subject: [PATCH] Move comment to the place where it makes more sense. llvm-svn: 316491 --- lld/ELF/Arch/X86.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lld/ELF/Arch/X86.cpp b/lld/ELF/Arch/X86.cpp index f7a61af..5301603 100644 --- a/lld/ELF/Arch/X86.cpp +++ b/lld/ELF/Arch/X86.cpp @@ -251,11 +251,11 @@ int64_t X86::getImplicitAddend(const uint8_t *Buf, RelType Type) const { } void X86::relocateOne(uint8_t *Loc, RelType Type, uint64_t Val) const { - // R_386_{PC,}{8,16} are not part of the i386 psABI, but they are - // being used for some 16-bit programs such as boot loaders, so - // we want to support them. switch (Type) { case R_386_8: + // R_386_{PC,}{8,16} are not part of the i386 psABI, but they are + // being used for some 16-bit programs such as boot loaders, so + // we want to support them. checkUInt<8>(Loc, Val, Type); *Loc = Val; break; -- 2.7.4