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)
commitadda746629b4a3950f313bc645fa0e54daee871c
treec468b93f7c07960f2a70a8d644251961ab5859df
parent4c25f0ff6336738fcb03216ae103c3c17908304a
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