mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-15 15:48:38 +00:00
Rearrange conditionals so we don't get caught with the correct type as wrong.
llvm-svn: 104793
This commit is contained in:
parent
bdda547db4
commit
405e56fdfb
@ -612,10 +612,10 @@ public:
|
||||
Type = RIT_X86_64_GOTLoad;
|
||||
else
|
||||
Type = RIT_X86_64_GOT;
|
||||
} else if (Modifier != MCSymbolRefExpr::VK_None) {
|
||||
report_fatal_error("unsupported symbol modifier in relocation");
|
||||
} else if (Modifier == MCSymbolRefExpr::VK_TLVP) {
|
||||
} else if (Modifier == MCSymbolRefExpr::VK_TLVP) {
|
||||
Type = RIT_X86_64_TLV;
|
||||
} else if (Modifier != MCSymbolRefExpr::VK_None) {
|
||||
report_fatal_error("unsupported symbol modifier in relocation");
|
||||
} else {
|
||||
Type = RIT_X86_64_Signed;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user