From patchwork Wed Aug 4 00:03:39 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joel Stanley X-Patchwork-Id: 1513116 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.ozlabs.org (client-ip=2404:9400:2:0:216:3eff:fee1:b9f1; helo=lists.ozlabs.org; envelope-from=pdbg-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org; receiver=) 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=B1ezQswm; dkim-atps=neutral Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2404:9400:2:0:216:3eff:fee1:b9f1]) (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) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4GfX5l6zbbz9sW5 for ; Wed, 4 Aug 2021 10:03:55 +1000 (AEST) Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4GfX5l5Rkwz3bW7 for ; Wed, 4 Aug 2021 10:03:55 +1000 (AEST) Authentication-Results: lists.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=B1ezQswm; dkim-atps=neutral X-Original-To: pdbg@lists.ozlabs.org Delivered-To: pdbg@lists.ozlabs.org Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gmail.com (client-ip=2607:f8b0:4864:20::1036; helo=mail-pj1-x1036.google.com; envelope-from=joel.stan@gmail.com; receiver=) 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=B1ezQswm; dkim-atps=neutral Received: from mail-pj1-x1036.google.com (mail-pj1-x1036.google.com [IPv6:2607:f8b0:4864:20::1036]) (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 4GfX5g0chVz3049 for ; Wed, 4 Aug 2021 10:03:49 +1000 (AEST) Received: by mail-pj1-x1036.google.com with SMTP id m10-20020a17090a34cab0290176b52c60ddso1105152pjf.4 for ; Tue, 03 Aug 2021 17:03:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=JbSgqHPt4sexgefkFqRshGJEHmOMy0lWyz2LaIqHsUw=; b=B1ezQswm777d+1QS3Hn2I6jC6gnbg7Ojuv2NqeE3YKPWRVTeOZZ/r60F/PCYhDeAs0 htf45xGluQ0Edvf/ZoCBqd1SWSGq5e787ZdfKTKasi0YYGKZ1yYZurDhly3j4GjdivJV LFnosSdTod4TCaDT5mgRcN0ZKWx1hy+8cVGRW3fA5izZW+Vm/67bVLA+e8PrPqSjPsVk I2F23E++hYPek6vEN8FJiv+295wBgXEnGFFO2xFeZkFGyOaPP+e5npOISNBGsyGagsi/ /SQWqQlTNoDmljuG7XqoQ2ZXPYWXJcp32Lcj1QAxFxtQtuWvF1NT2tXhq+8YZs+77qhG N9PA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :mime-version:content-transfer-encoding; bh=JbSgqHPt4sexgefkFqRshGJEHmOMy0lWyz2LaIqHsUw=; b=ifFBnH9N+/7/F089GRjK6i8Qtyp28kliPzP1FdaGyqXe9fdI3zC/BOQmBn5lmlPA8O kg1tceYHuAZeZszMwF9bOWW5U6eP8r3sTszCEpfbthUiYFU6/6LvABjLc4lkJ2xuW8v3 /KIOpk48t9FBnrdhP5Uwrr46Zf5gdza+/IrCpDRo259RvHaGVaWqIp6aqFf0eQ2AVhY4 0sSLOgKy7CiUPRhLG6ht8oKSZ4Rq37jArCqC3kQD03gVn4FKJgrpqHDAsKTSYs6dVtCa 72B77KS6eT4vr7BISJGZxrRacyfqga9syW2MAlY0QBevu7s4kcJtnJc9t4CKkZ12PaZi 9+Qw== X-Gm-Message-State: AOAM532Gc3cXbyb2l1yC4x8PACG7zvpAIGm3qqPwfVRIE9dXB2kzmVA2 jqEYU2gtXAgjvwuEmkc+RHE= X-Google-Smtp-Source: ABdhPJwmm6fOY5KJOt1/vZav4HKpojBSwMB7Wx0r9vmKifousx/Sy2cQhuUQEY3RouZSoDEkbGslAA== X-Received: by 2002:aa7:8148:0:b029:31b:10b4:f391 with SMTP id d8-20020aa781480000b029031b10b4f391mr23991728pfn.69.1628035426316; Tue, 03 Aug 2021 17:03:46 -0700 (PDT) Received: from voyager.lan ([45.124.203.15]) by smtp.gmail.com with ESMTPSA id f15sm265538pgv.92.2021.08.03.17.03.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 Aug 2021 17:03:45 -0700 (PDT) From: Joel Stanley To: Amitay Isaacs Date: Wed, 4 Aug 2021 09:33:39 +0930 Message-Id: <20210804000339.956188-1-joel@jms.id.au> X-Mailer: git-send-email 2.32.0 MIME-Version: 1.0 Subject: [Pdbg] [PATCH] template: Remove unused symbols X-BeenThere: pdbg@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "mailing list for https://github.com/open-power/pdbg development" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: pdbg@lists.ozlabs.org Errors-To: pdbg-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "Pdbg" There are no users of the _end or _size symbols. By dropping them we can also avoid unaligned data warnings: ./template.S: Assembler messages: ./template.S:21: Error: misaligned data Reported by the buildroot autobuilder when building for sh. Signed-off-by: Joel Stanley --- template.S | 7 ------- 1 file changed, 7 deletions(-) diff --git a/template.S b/template.S index ecf9bba0656d..9d0e6285a0c4 100644 --- a/template.S +++ b/template.S @@ -9,16 +9,9 @@ #define CONCAT2(a, b, c, d) a ## b ## c ## d #define SYM_START(x) CONCAT1(__USER_LABEL_PREFIX__, _binary_, x, _start) -#define SYM_END(x) CONCAT1(__USER_LABEL_PREFIX__, _binary_, x, _end) -#define SYM_SIZE(x) CONCAT1(__USER_LABEL_PREFIX__, _binary_, x, _size) .section .data .align 8 SYM_START(SYMBOL_PREFIX): .incbin FILENAME -SYM_END(SYMBOL_PREFIX): -SYM_SIZE(SYMBOL_PREFIX): - .long SYM_END(SYMBOL_PREFIX) - SYM_START(SYMBOL_PREFIX) .globl SYM_START(SYMBOL_PREFIX) -.globl SYM_END(SYMBOL_PREFIX) -.globl SYM_SIZE(SYMBOL_PREFIX)