* DJGPP COFF patches
@ 1999-07-20 13:01 Mark E.
0 siblings, 0 replies; only message in thread
From: Mark E. @ 1999-07-20 13:01 UTC (permalink / raw)
To: binutils
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/
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1999-07-20 13:01 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-07-20 13:01 DJGPP COFF patches Mark E.
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).