From nobody Wed May 22 08:31:57 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 4Vkl0F3D46z5LD06; Wed, 22 May 2024 08:31:57 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Vkl0F1t98z4j6q; Wed, 22 May 2024 08:31:57 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1716366717; 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=F69tYcE7FA71GpWO5ITAtaYNy/fzZwq/D8nMQCBJI8s=; b=v7RQSnQS+K3pA9c3Ed/G4VbeQsZN7DI4g/XaW6naBplFui71IZVkTuGCL/d9SgmpmUtpkq jm3M2NfWZTuQ4ZCUyI1n6RditEx6gr+wizXRZTinFjeqMrSyGpkki5AgPV7Vr3ZKetBFjr EnvYB2RpHWPSRwrK2goZ4h8lEiCAz1HJrjr2Hnvg+LUyJbZ687GhuOJWB35bBdDX4bMoM1 IH9weC/YTdiMksRlHpdKB1BBllnkUenL6qNkGkG/QF0KiXGxNx4EOnl4O3joVSPsoPVLEj wNIaBOcUtNq9mfb/guFNMBzRCaBbTcMGvbJHFAnWimu6ra/8aGCS8bsG7FVFrg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1716366717; a=rsa-sha256; cv=none; b=cg87x48exSpqOwHP84lJewa2/gezEszc55vdTLHqcFndQld0+OF1t/z5xWt35OwbAFgnd2 SJ9TefFoxd/1TAKx2Gv7cT4Gg9mxfuec+dpgzKz/YYnJjwCPEUT6e3HR5K69ZOrvkcOfbT acNCDc2Q4+UUuAfkdoiYNSsfQfJuBQpbTADM0UloQNSPbl2RfOjOF1Ouibd8LjED+K27L6 YZoRDRCq5w7CSwePNWpI7EIf9px0CNfaTiU75kmHFmJwCf3//A/7BEHey8fmc/z4lS7thT vStZu5NZEGi+1MP0L5l9DxUFvFV/kQ68WojDbDteAisf7idvamL8zCysOl+0zw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1716366717; 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=F69tYcE7FA71GpWO5ITAtaYNy/fzZwq/D8nMQCBJI8s=; b=DqH5MoYH6jitDI7yToL8pv4z9c7P8JJs0paGb71MpigptAueiNkg9Fwystgp9XKxS3cCLc WcjIytiiEoIrzzlPbSub6+QlHPYuzHnePQaKAyPEQdipbJuQ0r6Yy8YVPpw+5SUBd5U4i5 QLQvKjeVbvaBDdpURO62NTs/jEKflcCZT1t7jmhAMuL2trO5+t3Cc/jWurVVobGizHA/cy FpOxENLnItEi+mrq/hFSxr31iE51JRQOktERas1OUjiYy8GiJtKNbfA4xt/qTUaLW1zvgP LQ/+5pm67HOO1mBTB3nCeWBDQ+s6ougruW68XkjQS1cBU3dvtA+W99e7AuewRA== 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 4Vkl0F1TdWzyG0; Wed, 22 May 2024 08:31:57 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 44M8VvbE008719; Wed, 22 May 2024 08:31:57 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 44M8Vv9U008716; Wed, 22 May 2024 08:31:57 GMT (envelope-from git) Date: Wed, 22 May 2024 08:31:57 GMT Message-Id: <202405220831.44M8Vv9U008716@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Andrew Turner Subject: git: 8e82c5e28db6 - main - stand/kboot: Fix the linker script OUTPUT_FORMAT 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: andrew X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 8e82c5e28db6fb19f75d10fd2e7c3db784723f1f Auto-Submitted: auto-generated The branch main has been updated by andrew: URL: https://cgit.FreeBSD.org/src/commit/?id=8e82c5e28db6fb19f75d10fd2e7c3db784723f1f commit 8e82c5e28db6fb19f75d10fd2e7c3db784723f1f Author: Andrew Turner AuthorDate: 2024-05-22 08:17:52 +0000 Commit: Andrew Turner CommitDate: 2024-05-22 08:17:52 +0000 stand/kboot: Fix the linker script OUTPUT_FORMAT ld.bfd doesn't understand elf64-aarch64 but does have elf64-littleaarch64. Switch to this so we can link kboot with it. While here switch to the single format version. We are unlikely to support booting from a big-endian Linux. Reviewed by: imp, emaste Sponsored by: Arm Ltd Differential Revision: https://reviews.freebsd.org/D45258 --- stand/kboot/kboot/arch/aarch64/aarch64.ldscript | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stand/kboot/kboot/arch/aarch64/aarch64.ldscript b/stand/kboot/kboot/arch/aarch64/aarch64.ldscript index 9460be1874bf..dd551247125b 100644 --- a/stand/kboot/kboot/arch/aarch64/aarch64.ldscript +++ b/stand/kboot/kboot/arch/aarch64/aarch64.ldscript @@ -1,4 +1,4 @@ -OUTPUT_FORMAT("elf64-aarch64", "elf64-aarch64", "elf64-aarch64") +OUTPUT_FORMAT("elf64-littleaarch64") OUTPUT_ARCH(aarch64) ENTRY(_start) SECTIONS