]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Eliminate the last MI difference in AT_* definitions (for powerpc).
authorjhibbits <jhibbits@FreeBSD.org>
Fri, 27 Dec 2019 04:07:03 +0000 (04:07 +0000)
committerjhibbits <jhibbits@FreeBSD.org>
Fri, 27 Dec 2019 04:07:03 +0000 (04:07 +0000)
commit1e71d4b57b233e47195eed266e8f0f766a15cca9
tree7a2367400d332821a887929657f0ac962244a82f
parent01475f789107053f026779c788c923a3e0a7d128
Eliminate the last MI difference in AT_* definitions (for powerpc).

Summary:
As a transition aide, implement an alternative elfN_freebsd_fixup which
is called for old powerpc binaries.  Similarly, add a translation to rtld to
convert old values to new ones (as expected by a new rtld).

Translation of old<->new values  is incomplete, but sufficient to allow an
installworld of a new userspace from an old one when a new kernel is running.

Test Plan:
Someone needs to see how a new kernel/rtld/libc works with an old
binary.  If if works we can probalby ship this.  If not we probalby need
some more compat bits.

Submitted by: brooks
Reviewed by: jhibbits
Differential Revision: https://reviews.freebsd.org/D20799
libexec/rtld-elf/rtld.c
sys/kern/imgact_elf.c
sys/sys/elf_common.h
sys/sys/param.h