commit | fc54d9e47a1276650f14f38e7d037c9b58c8dc2d | [log] [tgz] |
---|---|---|
author | Jack Carter <jcarter@mips.com> | Mon Aug 06 21:26:03 2012 +0000 |
committer | Jack Carter <jcarter@mips.com> | Mon Aug 06 21:26:03 2012 +0000 |
tree | bbf0805bc17a035e6d50d6ecce00c63bc07fed7e | |
parent | f45717e985260e9416dbd2fe8df471d48705c86a [diff] |
Mips relocations R_MIPS_HIGHER and R_MIPS_HIGHEST. 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 ]. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@161348 91177308-0d34-0410-b5e6-96231b3b80d8