From nobody Mon Jul 15 12:38:24 2024 X-Original-To: dev-commits-src-all@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 4WN1vh2dzSz5Qrh5; Mon, 15 Jul 2024 12:38:24 +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 4WN1vh1jx4z4HXj; Mon, 15 Jul 2024 12:38:24 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1721047104; 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=+s1agdcM/G/uR0LIjbwTBJkTvqcte5HqNfJKREhx2sE=; b=Q4Tsviitky87WXsMG56EFh2n04ex8yuYpWZMWwGRtfiwS75nR2dpX1iZiqV6a2khJD9pnF QBh0kPfX6v0KdXxAHuvH5Rgr9PcdUwmLg2w6Fou/m3DQwRF4NT2pBk2VR1r5DOy6EuSwkf gVrfbsof/ZczOLhw0XK7MMDLzuTU2v+AFhYjpVFl2fG8GN7gKsoWolkjxhC13xTfg3MA5a 2JmWDEqF4j/bo3SRniJU9tGVtSgzIdV+FFoRiWCF1LVJoLdaUNYT/o40zWtjdNdQPzZa8h /4vsjTuAluyN8EO+pCH675l1U6QWWjBPJMVO3VewKgyR1fQ0tNG8Q78En8i5xw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1721047104; a=rsa-sha256; cv=none; b=fq8x+q2ls9gRZt0A5/N9A0OvoMd4nI45sBCDAPDx6/ExE7xCJJj17u1w9+cBeW9gWGzx0r wfQewZwkWL9+yS5EMQvm9OkwRdu4iqyWFZlSX2ckfFzDi7PiEehll+oK4F4JJKpfNS5goN KwJM6psdPPjMrzovT2OexdSbQUvq5XQi77yBwrFGPUBJgWHwbUTP9QboBj5nx7GmvIlYO6 DHl/v5dYAkOCsC6X1K3GeqiMI9/Hh58g38J7AdwOJEtBQKYeGD2cFSKcp2p3/MYzMKSdyo a7mAPwDCqnogl49yABGmKLtdOEBw4r+bvVSTOPHqud7EQ66OSrV2EkGsyFtSZA== 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=1721047104; 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=+s1agdcM/G/uR0LIjbwTBJkTvqcte5HqNfJKREhx2sE=; b=IM0niJxoxFm0OmELopxYZa2Un8Eoj5XdmZJgdAWEji1uQEZZPv5f+26637YV9+70V0rKhz jJc/vxFkShLDUYKeBzpHenvWkaP39pdyXDwFgPjSPpAKiRKbf7sKip2ddvPgCppJYQZAwX +DldTAtEChjd2NVH5cjd9qWu3FLpENwoInTDuCqcWSLZZy5DxsKXHhVvdxbyx0eyT6mKdD hHKJMJgu/zOW56bL7fDrT8fz4L1weXFIy6LBZlIgQIJN0I7BclbcSsAsNhZECYIEX3MBaE 6WPTzePc+3Ow4eelplBWZt9BRfA3YZgi1FIynj6fcAFsIGttXnyLXiUGVl36xg== 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 4WN1vh1LRVzspF; Mon, 15 Jul 2024 12:38:24 +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 46FCcOQu061182; Mon, 15 Jul 2024 12:38:24 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 46FCcO2p061179; Mon, 15 Jul 2024 12:38:24 GMT (envelope-from git) Date: Mon, 15 Jul 2024 12:38:24 GMT Message-Id: <202407151238.46FCcO2p061179@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Andrew Turner Subject: git: f94f593ca78b - stable/13 - stand/kboot: Fix the linker script OUTPUT_FORMAT List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@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/stable/13 X-Git-Reftype: branch X-Git-Commit: f94f593ca78b77ca2ea2c4e7a983a8de0d9709f3 Auto-Submitted: auto-generated The branch stable/13 has been updated by andrew: URL: https://cgit.FreeBSD.org/src/commit/?id=f94f593ca78b77ca2ea2c4e7a983a8de0d9709f3 commit f94f593ca78b77ca2ea2c4e7a983a8de0d9709f3 Author: Andrew Turner AuthorDate: 2024-05-22 08:17:52 +0000 Commit: Andrew Turner CommitDate: 2024-07-15 12:34:29 +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 (cherry picked from commit 8e82c5e28db6fb19f75d10fd2e7c3db784723f1f) --- stand/kboot/arch/aarch64/ldscript.aarch64 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stand/kboot/arch/aarch64/ldscript.aarch64 b/stand/kboot/arch/aarch64/ldscript.aarch64 index 62b7d2b6be01..efe787164c20 100644 --- a/stand/kboot/arch/aarch64/ldscript.aarch64 +++ b/stand/kboot/arch/aarch64/ldscript.aarch64 @@ -1,4 +1,4 @@ -OUTPUT_FORMAT("elf64-aarch64", "elf64-aarch64", "elf64-aarch64") +OUTPUT_FORMAT("elf64-littleaarch64") OUTPUT_ARCH(aarch64) ENTRY(_start) SECTIONS