From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1791) id 1524438582BF; Mon, 22 Jan 2024 13:01:10 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 1524438582BF DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1705928470; bh=w2jw0decZDBZR/2+8ULgC3MghpOx5XHsp9kETG9vv4Y=; h=From:To:Subject:Date:From; b=cL/zWKA+2qXuyTmrXZzCMwtPeWan69mufug/+uN2ct9/+O3G/NKMgAjBROTmdEgdV c2sSiK/Sx7Vyo2llX1Sk/HsgRBeFHVRL1C1UTuphSTIyx22GT21kkStneKYbasC8gx b5apeVUh8YvkEZio37PICDpigI1sTAdZbsSUpYEU= Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Adhemerval Zanella To: glibc-cvs@sourceware.org Subject: [glibc] sparc: Remove 64 bit check on sparc32 wordsize (BZ 27574) X-Act-Checkin: glibc X-Git-Author: Adhemerval Zanella X-Git-Refname: refs/heads/master X-Git-Oldrev: 3bffe5aa2dad3492fd68230ed28387cf9d453cea X-Git-Newrev: dd57f5e7b652772499cb220d78157c1038d24f06 Message-Id: <20240122130110.1524438582BF@sourceware.org> Date: Mon, 22 Jan 2024 13:01:10 +0000 (GMT) List-Id: https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=dd57f5e7b652772499cb220d78157c1038d24f06 commit dd57f5e7b652772499cb220d78157c1038d24f06 Author: Adhemerval Zanella Date: Wed Jan 17 10:13:06 2024 -0300 sparc: Remove 64 bit check on sparc32 wordsize (BZ 27574) The sparc32 is always 32 bits. Checked on sparcv9-linux-gnu. Diff: --- sysdeps/sparc/sparc32/bits/wordsize.h | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/sysdeps/sparc/sparc32/bits/wordsize.h b/sysdeps/sparc/sparc32/bits/wordsize.h index 2f66f10d72..4bbd2e63b4 100644 --- a/sysdeps/sparc/sparc32/bits/wordsize.h +++ b/sysdeps/sparc/sparc32/bits/wordsize.h @@ -1,11 +1,6 @@ /* Determine the wordsize from the preprocessor defines. */ -#if defined __arch64__ || defined __sparcv9 -# define __WORDSIZE 64 -# define __WORDSIZE_TIME64_COMPAT32 1 -#else -# define __WORDSIZE 32 -# define __WORDSIZE_TIME64_COMPAT32 0 -# define __WORDSIZE32_SIZE_ULONG 0 -# define __WORDSIZE32_PTRDIFF_LONG 0 -#endif +#define __WORDSIZE 32 +#define __WORDSIZE_TIME64_COMPAT32 0 +#define __WORDSIZE32_SIZE_ULONG 0 +#define __WORDSIZE32_PTRDIFF_LONG 0