Skip to content

Commit 966b070

Browse files
committed
[PPC][BOLT] Add support for Doubleword Storage form instructions.
1 parent 857cc49 commit 966b070

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

bolt/lib/Core/Relocation.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -556,6 +556,8 @@ static uint64_t extractValuePPC64(uint32_t Type, uint64_t Contents,
556556
case ELF::R_PPC64_ADDR16_HA:
557557
case ELF::R_PPC64_ADDR32:
558558
case ELF::R_PPC64_ADDR64:
559+
case ELF::R_PPC64_TOC16_DS:
560+
case ELF::R_PPC64_TOC16_LO_DS:
559561
case ELF::R_PPC64_ADDR16_DS:
560562
case ELF::R_PPC64_ADDR16_LO_DS:
561563
case ELF::R_PPC64_TOC:

0 commit comments

Comments
 (0)