From: David Woodhouse <dwmw2@infradead.org>
To: Richard Henderson <rth@twiddle.net>
Cc: Rusty Russell <rusty@rustcorp.com.au>,
linux-kernel@vger.kernel.org, davem@vger.kernel.org
Subject: Re: [module-init-tools] fix weak symbol handling
Date: Fri, 17 Jan 2003 07:34:14 +0000 [thread overview]
Message-ID: <30299.1042788854@passion.cambridge.redhat.com> (raw)
In-Reply-To: <20030116180913.C15981@twiddle.net>
rth@twiddle.net said:
> > > No. The semantics I need is if A references a weak symbol S
> > > and *no one* implements it, then S resolves to NULL.
> >
> > Sorry, I was unclear. I want to know the dependency semantics:
>
> If B exports S, should depmod believe A needs B, or not? Your patch
> leaves that semantic (all it does is suppress the errors).
> Well, that depends on whether A defines S or not. If A does define S,
> then I don't care. I'd say "no", A does not depend on B. If A does
> not define S, then most definitely "yes", as with any other
> definition.
As long as doing so doesn't make modprobe fail to load A when B isn't
present or refuses to load. Otherwise what was the point in making it weak?
--
dwmw2
next prev parent reply other threads:[~2003-01-17 7:25 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-01-13 19:04 [module-init-tools] fix weak symbol handling Richard Henderson
2003-01-14 3:16 ` Rusty Russell
2003-01-15 1:14 ` Richard Henderson
2003-01-17 1:57 ` Rusty Russell
2003-01-17 2:09 ` Richard Henderson
2003-01-17 7:34 ` David Woodhouse [this message]
2003-01-17 8:56 ` Rusty Russell
2003-01-17 9:32 ` David Woodhouse
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=30299.1042788854@passion.cambridge.redhat.com \
--to=dwmw2@infradead.org \
--cc=davem@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=rth@twiddle.net \
--cc=rusty@rustcorp.com.au \
/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