From: H J Lu <hjl@zoom.com>
To: ian@cygnus.com (Ian Lance Taylor), eric@aib.com (Eric Youngdale)
Cc: gas2@cygnus.com
Subject: -Bsymbolic is broken in ld
Date: Mon, 29 Jan 1996 08:32:00 -0000 [thread overview]
Message-ID: <199601291632.IAA11943@aurora.romoidoy.com> (raw)
Hi,
I think -Bsymbolic in ld is broken. It doesn't work in most cases.
May I suggest one approach?
1. Remove all the old -Bsymbolic stuff, except for setting DT_SYMBOLIC.
2. Add the BSF_SYMBOLIC bit to the symbol flag in addition to
BSF_GLOBAL, BSF_WEAK, BSF_LOCAL, ...
3. If the BSF_SYMBOLIC bit is set, the symbol is treated just
like a local symbol.
3. When writing to the disk, clear the BSF_SYMBOLIC bit.
Ian, Eric, will that work? I really like to see -Bsymbolic get fixed.
Thanks a lot.
--
H.J. Lu (hjl@gnu.ai.mit.edu)
next reply other threads:[~1996-01-29 8:32 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1996-01-29 8:32 H J Lu [this message]
1996-01-29 11:29 ` Ian Lance Taylor
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=199601291632.IAA11943@aurora.romoidoy.com \
--to=hjl@zoom.com \
--cc=eric@aib.com \
--cc=gas2@cygnus.com \
--cc=ian@cygnus.com \
/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).