From owner-svn-src-all@freebsd.org Sun Dec 29 18:20:27 2019 Return-Path: Delivered-To: svn-src-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 2BC2D1E5E8C for ; Sun, 29 Dec 2019 18:20:27 +0000 (UTC) (envelope-from ian@freebsd.org) Received: from outbound3d.ore.mailhop.org (outbound3d.ore.mailhop.org [54.186.57.195]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 47m84V5R6Lz3wx7 for ; Sun, 29 Dec 2019 18:20:26 +0000 (UTC) (envelope-from ian@freebsd.org) ARC-Seal: i=1; a=rsa-sha256; t=1577643625; cv=none; d=outbound.mailhop.org; s=arc-outbound20181012; b=n+1/UZZVm3UwwSgl1PB2bZshTPs06v8pnD0D2zyTT1sDlCqg5nv+fjNT2ArP6vEtNz3xvfXh+eFDz xiahk3YDHED5LWkG5Z4fTJSh75HWF0aiW5CDAUaVHCaXDxzINrtxPx1+doJJ6ig8XESFWOKWnm+aP8 OQL8Eb1M8o/qV09ep5jON5mAcvmMauiomiyYSbViJF22d0CwAe+pOmnUn/vz3PByyzpEBWdGUqnsNJ hCjJjAvOj39H6AAUTDLz1MSvvSSCAR9gOMhEzIsi5pIi+dMUI7MeK9TUoTUp7Xfvfq9exI1ZvBxtGL yP6ypeAETYQfZ1N8FqlQCAMPDKbugxw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=outbound.mailhop.org; s=arc-outbound20181012; h=content-transfer-encoding:mime-version:content-type:references:in-reply-to: date:to:from:subject:message-id:dkim-signature:from; bh=dStzFAHkojz29cfrU0S+vw+RMomjdsWUw8VuV0v8JPw=; b=AcGpme/FkyhbSREMbDgZS0CE74ObqTxstf6g9TOip+j7VfgYG7gSJ4tUuSU/2XnmgmOe9X+LYmG6a F/J0cPoUi6KyG2Bsgr929NN5MLzjWLFceXy4QdEmm8B4XZB8w6IitKTxhsNeECqLDWA6bxLWWIW4yK DFb3XaP4YFEDwy9WFQkQepSf47TQgb5hVBkzDfF+l2Hs+0jK+KN76k/ajSThCwFRdKvoZlZoxOQydT J+vz4UPl03LAVhiAO67TVAkiFAO9ElwD/1NEbEnu/Mg6d3J+gGX49vyXi3W9uZXjpzEyJmezRcsNgl BB2tl1ClQ8rbHzdeCIMIdjG+vkkMEHQ== ARC-Authentication-Results: i=1; outbound3.ore.mailhop.org; spf=softfail smtp.mailfrom=freebsd.org smtp.remote-ip=67.177.211.60; dmarc=none header.from=freebsd.org; arc=none header.oldest-pass=0; DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outbound.mailhop.org; s=dkim-high; h=content-transfer-encoding:mime-version:content-type:references:in-reply-to: date:to:from:subject:message-id:from; bh=dStzFAHkojz29cfrU0S+vw+RMomjdsWUw8VuV0v8JPw=; b=B4OdSDURfnbbkTpzI9D190C6aDn0nB9j3n+fT/1QjQ5HsRilvu6qczn2Ha5PiDCHsO8m5P+rDcQvn 6HAHcc3JUKLPbK3vVqAIcWn0xx3wxzVFhX3HNOd+IwV2TSNIu4nlD7zaDV+JbNc89d0psU8ZMuMR20 gEibo4xG8o8hlqF2AFst4YprznPdRLkZEA5wYoWG+qA7w9zP5CohAOZ7m4jppiUYY9CbcsOFyrzk+i eA89A/rToFXNudzTgInEL5xVXhDQ5AXywOa9M/ntJzsd8S1yyDMEdtonjKpiD0cHXf9p7riaWgiFVJ DdmA+ZdiRh0EtQHxg2i7bIanlT0FX2w== X-MHO-RoutePath: aGlwcGll X-MHO-User: e0f19d56-2a67-11ea-b80d-052b4a66b6b2 X-Report-Abuse-To: https://support.duocircle.com/support/solutions/articles/5000540958-duocircle-standard-smtp-abuse-information X-Originating-IP: 67.177.211.60 X-Mail-Handler: DuoCircle Outbound SMTP Received: from ilsoft.org (unknown [67.177.211.60]) by outbound3.ore.mailhop.org (Halon) with ESMTPSA id e0f19d56-2a67-11ea-b80d-052b4a66b6b2; Sun, 29 Dec 2019 18:20:24 +0000 (UTC) Received: from rev (rev [172.22.42.240]) by ilsoft.org (8.15.2/8.15.2) with ESMTP id xBTIKNb0098240; Sun, 29 Dec 2019 11:20:23 -0700 (MST) (envelope-from ian@freebsd.org) Message-ID: Subject: Re: svn commit: r356180 - head/sys/conf From: Ian Lepore To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Date: Sun, 29 Dec 2019 11:20:23 -0700 In-Reply-To: <201912291817.xBTIHCda003923@repo.freebsd.org> References: <201912291817.xBTIHCda003923@repo.freebsd.org> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.28.5 FreeBSD GNOME Team Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 47m84V5R6Lz3wx7 X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-1.97 / 15.00]; local_wl_from(0.00)[freebsd.org]; NEURAL_HAM_MEDIUM(-0.97)[-0.969,0]; NEURAL_HAM_LONG(-1.00)[-0.996,0]; ASN(0.00)[asn:16509, ipnet:54.186.0.0/15, country:US] X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Dec 2019 18:20:27 -0000 On Sun, 2019-12-29 at 18:17 +0000, Ian Lepore wrote: > Author: ian > Date: Sun Dec 29 18:17:12 2019 > New Revision: 356180 > URL: https://svnweb.freebsd.org/changeset/base/356180 > > Log: > Eliminate the generated ldscript for arm and arm64, and strip $a/$d marker > symbols from the linked kernel. > > The main thrust of this change is to generate a kernel that has the arm > "marker" symbols stripped. Marker symbols start with $a, $d, $t or $x, and > are emitted by the compiler to tell other toolchain components about the > locations of data embedded in the instruction stream (literal-pool > stuff). They are used for generating mixed-endian binaries (which we don't > support). The linked kernel has approximately 21,000 such symbols in it, > wasting space (500K in kernel.full, 190K in the final linked kernel), and > sometimes obscuring function names in stack tracebacks. > > This change also simplifies the way the kernel is linked. Instead of using > sed to generate two different ldscript files to generate both an elf kernel > and a binary (elf headers stripped) kernel, we now use a single ldscript > that refers to a "text_start" symbol, and we provide the value for that > symbol using --defsym on the linker command line. > Doh! Differential Revision: https://reviews.freebsd.org/D22922 -- Ian