From: "Mark E." <snowball3@bigfoot.com>
To: binutils@sourceware.cygnus.com
Subject: DJGPP COFF patches
Date: Tue, 20 Jul 1999 13:01:00 -0000 [thread overview]
Message-ID: <199907202001.UAA83936@out5.ibm.net> (raw)
The attached patch implements COFF .gnu.linkonce support
(presented again so it's synced against late yesterday's CVS) plus the
config changes needed so DJGPP can use it.
I've tested with BFD assembler and non-BFD assembler. My test case
worked as expected (just one copy in the final .exe) and the value
printed was correct.
Changelog for BFD:
1999-07-20 Mark Elbrecht <snowball3@bigfoot.com>
* coffcode.h (styp_to_sec_flags) [COFF_LONG_SECTION_NAMES,
COFF_SUPPORT_GNU_LINKONCE]: Sections whose names begin
with .gnu.linkonce are marked with the flags SEC_LINKONCE and
SEC_LINK_DUPLICATES_DISCARD. This is an optimization for GNU
C++.
* coff-go32.c: (COFF_LONG_SECTION_NAMES): Define.
(COFF_SUPPORT_GNU_LINKONCE): Define. (coff-stgo32.c)
(COFF_LONG_SECTION_NAMES): Define.
(COFF_SUPPORT_GNU_LINKONCE): Define
Changelog for GAS:
1999-07-20 Mark Elbrecht <snowball3@bigfoot.com>
* config/te-go32.h (COFF_LONG_SECTION_NAMES): Define.
(COFF_SUPPORT_GNU_LINKONCE): Define.
Changelog for GLD:
1999-07-20 Mark Elbrecht <snowball3@bigfoot.com>
* scripttempl/i386go32coff.sc: Add handling of .gnu.linkonce sections.
Attachments:
C:\temp\bin.dif
---
Mark Elbrecht, snowball3@bigfoot.com
http://snowball.frogspace.net/
reply other threads:[~1999-07-20 13:01 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=199907202001.UAA83936@out5.ibm.net \
--to=snowball3@bigfoot.com \
--cc=binutils@sourceware.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).