[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.DEB.2.21.2501120146160.18889@angie.orcam.me.uk>
Date: Sun, 12 Jan 2025 14:40:14 +0000 (GMT)
From: "Maciej W. Rozycki" <macro@...am.me.uk>
To: Arnd Bergmann <arnd@...db.de>
cc: "Eric W. Biederman" <ebiederm@...ssion.com>,
John Paul Adrian Glaubitz <glaubitz@...sik.fu-berlin.de>,
Richard Henderson <richard.henderson@...aro.org>,
Matt Turner <mattst88@...il.com>, Kees Cook <kees@...nel.org>,
"Paul E. McKenney" <paulmck@...nel.org>, linux-alpha@...r.kernel.org,
linux-mm@...ck.org, linux-kernel@...r.kernel.org,
Michael Cree <mcree@...on.net.nz>, Sam James <sam@...too.org>,
Geert Uytterhoeven <geert@...ux-m68k.org>,
Michael Karcher <kernel@...rcher.dialup.fu-berlin.de>,
Chris Hofstaedtler <zeha@...ian.org>, util-linux@...r.kernel.org,
linux-mips@...r.kernel.org, loongarch@...ts.linux.dev
Subject: Re: [PATCH] alpha: Fix personality flag propagation across an exec
On Thu, 9 Jan 2025, Arnd Bergmann wrote:
> > This is similar to the MIPS n32 ABI, which also implies a 32-bit address
> > space while still using 64-bit registers for everything, starting from
> > stack slots (it's also ILP32 with the `long long' C data type only making
> > proper use of the full width of the CPU registers, while Alpha's --taso
> > ABI is I believe IP32 (?) with the plain `long' C data type still 64-bit,
> > just as with the regular LP64 ABI).
>
> I'm pretty sure it's still LP64 on Alpha Linux with gcc. There is an
> -mpointer-size=32 option in gcc for VMS, but I don't see anything like
> that in Linux. The only thing that is implemented here is the option
> for the linker that sets the EF_ALPHA_32BIT bit, but none of the
> code generation takes advantage of the upper bits being zero.
Pretty useless then nowadays (I knew about the option back in 1990s,
though since forgot, and then never bothered to get into its details and
considered cleaning up code instead a better use of resources). Thanks
for the explanation, and good riddance!
Maciej
Powered by blists - more mailing lists