From: Masahiro Yamada <yamada.masahiro@socionext.com>
To: Ingo Molnar <mingo@redhat.com>,
Thomas Gleixner <tglx@linutronix.de>,
x86@kernel.org
Cc: Masahiro Yamada <yamada.masahiro@socionext.com>,
"H. Peter Anvin" <hpa@zytor.com>,
linux-kernel@vger.kernel.org,
Andy Lutomirski <luto@amacapital.net>
Subject: [PATCH 1/3] x86/build: vdso: remove unused $(vobjs-nox32) in Makefile
Date: Tue, 15 May 2018 11:52:22 +0900 [thread overview]
Message-ID: <1526352744-28229-2-git-send-email-yamada.masahiro@socionext.com> (raw)
In-Reply-To: <1526352744-28229-1-git-send-email-yamada.masahiro@socionext.com>
Since commit bfad381c0d1e ("x86/vdso: Improve the fake section
headers"), $(vobjs-nox32) is empty. Therefore, $(vobjs64-for-x32)
is the same as $(vobjs-y).
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
---
arch/x86/entry/vdso/Makefile | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/arch/x86/entry/vdso/Makefile b/arch/x86/entry/vdso/Makefile
index d998a48..2988506 100644
--- a/arch/x86/entry/vdso/Makefile
+++ b/arch/x86/entry/vdso/Makefile
@@ -100,11 +100,8 @@ VDSO_LDFLAGS_vdsox32.lds = -Wl,-m,elf32_x86_64 \
-Wl,-z,max-page-size=4096 \
-Wl,-z,common-page-size=4096
-# 64-bit objects to re-brand as x32
-vobjs64-for-x32 := $(filter-out $(vobjs-nox32),$(vobjs-y))
-
# x32-rebranded versions
-vobjx32s-y := $(vobjs64-for-x32:.o=-x32.o)
+vobjx32s-y := $(vobjs-y:.o=-x32.o)
# same thing, but in the output directory
vobjx32s := $(foreach F,$(vobjx32s-y),$(obj)/$F)
--
2.7.4
next prev parent reply other threads:[~2018-05-15 2:53 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-05-15 2:52 [PATCH 0/3] x86/build: clean-up of vdso Makefile Masahiro Yamada
2018-05-15 2:52 ` Masahiro Yamada [this message]
2018-05-15 5:39 ` [tip:x86/build] x86/build/vdso: Remove unused $(vobjs-nox32) in Makefile tip-bot for Masahiro Yamada
2018-05-15 2:52 ` [PATCH 2/3] x86/build: vdso: remove unnecessary export " Masahiro Yamada
2018-05-15 5:40 ` [tip:x86/build] x86/build/vdso: Remove " tip-bot for Masahiro Yamada
2018-05-15 2:52 ` [PATCH 3/3] x86/build: vdso: put generated linker scripts to $(obj)/ Masahiro Yamada
2018-05-15 5:40 ` [tip:x86/build] x86/build/vdso: Put " tip-bot for Masahiro Yamada
2018-05-22 20:34 ` [PATCH 0/3] x86/build: clean-up of vdso Makefile Andy Lutomirski
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=1526352744-28229-2-git-send-email-yamada.masahiro@socionext.com \
--to=yamada.masahiro@socionext.com \
--cc=hpa@zytor.com \
--cc=linux-kernel@vger.kernel.org \
--cc=luto@amacapital.net \
--cc=mingo@redhat.com \
--cc=tglx@linutronix.de \
--cc=x86@kernel.org \
/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;
as well as URLs for NNTP newsgroup(s).