This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [committed] SOM linkonce/common support


In message <200404281814.i3SIERVx000850@hiauly1.hia.nrc.ca>, "John David Anglin
" writes:
 >The enclosed patch is mainly for use with GCC and hpux 10.20 which doesn't
 >support secondary_def (weak) symbols.  It adds support for various flavors
 >of common on the SOM target.
 >
 >I have tested the patch with a modified version of gcc 3.3.4.  Using
 >the COMDAT support below, I implemented one-only support in gcc.  This
 >provides implicit template instantiation and vastly simplified vtable
 >and typeinfo node handling.  I was then able to build working versions
 >of the C++ applications groff and lyx.  Previously, this wasn't possible.
 >
 >Installed to the trunk about 10 years too late.
Thanks.  I've often wondered if using the SOM comdat stuff would have
worked and made a number of things in GCC-land easier to deal with.

jeff


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]