[PATCH] D84549: [XCOFF][AIX] Support relocation generation for large code model

Jason Liu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 24 12:59:21 PDT 2020


jasonliu created this revision.
jasonliu added reviewers: DiggerLin, daltenty, hubert.reinterpretcast, Xiangling_L.
Herald added subscribers: llvm-commits, kbarton, hiraditya, nemanjai.
Herald added a project: LLVM.

Support TOCU and TOCL relocation type for object file generation.

Note: the actual support for TOC displacement larger than 32767 is not implemented yet.
Although we are adding support for those two relocations right now, more works need to be done to actually make this support useful.


https://reviews.llvm.org/D84549

Files:
  llvm/lib/MC/XCOFFObjectWriter.cpp
  llvm/lib/Target/PowerPC/MCTargetDesc/PPCXCOFFObjectWriter.cpp
  llvm/test/CodeGen/PowerPC/aix-xcoff-reloc-large.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D84549.280557.patch
Type: text/x-patch
Size: 5675 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200724/e4ece835/attachment.bin>


More information about the llvm-commits mailing list