From nobody Mon Feb 9 15:50:22 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) client-ip=208.118.235.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org Return-Path: Received: from lists.gnu.org (208.118.235.17 [208.118.235.17]) by mx.zohomail.com with SMTPS id 1519344990869547.5138425622308; Thu, 22 Feb 2018 16:16:30 -0800 (PST) Received: from localhost ([::1]:41785 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ep12B-0001Z9-S0 for importer@patchew.org; Thu, 22 Feb 2018 19:16:20 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58392) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ep10A-0000sP-4r for qemu-devel@nongnu.org; Thu, 22 Feb 2018 19:14:52 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ep0zc-0004yI-8v for qemu-devel@nongnu.org; Thu, 22 Feb 2018 19:14:14 -0500 Received: from mail-pg0-x241.google.com ([2607:f8b0:400e:c05::241]:42932) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ep0zb-0004wU-V4 for qemu-devel@nongnu.org; Thu, 22 Feb 2018 19:13:40 -0500 Received: by mail-pg0-x241.google.com with SMTP id y8so2663099pgr.9 for ; Thu, 22 Feb 2018 16:13:39 -0800 (PST) Received: from localhost.localdomain (125-237-39-90.jetstream.xtra.co.nz. [125.237.39.90]) by smtp.gmail.com with ESMTPSA id u9sm1769551pgb.11.2018.02.22.16.13.35 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 22 Feb 2018 16:13:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sifive.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=yChFABYibKe8P1Dgz3CoxDQYZ0n1BQKjJip+1C9h5S8=; b=fVJVUp96b70258et023E6vvEfsb/Sh8x06lxW9iykxo/jCylq8nNPinj2HOP+Z7KTI 8nF0kAv4U+fC8+KSPX6HViq0Q7mdp6X7dqScobPuB7hOKWn1iBi4SuQ5ao7n9fy7rIjj HDVqvJwcH9bFG0lNJZh4NRKGc4bpKxvpd9xaNkoReCivzOjtl6M5kQX+QLYeWzVtC6Sq rdoPYxBzym0fQNuerR8oGjtTi8xA/Pz7BuP+FTegjtrNsw3UeTTWhVdkPZ5aO4BCHbx9 lrY6JxqHL2RM2BtSuq6/nzTZrfcOW4OlChCTX1X6zS/cuWQbloF/cyBB7sDeeRWtaBxa 3ijw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=yChFABYibKe8P1Dgz3CoxDQYZ0n1BQKjJip+1C9h5S8=; b=ekKgpnSqudNeuOs3oIC/pWrUqkbnhxp1TooF6vGaa8lk1SCiRhMate0c5Ne2tFv608 bN6/Gq7zBBSmUDwdMJXtr3nLnpQRzsy0Tv2x5mpaePsC9eEXynUpDVuHn608dEee0QW1 ddtFSAZ+Rcalz/2JCPcpMmMT4Tvcgu2MQ+pS8bJh/AXcm2Khw7ZzP1ONCk8A4IQIyLEx S1+6VTSwXmDRxiwFu95EWt/Ks8qymAwEZss7M6Tnjgrh9JSaF3sD/C3XOU5ZbwM0JZ3r 3Nt8c6Kxlmp0ap1VnL/0o76YNJuG0INa5vObKLbhuESTC0CgmLcOKFUzMi+z9gcMT8CC 2TOg== X-Gm-Message-State: APf1xPAnrfVbBqQjGhIDQlCgRKn2hO8fMmmbK6Ym9PcigguJRIYmd4uk d4Y7CrD6dufl/g3JwcgRRRGtMtxqW64= X-Google-Smtp-Source: AH8x226gFfbeFBBwhhakNPWVuJXIHbzhThJeMQ+N5flpREN0fMyTgLuS3CBiFgfD+64iEdDhwCg2Mw== X-Received: by 10.99.109.77 with SMTP id i74mr6862155pgc.73.1519344818394; Thu, 22 Feb 2018 16:13:38 -0800 (PST) From: Michael Clark To: qemu-devel@nongnu.org Date: Fri, 23 Feb 2018 13:11:48 +1300 Message-Id: <1519344729-73482-3-git-send-email-mjc@sifive.com> X-Mailer: git-send-email 2.7.0 In-Reply-To: <1519344729-73482-1-git-send-email-mjc@sifive.com> References: <1519344729-73482-1-git-send-email-mjc@sifive.com> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400e:c05::241 Subject: [Qemu-devel] [PATCH v6 02/23] RISC-V ELF Machine Definition X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Bastian Koppelmann , Michael Clark , Palmer Dabbelt , Sagar Karandikar , RISC-V Patches Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZohoMail: RDKM_2 RSF_0 Z_629925259 SPT_0 Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Define RISC-V ELF machine EM_RISCV 243 Reviewed-by: Richard Henderson Reviewed-by: Alistair Francis Signed-off-by: Michael Clark --- include/elf.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/elf.h b/include/elf.h index e8a515c..8e457fc 100644 --- a/include/elf.h +++ b/include/elf.h @@ -112,6 +112,8 @@ typedef int64_t Elf64_Sxword; =20 #define EM_UNICORE32 110 /* UniCore32 */ =20 +#define EM_RISCV 243 /* RISC-V */ + /* * This is an interim value that we will use until the committee comes * up with a final number. --=20 2.7.0