linux-um.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH RESEND] um: vdso: remove unused vdso-syms.lds
@ 2018-05-15  2:37 Masahiro Yamada
  2018-06-03  2:37 ` Masahiro Yamada
  0 siblings, 1 reply; 3+ messages in thread
From: Masahiro Yamada @ 2018-05-15  2:37 UTC (permalink / raw)
  To: Jeff Dike, Richard Weinberger, user-mode-linux-devel
  Cc: linux-kernel, Masahiro Yamada

This file contains symbol values, and was originally linked into
vmlinux, but I have no idea what it was actually used for.

Since commit 827880ec260b ("x86/um: thin archives build fix"), it is
not even linked.  Now it is completely orphan, and no problem has
been reported.  It is a proof that this file was not needed in the
first place.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Acked-by: Ingo Molnar <mingo@kernel.org>
---

The previous post has gone to the moderator
due to too many recipients.
I am resending this.
I hope this is reaching UML maintainers.

 arch/x86/um/vdso/.gitignore |  1 -
 arch/x86/um/vdso/Makefile   | 16 ----------------
 2 files changed, 17 deletions(-)

diff --git a/arch/x86/um/vdso/.gitignore b/arch/x86/um/vdso/.gitignore
index 9cac6d0..f8b69d8 100644
--- a/arch/x86/um/vdso/.gitignore
+++ b/arch/x86/um/vdso/.gitignore
@@ -1,2 +1 @@
-vdso-syms.lds
 vdso.lds
diff --git a/arch/x86/um/vdso/Makefile b/arch/x86/um/vdso/Makefile
index 1000335..426681e 100644
--- a/arch/x86/um/vdso/Makefile
+++ b/arch/x86/um/vdso/Makefile
@@ -53,22 +53,6 @@ $(vobjs): KBUILD_CFLAGS += $(CFL)
 CFLAGS_REMOVE_vdso-note.o = -pg -fprofile-arcs -ftest-coverage
 CFLAGS_REMOVE_um_vdso.o = -pg -fprofile-arcs -ftest-coverage
 
-targets += vdso-syms.lds
-extra-$(VDSO64-y)			+= vdso-syms.lds
-
-#
-# Match symbols in the DSO that look like VDSO*; produce a file of constants.
-#
-sed-vdsosym := -e 's/^00*/0/' \
-	-e 's/^\([0-9a-fA-F]*\) . \(VDSO[a-zA-Z0-9_]*\)$$/\2 = 0x\1;/p'
-quiet_cmd_vdsosym = VDSOSYM $@
-define cmd_vdsosym
-	$(NM) $< | LC_ALL=C sed -n $(sed-vdsosym) | LC_ALL=C sort > $@
-endef
-
-$(obj)/%-syms.lds: $(obj)/%.so.dbg FORCE
-	$(call if_changed,vdsosym)
-
 #
 # The DSO images are built using a special linker script.
 #
-- 
2.7.4



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

* Re: [PATCH RESEND] um: vdso: remove unused vdso-syms.lds
  2018-05-15  2:37 [PATCH RESEND] um: vdso: remove unused vdso-syms.lds Masahiro Yamada
@ 2018-06-03  2:37 ` Masahiro Yamada
  2018-06-03  8:33   ` [uml-devel] " Richard Weinberger
  0 siblings, 1 reply; 3+ messages in thread
From: Masahiro Yamada @ 2018-06-03  2:37 UTC (permalink / raw)
  To: Jeff Dike, Richard Weinberger, uml-devel
  Cc: Linux Kernel Mailing List, Masahiro Yamada

Hi UML maintainers,

2018-05-15 11:37 GMT+09:00 Masahiro Yamada <yamada.masahiro@socionext.com>:
> This file contains symbol values, and was originally linked into
> vmlinux, but I have no idea what it was actually used for.
>
> Since commit 827880ec260b ("x86/um: thin archives build fix"), it is
> not even linked.  Now it is completely orphan, and no problem has
> been reported.  It is a proof that this file was not needed in the
> first place.
>
> Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
> Acked-by: Ingo Molnar <mingo@kernel.org>
> ---


Could you take a look at this patch, please?

Thanks.


> The previous post has gone to the moderator
> due to too many recipients.
> I am resending this.
> I hope this is reaching UML maintainers.
>
>  arch/x86/um/vdso/.gitignore |  1 -
>  arch/x86/um/vdso/Makefile   | 16 ----------------
>  2 files changed, 17 deletions(-)
>
> diff --git a/arch/x86/um/vdso/.gitignore b/arch/x86/um/vdso/.gitignore
> index 9cac6d0..f8b69d8 100644
> --- a/arch/x86/um/vdso/.gitignore
> +++ b/arch/x86/um/vdso/.gitignore
> @@ -1,2 +1 @@
> -vdso-syms.lds
>  vdso.lds
> diff --git a/arch/x86/um/vdso/Makefile b/arch/x86/um/vdso/Makefile
> index 1000335..426681e 100644
> --- a/arch/x86/um/vdso/Makefile
> +++ b/arch/x86/um/vdso/Makefile
> @@ -53,22 +53,6 @@ $(vobjs): KBUILD_CFLAGS += $(CFL)
>  CFLAGS_REMOVE_vdso-note.o = -pg -fprofile-arcs -ftest-coverage
>  CFLAGS_REMOVE_um_vdso.o = -pg -fprofile-arcs -ftest-coverage
>
> -targets += vdso-syms.lds
> -extra-$(VDSO64-y)                      += vdso-syms.lds
> -
> -#
> -# Match symbols in the DSO that look like VDSO*; produce a file of constants.
> -#
> -sed-vdsosym := -e 's/^00*/0/' \
> -       -e 's/^\([0-9a-fA-F]*\) . \(VDSO[a-zA-Z0-9_]*\)$$/\2 = 0x\1;/p'
> -quiet_cmd_vdsosym = VDSOSYM $@
> -define cmd_vdsosym
> -       $(NM) $< | LC_ALL=C sed -n $(sed-vdsosym) | LC_ALL=C sort > $@
> -endef
> -
> -$(obj)/%-syms.lds: $(obj)/%.so.dbg FORCE
> -       $(call if_changed,vdsosym)
> -
>  #
>  # The DSO images are built using a special linker script.
>  #
> --
> 2.7.4
>



-- 
Best Regards
Masahiro Yamada


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

* Re: [uml-devel] [PATCH RESEND] um: vdso: remove unused vdso-syms.lds
  2018-06-03  2:37 ` Masahiro Yamada
@ 2018-06-03  8:33   ` Richard Weinberger
  0 siblings, 0 replies; 3+ messages in thread
From: Richard Weinberger @ 2018-06-03  8:33 UTC (permalink / raw)
  To: Masahiro Yamada
  Cc: Richard Weinberger, Jeff Dike, Linux Kernel Mailing List,
	uml-devel

On Sun, Jun 3, 2018 at 4:37 AM, Masahiro Yamada
<yamada.masahiro@socionext.com> wrote:
> Hi UML maintainers,
>
> 2018-05-15 11:37 GMT+09:00 Masahiro Yamada <yamada.masahiro@socionext.com>:
>> This file contains symbol values, and was originally linked into
>> vmlinux, but I have no idea what it was actually used for.
>>
>> Since commit 827880ec260b ("x86/um: thin archives build fix"), it is
>> not even linked.  Now it is completely orphan, and no problem has
>> been reported.  It is a proof that this file was not needed in the
>> first place.
>>
>> Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
>> Acked-by: Ingo Molnar <mingo@kernel.org>
>> ---
>
>
> Could you take a look at this patch, please?

Acked-by: Richard Weinberger <richard@nod.at>

-- 
Thanks,
//richard

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel


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

end of thread, other threads:[~2018-06-03  8:33 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-05-15  2:37 [PATCH RESEND] um: vdso: remove unused vdso-syms.lds Masahiro Yamada
2018-06-03  2:37 ` Masahiro Yamada
2018-06-03  8:33   ` [uml-devel] " Richard Weinberger

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