diff options
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/llvm/lld/ELF/Arch/PPC.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gnu/llvm/lld/ELF/Arch/PPC.cpp b/gnu/llvm/lld/ELF/Arch/PPC.cpp index b3cc78710e9..4b959128759 100644 --- a/gnu/llvm/lld/ELF/Arch/PPC.cpp +++ b/gnu/llvm/lld/ELF/Arch/PPC.cpp @@ -220,6 +220,7 @@ RelExpr PPC::getRelExpr(RelType type, const Symbol &s, case R_PPC_ADDR16_HA: case R_PPC_ADDR16_HI: case R_PPC_ADDR16_LO: + case R_PPC_ADDR24: case R_PPC_ADDR32: return R_ABS; case R_PPC_DTPREL16: @@ -344,6 +345,7 @@ void PPC::relocateOne(uint8_t *loc, RelType type, uint64_t val) const { break; } case R_PPC_REL24: + case R_PPC_ADDR24: case R_PPC_LOCAL24PC: case R_PPC_PLTREL24: { uint32_t mask = 0x03FFFFFC; |