aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2018-05-09 16:53:22 +0900
committerMasahiro Yamada <yamada.masahiro@socionext.com>2018-06-11 09:16:29 +0900
commit2c4da1a78af5c50f3a866656fe223eb50b2a5ff0 (patch)
treed9f5ba46c0ac2d31d0a5ed4b0ecd61b9b0d26d9c
parentpowerpc/kbuild: move -mprofile-kernel check to Kconfig (diff)
downloadwireguard-linux-2c4da1a78af5c50f3a866656fe223eb50b2a5ff0.tar.xz
wireguard-linux-2c4da1a78af5c50f3a866656fe223eb50b2a5ff0.zip
sh: remove no-op macro VMLINUX_SYMBOL()
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 <yamada.masahiro@socionext.com>
-rw-r--r--arch/sh/include/asm/vmlinux.lds.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/sh/include/asm/vmlinux.lds.h b/arch/sh/include/asm/vmlinux.lds.h
index f312813f39d8..992955685874 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