From: Daniel Jacobowitz <drow@false.org>
To: "Peter S. Mazinger" <ps.m@gmx.net>
Cc: binutils@sourceware.org
Subject: Re: objcopy --weaken
Date: Wed, 12 Apr 2006 04:37:00 -0000 [thread overview]
Message-ID: <20060412043657.GA13022@nevyn.them.org> (raw)
In-Reply-To: <Pine.LNX.4.44.0604120149310.4366-100000@lnx.bridge.intra>
On Wed, Apr 12, 2006 at 01:56:50AM +0200, Peter S. Mazinger wrote:
> That is true if modern=glibc (there is though some compat
> option/environment setting to disable this behaviour).
(A) I believe Solaris does the same thing nowadays. (B) I believe
they've threatened several times to remove the option.
> At link time if libpthread.so and libc.so provide the same symbol (could
> happen w/ any other 2 libs, the example is "real-life", the linker fails,
> if one of them is not weak.
Er, is this really true? Why should it be?
If there's a good reason for it, e.g. detecting non-deterministic
binding, weakening one is just going to give you unpredictable bugs
later. The strong one will not be reliably picked at runtime.
--
Daniel Jacobowitz
CodeSourcery
next prev parent reply other threads:[~2006-04-12 4:37 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1144794193.13900.ezmlm@sourceware.org>
2006-04-11 23:08 ` Peter S. Mazinger
2006-04-11 23:12 ` Daniel Jacobowitz
2006-04-12 4:37 ` Peter S. Mazinger
2006-04-12 4:37 ` Daniel Jacobowitz [this message]
2006-04-12 10:47 ` Peter S. Mazinger
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=20060412043657.GA13022@nevyn.them.org \
--to=drow@false.org \
--cc=binutils@sourceware.org \
--cc=ps.m@gmx.net \
/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 read-only IMAP folder(s) and NNTP newsgroup(s).