This is the mail archive of the
binutils@sourceware.cygnus.com
mailing list for the binutils project.
DJGPP COFF patches
- To: binutils@sourceware.cygnus.com
- Subject: DJGPP COFF patches
- From: "Mark E." <snowball3@bigfoot.com>
- Date: Tue, 20 Jul 1999 16:01:38 -0400
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/
The following section of this message contains a file attachment
prepared for transmission using the Internet MIME message format.
If you are using Pegasus Mail, or any another MIME-compliant system,
you should be able to save it or view it from within your mailer.
If you cannot, please ask your system administrator for assistance.
---- File information -----------
File: bin.dif
Date: 20 Jul 1999, 14:21
Size: 4418 bytes.
Type: Unknown
bin.dif