mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: tip-bot for Masahiro Yamada <tipbot@zytor.com>
To: linux-tip-commits@vger.kernel.org
Cc: yamada.masahiro@socionext.com, mingo@kernel.org, hpa@zytor.com,
	peterz@infradead.org, tglx@linutronix.de,
	linux-kernel@vger.kernel.org, jdike@addtoit.com, luto@kernel.org,
	richard@nod.at, torvalds@linux-foundation.org
Subject: [tip:x86/asm] x86/build/vdso: Remove unused vdso-syms.lds
Date: Tue, 3 Jul 2018 00:52:12 -0700	[thread overview]
Message-ID: <tip-b5722a457b6e5eabd97a7f39c6c2b8e9a623ab15@git.kernel.org> (raw)
In-Reply-To: <1530582614-5173-2-git-send-email-yamada.masahiro@socionext.com>

Commit-ID:  b5722a457b6e5eabd97a7f39c6c2b8e9a623ab15
Gitweb:     https://git.kernel.org/tip/b5722a457b6e5eabd97a7f39c6c2b8e9a623ab15
Author:     Masahiro Yamada <yamada.masahiro@socionext.com>
AuthorDate: Tue, 3 Jul 2018 10:50:13 +0900
Committer:  Ingo Molnar <mingo@kernel.org>
CommitDate: Tue, 3 Jul 2018 09:20:07 +0200

x86/build/vdso: Remove unused vdso-syms.lds

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

Since the following 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: Richard Weinberger <richard@nod.at>
Cc: Andy Lutomirski <luto@kernel.org>
Cc: Jeff Dike <jdike@addtoit.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: linux-um@lists.infradead.org
Link: http://lkml.kernel.org/r/1530582614-5173-2-git-send-email-yamada.masahiro@socionext.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
---
 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 9cac6d072199..f8b69d84238e 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 b2d6967262b2..822ccdba93ad 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.
 #

  reply	other threads:[~2018-07-03  7:53 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-07-03  1:50 [PATCH 0/2] x86/build/vdso: a little more Makefile cleanups Masahiro Yamada
2018-07-03  1:50 ` [PATCH 1/2] x86/build/vdso: remove unused vdso-syms.lds Masahiro Yamada
2018-07-03  7:52   ` tip-bot for Masahiro Yamada [this message]
2018-07-03  1:50 ` [PATCH 2/2] x86/build/vdso: simplify cmd_vdso2c Masahiro Yamada
2018-07-03  7:52   ` [tip:x86/asm] x86/build/vdso: Simplify 'cmd_vdso2c' tip-bot for Masahiro Yamada
2018-07-03  7:20 ` [PATCH 0/2] x86/build/vdso: a little more Makefile cleanups Richard Weinberger
2018-07-03  7:35   ` Ingo Molnar
2018-07-03  7:37     ` Masahiro Yamada
2018-07-03  7:49     ` Richard Weinberger
2018-07-03  7:57       ` Ingo Molnar

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=tip-b5722a457b6e5eabd97a7f39c6c2b8e9a623ab15@git.kernel.org \
    --to=tipbot@zytor.com \
    --cc=hpa@zytor.com \
    --cc=jdike@addtoit.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-tip-commits@vger.kernel.org \
    --cc=luto@kernel.org \
    --cc=mingo@kernel.org \
    --cc=peterz@infradead.org \
    --cc=richard@nod.at \
    --cc=tglx@linutronix.de \
    --cc=torvalds@linux-foundation.org \
    --cc=yamada.masahiro@socionext.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome