summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/PowerPC/ppc32-secure-plt-tls2.ll
Commit message (Collapse)AuthorAgeFilesLines
* [PPC32] Support PLT calls for -msecure-plt -fpicFangrui Song2019-06-251-0/+18
Summary: In Secure PLT ABI, -fpic is similar to -fPIC. The differences are that: * -fpic stores the address of _GLOBAL_OFFSET_TABLE_ in r30, while -fPIC stores .got2+0x8000. * -fpic uses an addend of 0 for R_PPC_PLTREL24, while -fPIC uses 0x8000. Reviewers: hfinkel, jhibbits, joerg, nemanjai, spetrovic Reviewed By: jhibbits Subscribers: adalava, kbarton, jsji, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D63563 llvm-svn: 364324
OpenPOWER on IntegriCloud