Date: Fri, 3 Jan 2020 17:40:24 +0000 From: Brooks Davis <brooks@freebsd.org> To: Justin Hibbits <jhibbits@FreeBSD.org> Cc: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: Re: svn commit: r356113 - in head: libexec/rtld-elf sys/kern sys/sys Message-ID: <20200103174024.GJ91104@spindle.one-eyed-alien.net> In-Reply-To: <201912270407.xBR473Zh054687@repo.freebsd.org> References: <201912270407.xBR473Zh054687@repo.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] 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 #2 --] -----BEGIN PGP SIGNATURE----- iQEcBAEBAgAGBQJeD3yHAAoJEKzQXbSebgfARsQH/iSKnnsI37F9A7lqg8/OCB+I Tz97Gkq62UDFHC9aTwsdpI9X3CuU8yEWw3Kjjwn4AhvLZ67q0JxPyU62hBmTTniY XAtsiBTSsNO0fhbZbLvMOG60ezXfbXFCFuabVGYkxJoBBtSuLMDr2qYfKyfs1lte eREZ8ZQ2GN/Py4j081YLPCMue4MarnPzh4buLtV6JTxC8RVSdTFWSQQdgieg6Cwr T6maFADcMDF7btmc/KgCvuTK0RYN1em9Qubsp9r8fmBmMNXrdlw+vGUgNRxZZNtz k2OgxgErBJ80kNYStzk6O9MCK5Os41Ld40rNgfDn5FHUtU+c9Z3PnpbBPWFozkk= =DMgX -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20200103174024.GJ91104>
