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: 10388591 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 04DF760353 for ; Wed, 9 May 2018 08:06:29 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id EB74728E18 for ; Wed, 9 May 2018 08:06:28 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id DFA6628E24; Wed, 9 May 2018 08:06:28 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E0D6728E18 for ; Wed, 9 May 2018 08:06:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756114AbeEIIGV (ORCPT ); Wed, 9 May 2018 04:06:21 -0400 Received: from condef-01.nifty.com ([202.248.20.66]:44384 "EHLO condef-01.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756099AbeEIIGS (ORCPT ); Wed, 9 May 2018 04:06:18 -0400 X-Greylist: delayed 419 seconds by postgrey-1.27 at vger.kernel.org; Wed, 09 May 2018 04:06:18 EDT Received: from conuserg-11.nifty.com ([10.126.8.74])by condef-01.nifty.com with ESMTP id w497s3p6004227 for ; Wed, 9 May 2018 16:54:03 +0900 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-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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(-) 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