Generate a gap.link script, and use that to generate gap.o. On multi-ABI
authorderaadt <deraadt@openbsd.org>
Thu, 22 Jun 2017 16:01:45 +0000 (16:01 +0000)
committerderaadt <deraadt@openbsd.org>
Thu, 22 Jun 2017 16:01:45 +0000 (16:01 +0000)
commit226329da4068eb9ad21ac65c174f0628c5ec1ea3
tree503b6186035911f739e475d97119537c480cf57e
parent65b140a4bb80ba2b993dd4fdb0251ec552077961
Generate a gap.link script, and use that to generate gap.o.  On multi-ABI
architectures we must also link against a gapdummy.o to repair the ABI
of the resulting .o file.  Woe is me.
Also repair install: target to update the linkkit & hash when a kernel
is installed.
ok rpe tb mlarkin and tested by others also
13 files changed:
sys/arch/alpha/conf/Makefile.alpha
sys/arch/amd64/conf/Makefile.amd64
sys/arch/arm64/conf/Makefile.arm64
sys/arch/armv7/conf/Makefile.armv7
sys/arch/hppa/conf/Makefile.hppa
sys/arch/i386/conf/Makefile.i386
sys/arch/landisk/conf/Makefile.landisk
sys/arch/loongson/conf/Makefile.loongson
sys/arch/macppc/conf/Makefile.macppc
sys/arch/octeon/conf/Makefile.octeon
sys/arch/sgi/conf/Makefile.sgi
sys/arch/sparc64/conf/Makefile.sparc64
sys/conf/makegap.sh