public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
From: DJ Delorie <dj@delorie.com>
To: snowball3@bigfoot.com
Cc: binutils@sourceware.cygnus.com
Subject: Re: .gnu.linkonce COFF support
Date: Tue, 13 Jul 1999 18:45:00 -0000	[thread overview]
Message-ID: <199907140145.VAA06257@indy.delorie.com> (raw)
In-Reply-To: <199907132141.VAA91050@out4.ibm.net>

> Some questions about possibilities for DJGPP COFF. Would enabling 
> .gnu.linkonce.* for DJGPP COFF improve template support much over 
> what weak symbols do already? This would require enabling the long 
> section name feature (> 8 characters) , but it can be turned on by one 
> line.

The "long section name feature" is a remnant from PE's specs, and
binutils doesn't implement it properly.  The right way is to use a
specially designated symbol (usually the function name's symbol) as
the unique id, not the section name.  I would discourage adding broken
support to DJGPP when it needs to be fixed for PE anyway.  If you want
to go this route, figure out how to do it the right way (the MS PE
way) so that we won't have to jump through hoops later when the PE
support is fixed.

There are some additional symbol *types* defined for PE that DJGPP
could use to help with templatest, but I've never studied the C++
problems long enough to be sure.

  parent reply	other threads:[~1999-07-13 18:45 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-07-13 14:42 Mark E.
1999-07-13 14:55 ` Ian Lance Taylor
1999-07-13 18:45 ` DJ Delorie [this message]
1999-07-13 19:20   ` Ian Lance Taylor
1999-07-14  4:32     ` DJ Delorie
1999-07-14 17:02       ` Ian Lance Taylor
1999-07-14 17:04         ` Mark E.
1999-07-13 21:22   ` Mark E.

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=199907140145.VAA06257@indy.delorie.com \
    --to=dj@delorie.com \
    --cc=binutils@sourceware.cygnus.com \
    --cc=snowball3@bigfoot.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).