From patchwork Wed May 9 07:53:22 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 135215 Delivered-To: patch@linaro.org Received: by 10.46.151.6 with SMTP id r6csp5330044lji; Wed, 9 May 2018 00:54:07 -0700 (PDT) X-Google-Smtp-Source: AB8JxZrSJgUeC92+TarsXAg82yigsavvzfF1IqY4Dzxq5wHeU4rA1kLMYIqbdb4mg4ZzcDxJoQ/7 X-Received: by 2002:a63:a74a:: with SMTP id w10-v6mr8536825pgo.109.1525852447282; Wed, 09 May 2018 00:54:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525852447; cv=none; d=google.com; s=arc-20160816; b=eLkOrre753+BSrg1VdCFlogug8Ed0uzirDDZv2n6KZ6cX4Ch9kAtfnA0df9H3yJnY9 zqgvPK09UoDYMIOjRXpv5mPmFc+bSLwNQFLiuCYWxiEVQgJWZ/XhJ26WV5+RB3VHzoni lEPCjFQ3yJiIUWTQ7X8CeETae64Vn7Z1ifL8tjuWiv+miGMLypAEkmNouBjs+R86veop qt0gkxPHJl8KJ9N9BFO48bQ4IjY4ar/Qu/46jszaQxbVYguw5M51QK3xOfcuqUc1L+4c sglX+rO/rfSJcqLLUWhkzfHCYP2AT0PPQnf5Nks6Worr3+zL65y95UM9nJxP7KRMmF/Y Seag== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature:dkim-filter:arc-authentication-results; bh=eK28HOQgde35W/56fWpdOXBRlV5RLUpa6SORyzZoWzE=; b=iUyw4wyKGSgVwsKZX8VH8GnEkYBH9HN9GDmyE7gY1qjTj7ymtji1ZhNLzscrYMbFXT GpMC4DV7ilkmJhdd3AbbPjeOKsNk4nXFGDc8QyjwSO34DUXuRvHU3OnK1iidoLu42wH0 bBZBJWO152yIh5eiu4VlT6mSg/HQgPtFwvb9JAjE223DdOZB5MN/t+aupffU7TddowTz UDAtgCZ1ofFms3Q7ZYegpS8WzA3FTdHI7j4BTmmyCkl1OiXDwkv4YBC5vHHWzR48beKq +qQAY56gbyoPWnGudWA/170h4QbIX2Bo+xDZz99ZU+PWvvvEsePQm8jiUyv+EA8G/D5E yNvg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=ulUUXMic; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v64-v6si20942052pgb.86.2018.05.09.00.54.07; Wed, 09 May 2018 00:54:07 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=ulUUXMic; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933966AbeEIHyE (ORCPT + 29 others); Wed, 9 May 2018 03:54:04 -0400 Received: from conuserg-11.nifty.com ([210.131.2.78]:41699 "EHLO conuserg-11.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933930AbeEIHyD (ORCPT ); Wed, 9 May 2018 03:54:03 -0400 Received: from pug.e01.socionext.com (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-11.nifty.com with ESMTP id w497rQ5B001863; Wed, 9 May 2018 16:53:26 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-11.nifty.com w497rQ5B001863 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1525852406; bh=eK28HOQgde35W/56fWpdOXBRlV5RLUpa6SORyzZoWzE=; h=From:To:Cc:Subject:Date:From; b=ulUUXMicNdbrYW7ewRAewlYM6pIqqBh+S0uRgyE4fUdYd0bSHQS1uMseynGev04Ms 3I1C4sNp0N/scT+PMLTGIrolZ8QPrAVkIjRzfzG3Rn/beLOTZ9ymhplyszfVADoQaZ WXiGGkAHlvh0oV2UQG/CHBr1srGSQGgcyvmCzxR8dGFRgIyUgRMVtw9+2incXONgkT n5sf6OwQTaI6LXRIrrfSc450MEeA6OwYLMs70niTvbeDxPaJnsp8vkvqPMpLTl6IXG I+n/U9Xmbrmj2CdIo56LXxb7Og4Zu5VNGkFVlf5CNv37oIpCmVLISI1UU8ntJkQLQq 3ndAgHcE2E0pQ== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: Yoshinori Sato , Rich Felker , linux-sh@vger.kernel.org Cc: linux-arch , Masahiro Yamada , linux-kernel@vger.kernel.org Subject: [PATCH] sh: remove no-op macro VMLINUX_SYMBOL() Date: Wed, 9 May 2018 16:53:22 +0900 Message-Id: <1525852402-29269-1-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org VMLINUX_SYMBOL() is no-op unless CONFIG_HAVE_UNDERSCORE_SYMBOL_PREFIX is defined. It has ever been selected only by BLACKFIN and METAG. VMLINUX_SYMBOL() is unneeded for SuperH-specific code. Signed-off-by: Masahiro Yamada --- arch/sh/include/asm/vmlinux.lds.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 2.7.4 diff --git a/arch/sh/include/asm/vmlinux.lds.h b/arch/sh/include/asm/vmlinux.lds.h index f312813..9929556 100644 --- a/arch/sh/include/asm/vmlinux.lds.h +++ b/arch/sh/include/asm/vmlinux.lds.h @@ -7,9 +7,9 @@ #ifdef CONFIG_DWARF_UNWINDER #define DWARF_EH_FRAME \ .eh_frame : AT(ADDR(.eh_frame) - LOAD_OFFSET) { \ - VMLINUX_SYMBOL(__start_eh_frame) = .; \ + __start_eh_frame = .; \ *(.eh_frame) \ - VMLINUX_SYMBOL(__stop_eh_frame) = .; \ + __stop_eh_frame = .; \ } #else #define DWARF_EH_FRAME