* COFF weak symbols
@ 1998-10-03 8:25 Mark E.
1998-10-03 9:03 ` Ian Lance Taylor
1998-10-03 20:47 ` Robert Lipe
0 siblings, 2 replies; 4+ messages in thread
From: Mark E. @ 1998-10-03 8:25 UTC (permalink / raw)
To: gas2, sac
Greetings,
I'm interested have added or in adding an extension to COFF (or at
least DJGPP's COFF) to have weak symbols. I've already added
the .weak directive to the Oct 1st snapshot, but I wanted to check
and see how you wanted me proceed (or even if I should
proceed). I'm not an object file expert, but I know just enough to
know I want weak symbols. The linker already seems to support
weak symbols, it would just be a matter of deciding where in the
symbol record to store the weak symbol bit (though I have an idea).
I tried e-mailing Ian but he seems to be on vacation.
Mark
--
Mark E. snowball3@usa.net
http://members.xoom.com/snowball3/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: COFF weak symbols
1998-10-03 8:25 COFF weak symbols Mark E.
@ 1998-10-03 9:03 ` Ian Lance Taylor
1998-10-03 10:35 ` Mark E.
1998-10-03 20:47 ` Robert Lipe
1 sibling, 1 reply; 4+ messages in thread
From: Ian Lance Taylor @ 1998-10-03 9:03 UTC (permalink / raw)
To: snowball3; +Cc: gas2
From: "Mark E." <snowball3@usa.net>
Date: Sat, 3 Oct 1998 11:25:18 +0000
I'm interested have added or in adding an extension to COFF (or at
least DJGPP's COFF) to have weak symbols. I've already added
the .weak directive to the Oct 1st snapshot, but I wanted to check
and see how you wanted me proceed (or even if I should
proceed). I'm not an object file expert, but I know just enough to
know I want weak symbols. The linker already seems to support
weak symbols, it would just be a matter of deciding where in the
symbol record to store the weak symbol bit (though I have an idea).
I tried e-mailing Ian but he seems to be on vacation.
You only sent me the mail Thursday evening. I can certainly
sympathize with how it feels when you don't get an immediate reply to
your mail--I've been there myself--but the reality is that dealing
with binutils issues from the net is an unpaid activity for me, so
there is no guaranteed response time. As I expect you've already
seen, I replied to your message earlier this morning.
Of course, unless you need my personal input, which for an issue like
this you don't, it's probably better to send such a message to the
mailing list in the first.
The main issue with any extension like this is how to store the
information in the object file. Once that has been determined, you
need to enhance BFD to transfer the information between the generic
internal format and the object file external format.
For COFF, I would recommend defining a new storage class C_WEAK as a
parallel to C_EXT and C_STAT. It should be moderately straightforward
to add BFD, assembler, and linker support for this.
Ian
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: COFF weak symbols
1998-10-03 9:03 ` Ian Lance Taylor
@ 1998-10-03 10:35 ` Mark E.
0 siblings, 0 replies; 4+ messages in thread
From: Mark E. @ 1998-10-03 10:35 UTC (permalink / raw)
To: gas2
> From: "Mark E." <snowball3@usa.net>
> Date: Sat, 3 Oct 1998 11:25:18 +0000
>
> I tried e-mailing Ian but he seems to be on vacation.
>
> You only sent me the mail Thursday evening. I can certainly
> sympathize with how it feels when you don't get an immediate reply to your
> mail--I've been there myself--but the reality is that dealing with
Actually, I said you were on vacation because I checked Dejanews
and found you hadn't posted anything in a week so I made the
rather dumb assumption (as I shouldn't have done) that were you
were off for while. Sorry about that.
I'm on the mailing list, but I don't see any activity. I guess all the
action is with the egcs group!
--
Mark E. snowball3@usa.net
http://members.xoom.com/snowball3/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: COFF weak symbols
1998-10-03 8:25 COFF weak symbols Mark E.
1998-10-03 9:03 ` Ian Lance Taylor
@ 1998-10-03 20:47 ` Robert Lipe
1 sibling, 0 replies; 4+ messages in thread
From: Robert Lipe @ 1998-10-03 20:47 UTC (permalink / raw)
To: Mark E., gas2, sac
Mark E. wrote:
> I'm interested have added or in adding an extension to COFF (or at
> least DJGPP's COFF) to have weak symbols. I've already added the
> .weak directive to the Oct 1st snapshot, but I wanted to check and
> see how you wanted me proceed (or even if I should proceed). I'm not
> an object file expert, but I know just enough to
I know of at least one other person that's tried it. After discussions
with the author of the attached patch, the author of weak support in
OpenServer, and myself, I think this was abandoned.
Whether it was abandoned becuase of funkiness in the interoperability
requirement of OpenServer or just lack of motivation, I really can't
recall. Since SCO had a free linker that did this, it may have well
been the motivation thing.
The attached patch might serve as a starting place. It seemed like a
lot of the infrastructure was already present for other object file
formats.
I don't know the copyright status of these patches.
RJL
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~1998-10-03 20:47 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-10-03 8:25 COFF weak symbols Mark E.
1998-10-03 9:03 ` Ian Lance Taylor
1998-10-03 10:35 ` Mark E.
1998-10-03 20:47 ` Robert Lipe
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).