diff options
author | Kai Luo <lkail@cn.ibm.com> | 2023-07-10 11:25:41 +0800 |
---|---|---|
committer | Kai Luo <lkail@cn.ibm.com> | 2023-07-10 11:26:53 +0800 |
commit | 61358d4fbeb3db1c1f7be278ae599ae3d79499d7 (patch) | |
tree | 704e774e06c3ecf4d1221a51197657d630c23ad5 /flang/lib/Frontend/CompilerInvocation.cpp | |
parent | 2c64226d84174dd1d9f93e1884c1b0bd432f89b5 (diff) | |
download | llvm-61358d4fbeb3db1c1f7be278ae599ae3d79499d7.zip llvm-61358d4fbeb3db1c1f7be278ae599ae3d79499d7.tar.gz llvm-61358d4fbeb3db1c1f7be278ae599ae3d79499d7.tar.bz2 |
[JITLink][PowerPC] Add TOC and relocations for ppc64
This patch builds TOC and adds common relocations for ppc64.
To build TOC, sections belong to TOC are merged into one section, serves as GOT and small data accessing.
Relocations commonly seen in local function call, external function call and global variable reference are added.
References
- https://youtu.be/i-inxFudrgI
- https://maskray.me/blog/2023-02-26-linker-notes-on-power-isa
- https://openpowerfoundation.org/specifications/64bitelfabi/
Reviewed By: lhames
Differential Revision: https://reviews.llvm.org/D154198
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions