[PATCH] D63563: [PPC32] Support -msecure-plt -fpic
Fangrui Song via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jun 19 09:29:39 PDT 2019
MaskRay created this revision.
MaskRay added reviewers: hfinkel, jhibbits, joerg, nemanjai, spetrovic.
Herald added subscribers: llvm-commits, jsji, kbarton.
Herald added a project: LLVM.
In Secure PLT ABI, -fpic is similar to -fPIC. The difference is that:
the address of _GLOBAL_OFFSET_TABLE instead of .got2+0x8000 is stored
in r30.
Repository:
rL LLVM
https://reviews.llvm.org/D63563
Files:
lib/Target/PowerPC/PPCAsmPrinter.cpp
lib/Target/PowerPC/PPCISelDAGToDAG.cpp
test/CodeGen/PowerPC/ppc32-pic.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D63563.205620.patch
Type: text/x-patch
Size: 5505 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190619/8ee95807/attachment.bin>
More information about the llvm-commits
mailing list