linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ia64: require -Wl,--hash-style=sysv
@ 2019-04-23 20:48 Nick Desaulniers
  2019-04-30 20:24 ` Nick Desaulniers
  0 siblings, 1 reply; 4+ messages in thread
From: Nick Desaulniers @ 2019-04-23 20:48 UTC (permalink / raw)
  To: tony.luck, fenghua.yu
  Cc: Nick Desaulniers, clang-built-linux, Masahiro Yamada, linux-ia64,
	linux-kernel

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>
---
 arch/ia64/kernel/Makefile.gate | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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)
 
-- 
2.21.0.593.g511ec345e18-goog


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

* Re: [PATCH] ia64: require -Wl,--hash-style=sysv
  2019-04-23 20:48 [PATCH] ia64: require -Wl,--hash-style=sysv Nick Desaulniers
@ 2019-04-30 20:24 ` Nick Desaulniers
  2019-05-08 19:22   ` Nick Desaulniers
  0 siblings, 1 reply; 4+ messages in thread
From: Nick Desaulniers @ 2019-04-30 20:24 UTC (permalink / raw)
  To: tony.luck, fenghua.yu
  Cc: clang-built-linux, Masahiro Yamada, linux-ia64, LKML

On Tue, Apr 23, 2019 at 1:48 PM Nick Desaulniers
<ndesaulniers@google.com> wrote:
>
> 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>
> ---
>  arch/ia64/kernel/Makefile.gate | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> 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)
>
> --
> 2.21.0.593.g511ec345e18-goog
>

bumping for review

-- 
Thanks,
~Nick Desaulniers

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

* Re: [PATCH] ia64: require -Wl,--hash-style=sysv
  2019-04-30 20:24 ` Nick Desaulniers
@ 2019-05-08 19:22   ` Nick Desaulniers
  2019-05-09  0:44     ` Masahiro Yamada
  0 siblings, 1 reply; 4+ messages in thread
From: Nick Desaulniers @ 2019-05-08 19:22 UTC (permalink / raw)
  To: tony.luck, fenghua.yu
  Cc: clang-built-linux, Masahiro Yamada, linux-ia64, LKML

bumping for review, as the merge window is now open.

On Tue, Apr 30, 2019 at 1:24 PM Nick Desaulniers
<ndesaulniers@google.com> wrote:
>
> On Tue, Apr 23, 2019 at 1:48 PM Nick Desaulniers
> <ndesaulniers@google.com> wrote:
> >
> > 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>
> > ---
> >  arch/ia64/kernel/Makefile.gate | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > 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)
> >
> > --
> > 2.21.0.593.g511ec345e18-goog
> >
>
> bumping for review
>
> --
> Thanks,
> ~Nick Desaulniers



-- 
Thanks,
~Nick Desaulniers

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

* Re: [PATCH] ia64: require -Wl,--hash-style=sysv
  2019-05-08 19:22   ` Nick Desaulniers
@ 2019-05-09  0:44     ` Masahiro Yamada
  0 siblings, 0 replies; 4+ messages in thread
From: Masahiro Yamada @ 2019-05-09  0:44 UTC (permalink / raw)
  To: Nick Desaulniers
  Cc: Tony Luck, Fenghua Yu, clang-built-linux, linux-ia64, LKML

On Thu, May 9, 2019 at 4:27 AM Nick Desaulniers <ndesaulniers@google.com> wrote:
>
> bumping for review, as the merge window is now open.


ia64 is not very active these days.

I applied this to my kbuild tree.
I will send PR for this in the current MW.

Thanks.




> On Tue, Apr 30, 2019 at 1:24 PM Nick Desaulniers
> <ndesaulniers@google.com> wrote:
> >
> > On Tue, Apr 23, 2019 at 1:48 PM Nick Desaulniers
> > <ndesaulniers@google.com> wrote:
> > >
> > > 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>
> > > ---
> > >  arch/ia64/kernel/Makefile.gate | 2 +-
> > >  1 file changed, 1 insertion(+), 1 deletion(-)
> > >
> > > 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)
> > >
> > > --
> > > 2.21.0.593.g511ec345e18-goog
> > >
> >
> > bumping for review
> >
> > --
> > Thanks,
> > ~Nick Desaulniers
>
>
>
> --
> Thanks,
> ~Nick Desaulniers



-- 
Best Regards
Masahiro Yamada

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

end of thread, other threads:[~2019-05-09  0:45 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-04-23 20:48 [PATCH] ia64: require -Wl,--hash-style=sysv Nick Desaulniers
2019-04-30 20:24 ` Nick Desaulniers
2019-05-08 19:22   ` Nick Desaulniers
2019-05-09  0:44     ` Masahiro Yamada

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).