diff options
author | Nemanja Ivanovic <nemanja.i.ibm@gmail.com> | 2022-02-22 09:52:19 -0600 |
---|---|---|
committer | Nemanja Ivanovic <nemanja.i.ibm@gmail.com> | 2022-02-22 09:53:08 -0600 |
commit | 2aaba44b5c2265f90ac9f0ae188417ef79201c82 (patch) | |
tree | 8aae82410155b22aaf08d85316332e891583536b /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
parent | fee4a9712f58caa9f1c3fc6c76ac46c5407475b6 (diff) | |
download | llvm-2aaba44b5c2265f90ac9f0ae188417ef79201c82.zip llvm-2aaba44b5c2265f90ac9f0ae188417ef79201c82.tar.gz llvm-2aaba44b5c2265f90ac9f0ae188417ef79201c82.tar.bz2 |
[PowerPC] Allow absolute expressions in relocations
The Linux kernel build uses absolute expressions suffixed with @lo/@ha
relocations. This currently doesn't work for DS/DQ form instructions and
there is no reason for it not to. It also works with GAS.
This patch allows this as long as the value is a multiple of 4/16
for DS/DQ form.
Differential revision: https://reviews.llvm.org/D115419
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions