From nobody Sun Feb 25 00:58:32 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 4Tj53D55Zwz5Bxbx; Sun, 25 Feb 2024 00:58:32 +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 4Tj53D3kyvz4tP5; Sun, 25 Feb 2024 00:58:32 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1708822712; 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=FN4nBArQBZ32BeaManF68ZlvgyQ9RuUqomwIUTcxkGQ=; b=qu7s5k+yHHWxpa5veAV8huZTaP12p3MUS/JBLKr/NostoKIV72lYCdpHbpqqPzX4+EDmF1 rUQVHA33gnhVBg/3dyKApjgNWC1ZCBzDMhB4tzrdoQOYJjrk7sYGsY/mlPXl2RRGPD02av 1xP/9enS4CHSF4rerWxfN/8B1CILbfeh5i1EddKWPwndLGndD/kJSQzU7TaWK0m5PP9UqP mwe3eennskxHhKcJ/o3bS7k5EWyVyVpAXd4pMDP5FizDc09i0vAMcx9P91mHrbnRl7xxf7 neTBxGfdcrFupzM8w3Mi9gNK97WAAQ5y68NJwHmlfij1XCCMGyUQJnMoE/E3KQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1708822712; a=rsa-sha256; cv=none; b=xrE8GSRmnuww0QLGYhxf8Y4a94ur+Zz30g5cUCXQNwqgh0hLHyuBI+/+wy7Nk25MdeIvmR OC2nqFTEWlb3OELQRHlIKxlHWeWzxjTCZRZetyF3RZNzp1QC+BGKuJ30A27anRwO0Hp901 PLv3rQFKhigh8MzicSSLseJasSEkhH2h177oAQDZ+hdsZW1cftDhkKrmQ8fI4vJGYUZh69 IfY/Tl+yyv+eBem3v6r8cMcTZN/Uf/ZzXVhi5xbqmrAafTtS+5wi+KWnwIJm5rV1cY1OY9 oUaR7K4GHjo4SYMLfoCkdZcNQvyajcj1RZpdeAuq7TAioJVhUzWBbpE2NCa4BQ== 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=1708822712; 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=FN4nBArQBZ32BeaManF68ZlvgyQ9RuUqomwIUTcxkGQ=; b=hoC5n+fhFqJf3i+4YvSvc6ql7o3e1Lmnt+g85cZiOELaGjZlPqwTTYo+Dlq0t/9M3wMgU4 DZSU0rE1DZIPKYDnbfhRvEhiLaJ6GK0bN1qYcgjwQpJ3gn0+zfAD1ufEPBKFbRmxVtvsAx NCm8UaZCETF3VmuFilK/X+7RA708bsLc3fl40VfDVvb+tDtxVNgUSBZNgh4kM/vidkhktA UvRGyedFcK8TeoXGp/BzNnb7zjBPWneuQWbgbcROKcGDZGjUUEIRMl7A1sY35WBKTQYOxs AkVDuad9A/eKlH467toPQ+7Z//RG8YmfNOIaBlj9mpv7EM3VFZELVnHsozDyjQ== 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 4Tj53D2qCVzNH2; Sun, 25 Feb 2024 00:58:32 +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 41P0wWeX081705; Sun, 25 Feb 2024 00:58:32 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 41P0wWut081702; Sun, 25 Feb 2024 00:58:32 GMT (envelope-from git) Date: Sun, 25 Feb 2024 00:58:32 GMT Message-Id: <202402250058.41P0wWut081702@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Warner Losh Subject: git: ec6cbe468fb3 - main - loader/kboot: simplify linker set inclusion a little 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: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: imp X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: ec6cbe468fb364a763fdea3a2803481624702cad Auto-Submitted: auto-generated The branch main has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=ec6cbe468fb364a763fdea3a2803481624702cad commit ec6cbe468fb364a763fdea3a2803481624702cad Author: Warner Losh AuthorDate: 2024-02-25 00:56:56 +0000 Commit: Warner Losh CommitDate: 2024-02-25 00:56:56 +0000 loader/kboot: simplify linker set inclusion a little Linker set sections are included by default. No need to do so explicitly. These were bogusly copied from the efi ldscripts. They were there due to a workaround introduced in 2002 by peter@ for a gcc upgrade, but whatever bugs necessitated it were filed by 2010 when rpaulo@ imported the i386 support (though they were copied even though the objcopy retained them correctly, the gcc bug having been fixed). They've never been needed. Sponsored by: Netflix Reviewed by: tsoome, kevans Differential Revision: https://reviews.freebsd.org/D44060 --- stand/kboot/kboot/arch/aarch64/aarch64.ldscript | 11 ----------- stand/kboot/kboot/arch/amd64/amd64.ldscript | 11 ----------- 2 files changed, 22 deletions(-) diff --git a/stand/kboot/kboot/arch/aarch64/aarch64.ldscript b/stand/kboot/kboot/arch/aarch64/aarch64.ldscript index 62b7d2b6be01..9460be1874bf 100644 --- a/stand/kboot/kboot/arch/aarch64/aarch64.ldscript +++ b/stand/kboot/kboot/arch/aarch64/aarch64.ldscript @@ -34,17 +34,6 @@ SECTIONS *(COMMON) } . = ALIGN(4096); - set_Xcommand_set : { - __start_set_Xcommand_set = .; - *(set_Xcommand_set) - __stop_set_Xcommand_set = .; - } - set_Xficl_compile_set : { - __start_set_Xficl_compile_set = .; - *(set_Xficl_compile_set) - __stop_set_Xficl_compile_set = .; - } - . = ALIGN(4096); __gp = .; .sdata : { *(.got.plt .got) diff --git a/stand/kboot/kboot/arch/amd64/amd64.ldscript b/stand/kboot/kboot/arch/amd64/amd64.ldscript index 4009ba5fa81c..f8ba7b05a55a 100644 --- a/stand/kboot/kboot/arch/amd64/amd64.ldscript +++ b/stand/kboot/kboot/arch/amd64/amd64.ldscript @@ -34,17 +34,6 @@ SECTIONS *(COMMON) } . = ALIGN(4096); - set_Xcommand_set : { - __start_set_Xcommand_set = .; - *(set_Xcommand_set) - __stop_set_Xcommand_set = .; - } - set_Xficl_compile_set : { - __start_set_Xficl_compile_set = .; - *(set_Xficl_compile_set) - __stop_set_Xficl_compile_set = .; - } - . = ALIGN(4096); __gp = .; .sdata : { *(.got.plt .got)