]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
linux64: use linux output target for linux_vdso.so
authoremaste <emaste@FreeBSD.org>
Tue, 12 Jun 2018 13:32:42 +0000 (13:32 +0000)
committeremaste <emaste@FreeBSD.org>
Tue, 12 Jun 2018 13:32:42 +0000 (13:32 +0000)
commit3489c7d4d33ce458bf8ca3b60bcaf427f93d0411
tree70627f2ff6d245132e7497d89e3c866a65df0f88
parent5cacb41edfbbd44925defdb59d9cdefd0f4418f1
linux64: use linux output target for linux_vdso.so

linux_vdso.so provides the vdso for the linuxulator's amd64 target and
is mapped into a Linux binary's address space.  Thus it should be a
Linux-style .so, which has the ELF OS/ABI unset.

It turns out that ELF Tool Chain elfcopy/objcopy also has a bug where
the OS/ABI field is unset, regardless of the specified --output-target,
so this change is a no-op with the default in-tree toolchain.  This is a
real fix when using external binutils, and the ELF Tool Chain bug will
be fixed in the future.

PR: 228934
Sponsored by: Turing Robotic Industries
sys/modules/linux64/Makefile