Skip to content
  • Jack Carter's avatar
    Mips relocations R_MIPS_HIGHER and R_MIPS_HIGHEST. · 84491abb
    Jack Carter authored
    These 2 relocations gain access to the 
    highest and the second highest 16 bits
    of a 64 bit object.
    
    R_MIPS_HIGHER %higher(A+S)
    The %higher(x) function is [ (((long long) x + 0x80008000LL) >> 32) & 0xffff ]. 
    
    R_MIPS_HIGHEST %highest(A+S)
    The %highest(x) function is [ (((long long) x + 0x800080008000LL) >> 48) & 0xffff ]. 
    
    llvm-svn: 161348
    84491abb
Loading