mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-20 14:29:27 +00:00
Rearrange conditionals so we don't get caught with the correct type as wrong.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@104793 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
80250686d5
commit
aeed4d81a8
@ -612,10 +612,10 @@ public:
|
|||||||
Type = RIT_X86_64_GOTLoad;
|
Type = RIT_X86_64_GOTLoad;
|
||||||
else
|
else
|
||||||
Type = RIT_X86_64_GOT;
|
Type = RIT_X86_64_GOT;
|
||||||
} else if (Modifier != MCSymbolRefExpr::VK_None) {
|
} else if (Modifier == MCSymbolRefExpr::VK_TLVP) {
|
||||||
report_fatal_error("unsupported symbol modifier in relocation");
|
|
||||||
} else if (Modifier == MCSymbolRefExpr::VK_TLVP) {
|
|
||||||
Type = RIT_X86_64_TLV;
|
Type = RIT_X86_64_TLV;
|
||||||
|
} else if (Modifier != MCSymbolRefExpr::VK_None) {
|
||||||
|
report_fatal_error("unsupported symbol modifier in relocation");
|
||||||
} else {
|
} else {
|
||||||
Type = RIT_X86_64_Signed;
|
Type = RIT_X86_64_Signed;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user