From nobody Tue Dec 31 19:54:27 2024 X-Original-To: dev-commits-src-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4YN3Zr1gd9z5jwlc; Tue, 31 Dec 2024 19:54:28 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YN3Zr0w5wz4sxY; Tue, 31 Dec 2024 19:54:28 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1735674868; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=/7gm6rMaQ12OBcz+hcjSq3MFnwy3ryl1paRWqR69cKU=; b=PMpNq3p64Kr5HX1Gvqo3qAXpQ//7KBSpLuI7WK+fbABZ+GstMywhmw30Mf/8s/JbEVPVRb z6wJGkMuo3DE5Q0OFJ2ngn4Un5OKuK9FenHLB2U7BZTkjFH61VRl7s/7J0FZToXI3iQkeJ 1h7fb/bVRseL1Ct4ajdWDIeste8g1D15oyM1G/369fpnhELG/4tWKl4r6+RJBYviyZ0Rtu h5Md/Rr7K3rvtiGeq6X7od6y3H/72RgloSMhc5NjrTS4b5VsTBV50Qu3pnnAdW6hEn9qD4 MIdMFbYP/l+YinUAGo9HfvQrCBTPDflimlZcNT0ePDIzNT8CKMSOPJ+/Qdh9Bw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1735674868; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=/7gm6rMaQ12OBcz+hcjSq3MFnwy3ryl1paRWqR69cKU=; b=HLe+UsRL1sQ+imHVPY6FMe7lsK4SVsg8PeTpUEqE7GdZ5+TFz4qY+r5G42GH7lW62MCj1I WfHmgrV2zknVIOC3cJ4WbXlJiaQ7x8QaWMUf9fOpT9x0KQkKmT9PzyIpkftFuJYAcJRFJ6 tKIaQw0WPlsL1XX8EpgXxy3kuiXO+PffpGv8BpGcrtI1fW+SdTG+sPcLkUfdQV4gkZsfs9 n+YeoMsL4dTpU/dCjeu3jhYEgSEjySd7RlH1ueDHJ0xdy2eeqA7KoQVx014uDdfIzEQYa4 aq9hV++xClVofieplpruDE+qrj53BUWwkoSrkvYGfyKTPGwJPHpodror8YA/Vg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1735674868; a=rsa-sha256; cv=none; b=oB38PVce1MpvDZtBlwFpxcUYT4LJwJfUDdcBUAIq4q/mLay1v9WcHEfGM6NB7zHCk//jRO FwQydwKLQnh+hk+CtkYKqewWZwp0iu1/mEO6Hz+Z08RV5Tm+q4WK6aHCUR1si3Cd13urgx ROEKaudBZgnfjPkA4chMvx1mhoSRx1kYTUbq2UKlPWgSjvFMVAFZn8xby8Mt8AUKnwDOyA sisoid1Ye87D0lRslI5lXNwL0Zg1qEyVaOgrG0FP80P6M04dESlqgw7RbPhc7RP6kwJRVQ sonxqAm0IIi4QvXIzKpOO9tcKpecw/Cz0Xq+eCm0nNIvmmlg4ZqOkH/6il49tw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4YN3Zr0PTqztcy; Tue, 31 Dec 2024 19:54:28 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 4BVJsRGg035907; Tue, 31 Dec 2024 19:54:27 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 4BVJsRMM035904; Tue, 31 Dec 2024 19:54:27 GMT (envelope-from git) Date: Tue, 31 Dec 2024 19:54:27 GMT Message-Id: <202412311954.4BVJsRMM035904@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Joseph Koshy Subject: git: aac74b708b3d - main - libelftc: Fix a typo - FreeBSD's riscv port is little-endian. List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-dev-commits-src-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: jkoshy X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: aac74b708b3dc49466b0fb5365bc2923b7727a1c Auto-Submitted: auto-generated The branch main has been updated by jkoshy: URL: https://cgit.FreeBSD.org/src/commit/?id=aac74b708b3dc49466b0fb5365bc2923b7727a1c commit aac74b708b3dc49466b0fb5365bc2923b7727a1c Author: Joseph Koshy AuthorDate: 2024-12-31 17:53:16 +0000 Commit: Joseph Koshy CommitDate: 2024-12-31 19:53:05 +0000 libelftc: Fix a typo - FreeBSD's riscv port is little-endian. This change brings the descriptor for target "elf64-riscv-freebsd" in line with its documentation. I missed this somehow when reviewing https://reviews.freebsd.org/D20768. Reported by: Haowu Ge (on elftoolchain-developers) Reviewed by: emaste, imp Differential Revision: https://reviews.freebsd.org/D48271 --- contrib/elftoolchain/libelftc/libelftc_bfdtarget.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/elftoolchain/libelftc/libelftc_bfdtarget.c b/contrib/elftoolchain/libelftc/libelftc_bfdtarget.c index 5bbf89ba78fa..3f2c23708549 100644 --- a/contrib/elftoolchain/libelftc/libelftc_bfdtarget.c +++ b/contrib/elftoolchain/libelftc/libelftc_bfdtarget.c @@ -334,7 +334,7 @@ struct _Elftc_Bfd_Target _libelftc_targets[] = { { .bt_name = "elf64-riscv-freebsd", .bt_type = ETF_ELF, - .bt_byteorder = ELFDATA2MSB, + .bt_byteorder = ELFDATA2LSB, .bt_elfclass = ELFCLASS64, .bt_machine = EM_RISCV, .bt_osabi = ELFOSABI_FREEBSD,