From owner-svn-src-all@freebsd.org Fri Jan 3 17:40:25 2020 Return-Path: Delivered-To: svn-src-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id BD2631F65B3; Fri, 3 Jan 2020 17:40:25 +0000 (UTC) (envelope-from brooks@spindle.one-eyed-alien.net) Received: from spindle.one-eyed-alien.net (spindle.one-eyed-alien.net [199.48.129.229]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 47qBy10sVyz45XZ; Fri, 3 Jan 2020 17:40:25 +0000 (UTC) (envelope-from brooks@spindle.one-eyed-alien.net) Received: by spindle.one-eyed-alien.net (Postfix, from userid 3001) id 4B9AF3C0199; Fri, 3 Jan 2020 17:40:24 +0000 (UTC) Date: Fri, 3 Jan 2020 17:40:24 +0000 From: Brooks Davis To: Justin Hibbits 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> References: <201912270407.xBR473Zh054687@repo.freebsd.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="/e2eDi0V/xtL+Mc8" Content-Disposition: inline In-Reply-To: <201912270407.xBR473Zh054687@repo.freebsd.org> User-Agent: Mutt/1.9.4 (2018-02-28) X-Rspamd-Queue-Id: 47qBy10sVyz45XZ X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of brooks@spindle.one-eyed-alien.net has no SPF policy when checking 199.48.129.229) smtp.mailfrom=brooks@spindle.one-eyed-alien.net X-Spamd-Result: default: False [-6.52 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; DMARC_NA(0.00)[freebsd.org]; AUTH_NA(1.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; IP_SCORE(-3.62)[ip: (-9.49), ipnet: 199.48.128.0/22(-4.73), asn: 36236(-3.84), country: US(-0.05)]; R_SPF_NA(0.00)[]; SIGNED_PGP(-2.00)[]; FORGED_SENDER(0.30)[brooks@freebsd.org,brooks@spindle.one-eyed-alien.net]; RCVD_COUNT_ZERO(0.00)[0]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ASN(0.00)[asn:36236, ipnet:199.48.128.0/22, country:US]; FROM_NEQ_ENVFROM(0.00)[brooks@freebsd.org,brooks@spindle.one-eyed-alien.net] X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Jan 2020 17:40:25 -0000 --/e2eDi0V/xtL+Mc8 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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 >=20 > Log: > Eliminate the last MI difference in AT_* definitions (for powerpc). > =20 > Summary: > As a transition aide, implement an alternative elfN_freebsd_fixup which > is called for old powerpc binaries. Similarly, add a translation to rt= ld to > convert old values to new ones (as expected by a new rtld). > =20 > 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 ru= nning. 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 --/e2eDi0V/xtL+Mc8 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEcBAEBAgAGBQJeD3yHAAoJEKzQXbSebgfARsQH/iSKnnsI37F9A7lqg8/OCB+I Tz97Gkq62UDFHC9aTwsdpI9X3CuU8yEWw3Kjjwn4AhvLZ67q0JxPyU62hBmTTniY XAtsiBTSsNO0fhbZbLvMOG60ezXfbXFCFuabVGYkxJoBBtSuLMDr2qYfKyfs1lte eREZ8ZQ2GN/Py4j081YLPCMue4MarnPzh4buLtV6JTxC8RVSdTFWSQQdgieg6Cwr T6maFADcMDF7btmc/KgCvuTK0RYN1em9Qubsp9r8fmBmMNXrdlw+vGUgNRxZZNtz k2OgxgErBJ80kNYStzk6O9MCK5Os41Ld40rNgfDn5FHUtU+c9Z3PnpbBPWFozkk= =DMgX -----END PGP SIGNATURE----- --/e2eDi0V/xtL+Mc8--