linux-sh.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] sh: require --Wl,--hash-style=sysv
@ 2019-04-23 20:29 Nick Desaulniers
  2019-04-24  6:27 ` Geert Uytterhoeven
  0 siblings, 1 reply; 13+ messages in thread
From: Nick Desaulniers @ 2019-04-23 20:29 UTC (permalink / raw)
  To: ysato, dalias
  Cc: Nick Desaulniers, Andy Lutomirsky, clang-built-linux,
	Masahiro Yamada, linux-sh, linux-kernel

Towards the goal of removing cc-ldoption, prefer ld-option, or better
yet, require --Wl,--hash-style=sysv since the selftest for vdso's
requires DT_HASH.

Cc: Andy Lutomirsky <luto@kernel.org>
Cc: clang-built-linux@googlegroups.com
Suggested-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Nick Desaulniers <ndesaulniers@google.com>
---
 arch/sh/kernel/vsyscall/Makefile | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/arch/sh/kernel/vsyscall/Makefile b/arch/sh/kernel/vsyscall/Makefile
index 5db6579bc44c..6e8664448048 100644
--- a/arch/sh/kernel/vsyscall/Makefile
+++ b/arch/sh/kernel/vsyscall/Makefile
@@ -15,8 +15,7 @@ quiet_cmd_syscall = SYSCALL $@
 
 export CPPFLAGS_vsyscall.lds += -P -C -Ush
 
-vsyscall-flags = -shared -s -Wl,-soname=linux-gate.so.1 \
-		$(call cc-ldoption, -Wl$(comma)--hash-style=sysv)
+vsyscall-flags = -shared -s -Wl,-soname=linux-gate.so.1 -Wl,--hash-style=sysv
 
 SYSCFLAGS_vsyscall-trapa.so	= $(vsyscall-flags)
 
-- 
2.21.0.593.g511ec345e18-goog

^ permalink raw reply related	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2019-05-12  4:31 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-04-23 20:29 [PATCH] sh: require --Wl,--hash-style=sysv Nick Desaulniers
2019-04-24  6:27 ` Geert Uytterhoeven
2019-04-24  6:37   ` Masahiro Yamada
2019-04-24  6:39     ` Masahiro Yamada
2019-04-24 18:02       ` [PATCH v2] sh: vsyscall: drop unnecessary cc-ldoption Nick Desaulniers
2019-04-30 20:26         ` Nick Desaulniers
2019-05-08 19:22           ` Nick Desaulniers
2019-05-09  0:44             ` Masahiro Yamada
2019-05-09  6:09               ` John Paul Adrian Glaubitz
2019-05-09  7:07                 ` Masahiro Yamada
2019-05-09  8:44                   ` John Paul Adrian Glaubitz
2019-05-12  4:31                     ` Yoshinori Sato
2019-05-12  4:29         ` Yoshinori Sato

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).