diff options
author | andreast <andreast@FreeBSD.org> | 2016-01-02 22:04:37 +0000 |
---|---|---|
committer | andreast <andreast@FreeBSD.org> | 2016-01-02 22:04:37 +0000 |
commit | 592778f249ec299a21574b60dfdf2fb0c67a5df6 (patch) | |
tree | 3174afff47d2b1139e28c59c61480a9bb636b119 /contrib/llvm/tools/clang/lib/Frontend/TextDiagnosticBuffer.cpp | |
parent | 8f3f2be925032d75b0ce8d0da4d1734e109c9bfe (diff) | |
download | FreeBSD-src-592778f249ec299a21574b60dfdf2fb0c67a5df6.zip FreeBSD-src-592778f249ec299a21574b60dfdf2fb0c67a5df6.tar.gz |
Fix booting of 32-bit kernels on 64-bit G5 hardware.
For rs6000, most memory insns and addi/addis do not allow GPR0 for RA
(they use literal zero there instead). So use a 'b' constraint to make
sure to have a base register other than GPR0.
GCC-4.7 and up handles this with allocating r9 instead of r0.
Diffstat (limited to 'contrib/llvm/tools/clang/lib/Frontend/TextDiagnosticBuffer.cpp')
0 files changed, 0 insertions, 0 deletions