On Fri, Dec 27, 2019 at 04:07:03AM +0000, Justin Hibbits wrote:
> Author: jhibbits
> Date: Fri Dec 27 04:07:03 2019
> New Revision: 356113
> URL: https://svnweb.freebsd.org/changeset/base/356113
> 
> Log:
>   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.

Thanks!  I glad you could arrange to combine flagdays.

A bit of background for those following along: once upon a time we
followed other platforms (Linux, Solaris, etc) and made the AT_* macro
values machine-dependent and took the actual values from those
platforms.  We then started adding FreeBSD specific values so our lists
didn't match other OSes.  This lead to almost-but-no-quite identical values
between architectures that didn't provide compatibility with other OSes.

John Baldwin started cleaning them up and I centralized the definitions,
but powerpc had some critical values that were not identical, this
change fixes that with a binary flagday.  Thanks to Brandon Bergren for
testing and providing the missing rtld compatibility.

-- Brooks

Attachment: signature.asc
Description: PGP signature

Reply via email to