Patch for COFF .gnu.linkonce support

Mark E. snowball3@bigfoot.com
Mon Jul 19 16:03:00 GMT 1999


Attached is the patch to enable .gnu.linkonce support for COFF. I'll 
send that patch to enable it for DJGPP later. 

[Ian, I'm CC:ing this to you in case ORBS blocks this message again.]

For the BFD ChangeLog: 

1999-07-20 Mark Elbrecht <snowball3@bigfoot.com> 

	* coffcode.h (styp_to_sec_flags): If both 
COFF_LONG_SECTION_NAMES and 
COFF_SUPPORT_GNU_LINKONCE are defined,  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++. 

Mark 

 


Attachments:   C:\djgpp\cvs\binutils1.dif 
--- 
Mark Elbrecht, snowball3@bigfoot.com
http://snowball.frogspace.net/



More information about the Binutils mailing list