From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pl1-x630.google.com (mail-pl1-x630.google.com [IPv6:2607:f8b0:4864:20::630]) by sourceware.org (Postfix) with ESMTPS id 3F9FF3858D28 for ; Tue, 2 May 2023 03:51:54 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 3F9FF3858D28 Authentication-Results: sourceware.org; dmarc=pass (p=reject dis=none) header.from=google.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=google.com Received: by mail-pl1-x630.google.com with SMTP id d9443c01a7336-1aae90f5ebcso18305ad.1 for ; Mon, 01 May 2023 20:51:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20221208; t=1682999513; x=1685591513; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=KWHmzk0/8leLKMQI15LIni9Ndt9zoudw9nSQKQcmdQg=; b=1eruWi7n6YSri7USvcpXdt1kykRtxWyDJQSx3hR1iKyRDeV3U30PYhm+BN3bhCfNF8 h/d2KpxApqcrFm/9IQ3Ly5EVMnTN9NP2E3e70qzVs4OezxFBqiFh8qL/MrkVs3g/+xSt uE/lwuo0k98A7Lsx2zj0mFgj9f1I7NKVkNGVDSQzJF6Ii6ZmBK1IDVvv6EC7oHnlZnrN GNCr78IKdsCyymprEj+YWizHhbDQs3V1lIZRoC376S2WKgyfU48A/zivA3o6NRsSpU8J +LxhXWnEGTgCuJLK4oOYV+D1cWykc/MQFdKd8bXhi34wGZVHotOJ1sRtvbeYnJ5W6Z6w NfYg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1682999513; x=1685591513; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=KWHmzk0/8leLKMQI15LIni9Ndt9zoudw9nSQKQcmdQg=; b=A4/CRiTrlZ47U+xaiYSmpoS94auIXOIRcBQKzbirYJ1L7ndfPG6dhhkOLJsDxMRpAm fi7gYOqZSB0LIDppG271axCPXJD5nCUDY885ndAZsccfiJXWJhyXJH3YZzhZHOmnoXZ6 oIFkxPPVF+YRJ7EcrZiPjkFrHigCusVmgiAVbg2oTklOHKabJgB4ys5qeILZNYQhW6WG dimr3RWENIn8GnGFtjBC/sh6zIrKjYH7o8x5H2SnJbnBMKMSbxD6oXrQPEzwal1cM4Y7 VniIPXElt486l1ymSFxwNJwrQvnPMLdNFFowBgb6XURbXl1/iRMcyez3ihq+Ihiur1ZN 2S3Q== X-Gm-Message-State: AC+VfDzHXkeG+eASiB0HpskHI+ocbw+rnKB+/DvpfdgMZqippOsJyRiF /W7ho8AMJq7j/1v0jvaVfEM7LJj1a+ns/XGqGl+xPg== X-Google-Smtp-Source: ACHHUZ7h3zznrc1Py0AJUVNQ7VW6QQQgerr5cGV2zB//R7RhXBNOyXYrY0ZZao7wRPz73zA++77ZdiLkPYiSHDW/GPE= X-Received: by 2002:a17:902:e74a:b0:1a1:c3bf:810b with SMTP id p10-20020a170902e74a00b001a1c3bf810bmr157221plf.6.1682999513149; Mon, 01 May 2023 20:51:53 -0700 (PDT) MIME-Version: 1.0 References: <20230501234739.7264-1-palmer@rivosinc.com> <20230501234739.7264-5-palmer@rivosinc.com> In-Reply-To: <20230501234739.7264-5-palmer@rivosinc.com> From: Fangrui Song Date: Mon, 1 May 2023 20:51:42 -0700 Message-ID: Subject: Re: [PATCH v3 4/6] elf.h: Reorder DT_RISCV_* To: Palmer Dabbelt Cc: joseph@codesourcery.com, libc-alpha@sourceware.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-23.8 required=5.0 tests=BAYES_00,BODY_8BITS,DKIMWL_WL_MED,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,ENV_AND_HDR_SPF_MATCH,GIT_PATCH_0,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,TXREP,T_SCC_BODY_TEXT_LINE,USER_IN_DEF_DKIM_WL,USER_IN_DEF_SPF_WL autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: On Mon, May 1, 2023 at 4:48=E2=80=AFPM Palmer Dabbelt = wrote: > > These match the MIPS ordering. > > Reported-by: Fangrui Song > Signed-off-by: Palmer Dabbelt If you push a revert for 117e8b341c5c0ace8d65feeef136fececb3fdc9c instead, the "Remove duplicate" patches in this series can be avoided. You may combine the "Reorder .." patches as well. (Feel free to remove "Reported-by: Fangrui Song", the information may not be useful in a commit message...) Reviewed-by: Fangrui Song > --- > elf/elf.h | 4 +--- > 1 file changed, 1 insertion(+), 3 deletions(-) > > diff --git a/elf/elf.h b/elf/elf.h > index 4c61d3a5ee..f9d169e4e2 100644 > --- a/elf/elf.h > +++ b/elf/elf.h > @@ -3933,9 +3933,6 @@ enum > > #define R_TILEGX_NUM 130 > > -/* RISC-V specific values for the Dyn d_tag field. */ > -#define DT_RISCV_NUM 2 > - > /* RISC-V ELF Flags */ > #define EF_RISCV_RVC 0x0001 > #define EF_RISCV_FLOAT_ABI 0x0006 > @@ -4017,6 +4014,7 @@ enum > > /* RISC-V specific values for the d_tag field. */ > #define DT_RISCV_VARIANT_CC (DT_LOPROC + 1) > +#define DT_RISCV_NUM 2 > > /* BPF specific declarations. */ > > -- > 2.40.0 > --=20 =E5=AE=8B=E6=96=B9=E7=9D=BF