mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-15 04:30:12 +00:00
Fix improperly formed assert() call.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@142239 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
1130a799ab
commit
32ab4aff69
@ -105,7 +105,7 @@ long int MBlazeELFWriterInfo::computeRelocation(unsigned SymOffset,
|
||||
if (RelTy == ELF::R_MICROBLAZE_32_PCREL || ELF::R_MICROBLAZE_64_PCREL)
|
||||
return SymOffset - (RelOffset + 4);
|
||||
else
|
||||
assert("computeRelocation unknown for this relocation type");
|
||||
assert(0 && "computeRelocation unknown for this relocation type");
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user