aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorNemanja Ivanovic <nemanja.i.ibm@gmail.com>2022-02-22 09:52:19 -0600
committerNemanja Ivanovic <nemanja.i.ibm@gmail.com>2022-02-22 09:53:08 -0600
commit2aaba44b5c2265f90ac9f0ae188417ef79201c82 (patch)
tree8aae82410155b22aaf08d85316332e891583536b /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parentfee4a9712f58caa9f1c3fc6c76ac46c5407475b6 (diff)
downloadllvm-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