mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 19:52:54 +01:00
Improve comment.
llvm-svn: 121272
This commit is contained in:
parent
16cdaf34bc
commit
d5c17d5981
@ -155,7 +155,8 @@ static unsigned adjustFixupValue(unsigned Kind, uint64_t Value) {
|
||||
assert ((Value < 256) && "Out of range pc-relative fixup value!");
|
||||
Value |= isAdd << 23;
|
||||
|
||||
// Same addressing mode as fixup_arm_pcrel_10, but with the bytes reordered.
|
||||
// Same addressing mode as fixup_arm_pcrel_10,
|
||||
// but with 16-bit halfwords swapped.
|
||||
if (Kind == ARM::fixup_t2_pcrel_10) {
|
||||
uint64_t swapped = (Value & 0xFFFF0000) >> 16;
|
||||
swapped |= (Value & 0x0000FFFF) << 16;
|
||||
|
Loading…
Reference in New Issue
Block a user