From: Sam Ravnborg <sam@ravnborg.org>
To: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Sam Ravnborg <sam@ravnborg.org>, Andrew Morton <akpm@osdl.org>,
linuxppc64-dev <linuxppc64-dev@ozlabs.org>,
Linux Kernel list <linux-kernel@vger.kernel.org>,
Linus Torvalds <torvalds@osdl.org>
Subject: Re: [PATCH] ppc64: Implement a vDSO and use it for signal trampoline
Date: Tue, 1 Feb 2005 06:41:49 +0100 [thread overview]
Message-ID: <20050201054149.GA8136@mars.ravnborg.org> (raw)
In-Reply-To: <1107218282.5906.33.camel@gaston>
On Tue, Feb 01, 2005 at 11:38:02AM +1100, Benjamin Herrenschmidt wrote:
>
> > Also notice that ':=' uses all over. No need to use late evaluation when
> > no dynamic references are used ($ $@ etc.).
>
> Hrm... Rusty tells me that you got it backward ;) Anyway, I'll stick
> to := for now, it's not really an issue.
:=
Right hand side is evaluated when encountered.
Often what you want. So for example
CC := cc
here CC is assigned the value cc when seen.
=
Right hand side is evaluated only when left hand side is used.
Also very usefull. Example just mocked up:
cmd_vdso32_cc = $(CC) -T $^ -o $@
Doing late evaluation will cause correct replacement of $^ and $@ when
used. When cmd_vdso_32 is defined make does not know the desired values
for $^ and $@ - this is only known when cmd_vdso_32 is actually used.
Hope this clarifies it.
Sam
next prev parent reply other threads:[~2005-02-01 5:39 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-01-31 6:04 Benjamin Herrenschmidt
2005-01-31 19:27 ` Sam Ravnborg
2005-01-31 23:15 ` Benjamin Herrenschmidt
2005-02-01 0:38 ` Benjamin Herrenschmidt
2005-02-01 5:41 ` Sam Ravnborg [this message]
2005-02-01 5:55 ` Benjamin Herrenschmidt
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=20050201054149.GA8136@mars.ravnborg.org \
--to=sam@ravnborg.org \
--cc=akpm@osdl.org \
--cc=benh@kernel.crashing.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linuxppc64-dev@ozlabs.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
Powered by JetHome