Formatting.

This commit is contained in:
Christian Speckner 2024-07-11 21:35:05 +02:00
parent 3ad74cdeb9
commit 7d2b40672a
1 changed files with 14 additions and 14 deletions

View File

@ -38,8 +38,8 @@ Int32 elfUtil::decode_B_BL(uInt32 opcode)
return offset;
}
uInt32 elfUtil::encode_B_BL(Int32 offset, bool link)
{
uInt32 elfUtil::encode_B_BL(Int32 offset, bool link)
{
// nomenclature follows Thumb32 BL / B.W encoding in Arm Architecture Reference
offset >>= 1;
@ -55,4 +55,4 @@ Int32 elfUtil::decode_B_BL(uInt32 opcode)
if (link) hw2 |= 0x4000;
return hw1 | (hw2 << 16);
}
}