From: viro@ZenIV.linux.org.uk
To: Linus Torvalds <torvalds@osdl.org>
Cc: jdike@addtoit.com, linux-kernel@vger.kernel.org
Subject: [PATCH] sparse on uml (infrastructure bits)
Date: Fri, 9 Sep 2005 17:14:12 +0100 [thread overview]
Message-ID: <20050909161412.GK9623@ZenIV.linux.org.uk> (raw)
Passes -m64 to sparse on uml/amd64, tells sparse to stay out of
USER_OBJS.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
----
diff -urN RC13-git7-stubs/arch/um/Makefile-x86_64 RC13-git7-uml-checker/arch/um/Makefile-x86_64
--- RC13-git7-stubs/arch/um/Makefile-x86_64 2005-09-05 07:05:14.000000000 -0400
+++ RC13-git7-uml-checker/arch/um/Makefile-x86_64 2005-09-07 13:55:09.000000000 -0400
@@ -8,6 +8,7 @@
#it's needed for headers to work!
CFLAGS += -U__$(SUBARCH)__ -fno-builtin
USER_CFLAGS += -fno-builtin
+CHECKFLAGS += -m64
ELF_ARCH := i386:x86-64
ELF_FORMAT := elf64-x86-64
diff -urN RC13-git7-stubs/arch/um/scripts/Makefile.rules RC13-git7-uml-checker/arch/um/scripts/Makefile.rules
--- RC13-git7-stubs/arch/um/scripts/Makefile.rules 2005-08-28 23:09:40.000000000 -0400
+++ RC13-git7-uml-checker/arch/um/scripts/Makefile.rules 2005-09-07 13:55:09.000000000 -0400
@@ -9,6 +9,11 @@
$(USER_OBJS) : c_flags = -Wp,-MD,$(depfile) $(USER_CFLAGS) \
$(CFLAGS_$(notdir $@))
+$(USER_OBJS): cmd_checksrc =
+$(USER_OBJS): quiet_cmd_checksrc =
+$(USER_OBJS): cmd_force_checksrc =
+$(USER_OBJS): quiet_cmd_force_checksrc =
+
# The stubs and unmap.o can't try to call mcount or update basic block data
define unprofile
reply other threads:[~2005-09-09 16:14 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20050909161412.GK9623@ZenIV.linux.org.uk \
--to=viro@zeniv.linux.org.uk \
--cc=jdike@addtoit.com \
--cc=linux-kernel@vger.kernel.org \
--cc=torvalds@osdl.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
all inboxes | Powered by JetHome®