Skip gp initialization in loongson bootblocks
authorvisa <visa@openbsd.org>
Wed, 17 Feb 2021 14:42:20 +0000 (14:42 +0000)
committervisa <visa@openbsd.org>
Wed, 17 Feb 2021 14:42:20 +0000 (14:42 +0000)
commit7aaa52092c22bc1b2d67a0a2289bb77c56e066cf
treea757949fb0815089854fd656fc19246dd03703f0
parent01753eaba462123178a33b96a4159f9150563f75
Skip gp initialization in loongson bootblocks

The loongson bootblocks are compiled with -mno-abicalls and do not use
gp-relative addressing.

A similar change has been made to the mips64 kernels recently.
sys/arch/loongson/stand/boot/ld.script
sys/arch/loongson/stand/boot/start.S