Skip to content

Commit

Permalink
AArch64: Add helpers for interface PIC
Browse files Browse the repository at this point in the history
Add helpers for interface call dynamic PIC.

Co-authored-by: KONNO Kazuhiro <[email protected]>
Signed-off-by: Akira Saitoh <[email protected]>
  • Loading branch information
Akira Saitoh and knn-k committed Aug 2, 2021
1 parent e4b287d commit 68b4570
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions compiler/ras/Debug.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4204,6 +4204,8 @@ TR_Debug::getRuntimeHelperName(int32_t index)
case TR_ARM64arrayCopy: return "__arrayCopy";
case TR_ARM64forwardArrayCopy: return "__forwardArrayCopy";
case TR_ARM64backwardArrayCopy: return "__backwardArrayCopy";
case TR_ARM64interfaceCompleteSlot2: return "_interfaceCompleteSlot2";
case TR_ARM64interfaceSlotsUnavailable: return "_interfaceSlotsUnavailable";
}
}
#endif
Expand Down
4 changes: 3 additions & 1 deletion compiler/runtime/Helpers.inc
Original file line number Diff line number Diff line change
Expand Up @@ -502,7 +502,9 @@ SETVAL(TR_ARM64jitCollapseJNIReferenceFrame,TR_FSRH+38)
SETVAL(TR_ARM64arrayCopy,TR_FSRH+39)
SETVAL(TR_ARM64forwardArrayCopy,TR_FSRH+40)
SETVAL(TR_ARM64backwardArrayCopy,TR_FSRH+41)
SETVAL(TR_ARM64numRuntimeHelpers,TR_FSRH+42)
SETVAL(TR_ARM64interfaceCompleteSlot2,TR_FSRH+42)
SETVAL(TR_ARM64interfaceSlotsUnavailable,TR_FSRH+43)
SETVAL(TR_ARM64numRuntimeHelpers,TR_FSRH+44)

SETVAL(TR_S390longDivide,TR_FSRH)
SETVAL(TR_S390interfaceCallHelper,TR_FSRH+1)
Expand Down

0 comments on commit 68b4570

Please sign in to comment.