This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: [committed] SOM linkonce/common support
- From: law at redhat dot com
- To: "John David Anglin" <dave at hiauly1 dot hia dot nrc dot ca>
- Cc: binutils at sources dot redhat dot com
- Date: Wed, 28 Apr 2004 14:33:31 -0600
- Subject: Re: [committed] SOM linkonce/common support
- Reply-to: law at redhat dot com
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