Stop supporting a GOT with only one reserved entry in static PIE
authorguenther <guenther@openbsd.org>
Mon, 17 Jan 2022 19:45:34 +0000 (19:45 +0000)
committerguenther <guenther@openbsd.org>
Mon, 17 Jan 2022 19:45:34 +0000 (19:45 +0000)
commita175a520589434d665e3890987be638d60b4ba93
treee2fbb4b5eba9422457a431bf2ff1b09e4b6f5a50
parente26546db3ebce18ce33b6a6cf94bfefcd4e97e46
Stop supporting a GOT with only one reserved entry in static PIE
and ld.so itself: support for that in dynamic objects was removed
in 2010.

Inline RELOC_GOT() into boot_md.c and clean up the result like
boot.c, snag just the three DT_MIPS_* tags needed, and delete the
error case which is verified at build time.

ok visa@
libexec/ld.so/mips64/archdep.h
libexec/ld.so/mips64/boot_md.c