[PATCH] D25069: Fix PREL31 relocation on ARM
    Yichao Yu via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Sat Oct  1 15:54:09 PDT 2016
    
    
  
yuyichao added inline comments.
> RuntimeDyldELF.cpp:468
>    case ELF::R_ARM_PREL31:
> +    *TargetPtr &= 0x8000000;
> +    *TargetPtr |= (Value - FinalAddress) & ~0x8000000;
I think I made a stupid mistake here... Should be `0x80000000` instead of `0x8000000` (7 zeros instead of 6 ......) Will update later.
https://reviews.llvm.org/D25069
    
    
More information about the llvm-commits
mailing list