From patchwork Thu Aug 6 09:02:48 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jan Beulich X-Patchwork-Id: 11703057 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id A8272138C for ; Thu, 6 Aug 2020 12:01:41 +0000 (UTC) Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 8F84A22D02 for ; Thu, 6 Aug 2020 12:01:41 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 8F84A22D02 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=suse.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=xen-devel-bounces@lists.xenproject.org Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1k3bnV-0007yv-Ir; Thu, 06 Aug 2020 09:02:49 +0000 Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1k3bnT-0007yq-NM for xen-devel@lists.xenproject.org; Thu, 06 Aug 2020 09:02:47 +0000 X-Inumbo-ID: c5c4606a-71d6-46e4-924c-ee61cb5b1a85 Received: from mx2.suse.de (unknown [195.135.220.15]) by us1-rack-iad1.inumbo.com (Halon) with ESMTPS id c5c4606a-71d6-46e4-924c-ee61cb5b1a85; Thu, 06 Aug 2020 09:02:46 +0000 (UTC) X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id 36E9EB1AF; Thu, 6 Aug 2020 09:03:03 +0000 (UTC) To: "xen-devel@lists.xenproject.org" From: Jan Beulich Subject: [PATCH 0/4] build: corrections to .init.o generation logic Message-ID: <305c2532-408a-9f78-61fe-c90a2e86eb8e@suse.com> Date: Thu, 6 Aug 2020 11:02:48 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.11.0 MIME-Version: 1.0 Content-Language: en-US X-BeenThere: xen-devel@lists.xenproject.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Cc: Stefano Stabellini , Julien Grall , Wei Liu , George Dunlap , Andrew Cooper , Anthony Perard , Ian Jackson , =?utf-8?q?Roger_Pau_Monn=C3=A9?= Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" Initially I merely noticed the regression addressed by the 1st patch, but looking more closely revealed further deficiencies. After having moved the FIXME in patch 3 I couldn't resist and address that issue at least partly (patch 4), seeing that three and a half years have passed and nothing was done to improve the situation. 1: build: work around bash issue 2: build: correctly report non-empty section sizes upon .o -> .init.o conversion 3: build: also check for empty .bss.* in .o -> .init.o conversion 4: EFI: free unused boot mem in at least some cases Jan