From nobody Tue Apr 16 20:13:18 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 4VJwG71LyNz5H0l4; Tue, 16 Apr 2024 20:13:19 +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 4VJwG65Rc1z4v2p; Tue, 16 Apr 2024 20:13:18 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1713298398; 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=Qg81K7hqiPCOxork4eq1C63kjwEg+4KlbkItk3Tbnkk=; b=l6ZtfOKogMvlumiR/i0nqTpMnyYHXdi4TxH66BVMpnbIt1dH6KW66bj/EDWqFo/2e70wr5 ITiqaOnm+XAgzZZqxZj6cgXzS4GcHq3C3lVBZu6Vt+6KU0sPCp/kqrUgWu0KBTNvaZWiNC WpHNFOE8B0xiHjcqHFGX0CrvSa/2lFivTbvbV2HP2nhJLG8h6BmY3BalGVb2wZvYD/BHl/ neamH4t/5rmqu3CQ2XXejoeCTSjcMpobeIjVaLTij3RG8cpPN2PpWHpnqVGLdFkUStCcS8 V3sMxHWw8+CMvpG2b+HhQV8Dmd0+NrMs76ycKhKGW89V5/jF1c+EFzFNMR8R2A== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1713298398; a=rsa-sha256; cv=none; b=Gc++ARIkFPOdvbKYWejzKdPR7TEwg8aFucA17dcTDSmkzSiqod0XK2tnuNlF/k4gWfo/Nt RVpbUdWWUVSkhWj7KPrXK8JUNd4t55+H6y5z9uAEePY0cfQK+19JObjEIXpHZuvcoOLZ2a 6LdU99gMa6OuxVV2lDw7YthOHlJgt0gCcPyM2ewCOCeF6qDIxwESAFrPwbN4rupByGWQyl crobJdgkb2zk9hSh2nhpuwg42WTpHg/wrsGNf1VlmSCQCP3yx//AGoc4gw6aABcR3mGY+7 R5Tpgpj9ALcR2cqjPKPs0B4xp/Uj2h6z/w1pme9yZF0Mh7sSb8ViDio+3ELRRA== 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=1713298398; 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=Qg81K7hqiPCOxork4eq1C63kjwEg+4KlbkItk3Tbnkk=; b=JRW6KRvi2VnJchfUd8r08pYX6NEpoDyA2VSRimcgKUX7Y7CS1rAIQuWBJ4UxYbjZYyVDzs ITeMyOv/CIxTAb1GHYcStaw99/q4ssppMdZA4AoRIfX1uODEIIVVhHkLwHesg7HoxY7ltR 4e/blF5R09mMzzue/pLBEjTK7RgD7LPsTQvFpU8QJKNN4xQvL+CiOl2kX1iWBlVofueKQZ vojZtRISCjZZn6pQGaZ1i2xc9YpQbv1R0iVJeqXBWkfPKgcTMnD12Lt5qHu1uQLFgshuXa D/sNOJ6cLuh83+Hr/esTP3avT+GUMwNiB+pZ1nZaiHdoloNNrTAV2/72cgupgQ== 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 4VJwG64ltJzxJY; Tue, 16 Apr 2024 20:13:18 +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 43GKDI8H039245; Tue, 16 Apr 2024 20:13:18 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 43GKDIhE039242; Tue, 16 Apr 2024 20:13:18 GMT (envelope-from git) Date: Tue, 16 Apr 2024 20:13:18 GMT Message-Id: <202404162013.43GKDIhE039242@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Warner Losh Subject: git: 851c8f5707ac - stable/14 - 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: 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: imp X-Git-Repository: src X-Git-Refname: refs/heads/stable/14 X-Git-Reftype: branch X-Git-Commit: 851c8f5707acb22e200c4839c20f4644f018b4cf Auto-Submitted: auto-generated The branch stable/14 has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=851c8f5707acb22e200c4839c20f4644f018b4cf commit 851c8f5707acb22e200c4839c20f4644f018b4cf Author: Warner Losh AuthorDate: 2024-02-25 00:56:56 +0000 Commit: Warner Losh CommitDate: 2024-04-16 19:54:27 +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 (cherry picked from commit ec6cbe468fb364a763fdea3a2803481624702cad) --- 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)