diff options
author | Nick Desaulniers <ndesaulniers@google.com> | 2019-04-23 13:48:20 -0700 |
---|---|---|
committer | Masahiro Yamada <yamada.masahiro@socionext.com> | 2019-05-18 11:29:01 +0900 |
commit | 861fde319134d4aaaa94ac6d976e4d8a329ab889 (patch) | |
tree | 101f67df4f768e53b08ffc4da124775fb746e452 /arch | |
parent | 901b5732fbcc5a7f48c3ebf3f9ed51e07e10abd9 (diff) | |
download | linux-stable-861fde319134d4aaaa94ac6d976e4d8a329ab889.tar.gz linux-stable-861fde319134d4aaaa94ac6d976e4d8a329ab889.tar.bz2 linux-stable-861fde319134d4aaaa94ac6d976e4d8a329ab889.zip |
ia64: require -Wl,--hash-style=sysv
Towards the goal of removing cc-ldoption, it seems that --hash-style=
was added to binutils 2.17.50.0.2 in 2006. The minimal required version
of binutils for the kernel according to
Documentation/process/changes.rst is 2.20.
Link: https://gcc.gnu.org/ml/gcc/2007-01/msg01141.html
Cc: clang-built-linux@googlegroups.com
Suggested-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Nick Desaulniers <ndesaulniers@google.com>
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/ia64/kernel/Makefile.gate | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/ia64/kernel/Makefile.gate b/arch/ia64/kernel/Makefile.gate index f53faf48b7ce..846867bff6d6 100644 --- a/arch/ia64/kernel/Makefile.gate +++ b/arch/ia64/kernel/Makefile.gate @@ -11,7 +11,7 @@ quiet_cmd_gate = GATE $@ cmd_gate = $(CC) -nostdlib $(GATECFLAGS_$(@F)) -Wl,-T,$(filter-out FORCE,$^) -o $@ GATECFLAGS_gate.so = -shared -s -Wl,-soname=linux-gate.so.1 \ - $(call cc-ldoption, -Wl$(comma)--hash-style=sysv) + -Wl,--hash-style=sysv $(obj)/gate.so: $(obj)/gate.lds $(obj)/gate.o FORCE $(call if_changed,gate) |