Add Symbols.map to explicitly define the ABIs, hiding linker defined symbols.
authorguenther <guenther@openbsd.org>
Thu, 14 Dec 2017 17:06:33 +0000 (17:06 +0000)
committerguenther <guenther@openbsd.org>
Thu, 14 Dec 2017 17:06:33 +0000 (17:06 +0000)
commitcfd60b50b925dbd1f966fb2bd4ff813c47c0f606
tree358e8cd6c61013b6f990ef132641e54dba8d513d
parenta2c2fafdd0eabaf4f11d722389f3e74a80a9ed17
Add Symbols.map to explicitly define the ABIs, hiding linker defined symbols.
Use hidden aliases for internal invocations of exported symbols to avoid PLT.

ok deraadt@ kettenis@ jca@
lib/libkvm/Makefile
lib/libkvm/Symbols.map [new file with mode: 0644]
lib/libkvm/kvm.c
lib/libkvm/kvm_private.h
lib/libkvm/shlib_version