From patchwork Wed Feb 26 18:34:06 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicholas Piggin X-Patchwork-Id: 1245281 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.ozlabs.org (lists.ozlabs.org [203.11.71.2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 48SPlV1bzVz9sNg for ; Thu, 27 Feb 2020 05:41:26 +1100 (AEDT) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=Ob7ghFg6; dkim-atps=neutral Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 48SPlV1MN8zDqlD for ; Thu, 27 Feb 2020 05:41:26 +1100 (AEDT) X-Original-To: skiboot@lists.ozlabs.org Delivered-To: skiboot@lists.ozlabs.org Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gmail.com (client-ip=2607:f8b0:4864:20::442; helo=mail-pf1-x442.google.com; envelope-from=npiggin@gmail.com; receiver=) Authentication-Results: lists.ozlabs.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=Ob7ghFg6; dkim-atps=neutral Received: from mail-pf1-x442.google.com (mail-pf1-x442.google.com [IPv6:2607:f8b0:4864:20::442]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 48SPhs2YvPzDqkh for ; Thu, 27 Feb 2020 05:39:09 +1100 (AEDT) Received: by mail-pf1-x442.google.com with SMTP id 4so199883pfz.9 for ; Wed, 26 Feb 2020 10:39:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=tmKv0CCFz85Zt1UB6B5T2nb2NpdoM+bv8r5QIwfO8fs=; b=Ob7ghFg6F5HiGXrDrXDj/NvUJI5gUm3Ub5uwoMx4lkDrhokKFOC3sz01bUK94cWj7w E/UKBWYbxnZY77KkXirtakHXi+RDcGvWZceA9aIwnkuRi/NoHeEO2Oaz5dN/dkEWbC7Z Mw8hPwoQWenArt/4ST05kGGC+/dWM0mfwAvGElzTFJNi2wNsW3kyoGHGOnqZwfeBT550 Wq2XBj38CPRMrL7FnsAiM1P56TOxjmvcg1ACli/tovJYwPmVSmyH5fjuQNAo9VcZaZF+ VDWRdWvZnNyw29qPtHRyhUtTi3m9u8XBbqZKgYp9/xvfdNPJLDvByUfH6UX00eYZrJ3m x5CA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=tmKv0CCFz85Zt1UB6B5T2nb2NpdoM+bv8r5QIwfO8fs=; b=jFrYc8QPVwx0qHsjy0VVfPOkBydQp5Xa6DUvMjTnwEIIxDKXgyUeUJ3mcXki/cljGS NokfhhOFFuiQ0qJXjM6NlUNvkgs5TGhZcVJFVCGh+PLkBazDJTNMOsKIL6CPUsnDqRpb 0NHUyNLp0wKqR8J/zrGmjSKRIbNNx2Y2f1HxCiytzoO+PzAkJjD0XRO98pA704t0elNr gz2UUtn+qCYH7u4ApCKSPOAq+mA8YjxquqomEKWHIEvEUkkAcO/pRJF2Bmtmzmk6H4+4 kwtep0VRs1ZGZYyYAW7SvXefhhr4LfGonIPhOJ+zuVoKiCk5dwDaY7U08ZteXwmGJ6M1 STaw== X-Gm-Message-State: APjAAAWpcuw8R4rTaRJolqcn/adjkV2eMKV/loMp+moI1h+8GMsZ6IDi HTMiYR3jLLdgu0hOnrJsIg+bmUTX X-Google-Smtp-Source: APXvYqyV1P4DQQFZEKC3DQCg40YPAFduyvUygITKe9hlomkN84FiNdhEMfFhnEGdMmizJX4gngnbug== X-Received: by 2002:a62:fb06:: with SMTP id x6mr24432pfm.149.1582742347240; Wed, 26 Feb 2020 10:39:07 -0800 (PST) Received: from bobo.ibm.com ([61.68.187.74]) by smtp.gmail.com with ESMTPSA id v8sm3715247pfn.172.2020.02.26.10.39.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 Feb 2020 10:39:06 -0800 (PST) From: Nicholas Piggin To: skiboot@lists.ozlabs.org Date: Thu, 27 Feb 2020 04:34:06 +1000 Message-Id: <20200226183408.1626737-8-npiggin@gmail.com> X-Mailer: git-send-email 2.23.0 In-Reply-To: <20200226183408.1626737-1-npiggin@gmail.com> References: <20200226183408.1626737-1-npiggin@gmail.com> MIME-Version: 1.0 Subject: [Skiboot] [PATCH 7/9] skiboot.lds.S: remove dynsym/dynstr and plt X-BeenThere: skiboot@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Mailing list for skiboot development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: skiboot-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "Skiboot" skiboot is static so these are always empty. Signed-off-by: Nicholas Piggin --- skiboot.lds.S | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/skiboot.lds.S b/skiboot.lds.S index 1822334b2..64efa7765 100644 --- a/skiboot.lds.S +++ b/skiboot.lds.S @@ -163,10 +163,6 @@ SECTIONS __platforms_end = .; } - /* Do I need to keep these ? */ - .dynsym : { *(.dynsym) } - .dynstr : { *(.dynstr) } - /* Relocations */ . = ALIGN(0x10); .dynamic : { @@ -181,12 +177,8 @@ SECTIONS *(.rela*) __rela_dyn_end = .; } - .plt : { *(.plt) *(.iplt) } - .hash : { *(.hash) } .gnu.hash : { *(.gnu.hash) } - .dynsym : { *(.dynsym) } - .dynstr : { *(.dynstr) } .gnu.version : { *(.gnu.version) } .gnu.version_d : { *(.gnu.version_d) } .gnu.version_r : { *(.gnu.version_r) } @@ -252,5 +244,9 @@ SECTIONS *(.eh_frame) *(.interp) *(.fini_array.*) + *(.dynsym) + *(.dynstr) + *(.plt) + *(.iplt) } }