]> git.baikalelectronics.ru Git - kernel.git/commit
s390/purgatory: workaround llvm's IAS limitations
authorHeiko Carstens <hca@linux.ibm.com>
Wed, 11 May 2022 12:05:29 +0000 (14:05 +0200)
committerHeiko Carstens <hca@linux.ibm.com>
Tue, 17 May 2022 13:16:28 +0000 (15:16 +0200)
commit6eacf9d93e92959e8df57c6235065fec6bf3ff29
treec468b93f7c07960f2a70a8d644251961ab5859df
parentd4b73638152532c3daba39feeb99c5595731dea6
s390/purgatory: workaround llvm's IAS limitations

llvm's integrated assembler cannot handle immediate values which are
calculated with two local labels:

arch/s390/purgatory/head.S:139:11: error: invalid operand for instruction
 aghi %r8,-(.base_crash-purgatory_start)

Workaround this by partially rewriting the code.

Link: https://lore.kernel.org/r/20220511120532.2228616-6-hca@linux.ibm.com
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
arch/s390/purgatory/head.S