This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: Fix hash table mixup in
- From: Hans-Peter Nilsson <hp at bitrange dot com>
- To: John David Anglin <dave at hiauly1 dot hia dot nrc dot ca>
- Cc: binutils at sources dot redhat dot com, <schwab at suse dot de>
- Date: Mon, 6 Oct 2003 21:45:04 -0400 (EDT)
- Subject: Re: Fix hash table mixup in
On Mon, 6 Oct 2003, John David Anglin wrote:
> The problematic tests are selective4 and selective5. These no longer
> pass with gcc 3.4 because the "-fvtable-gc" option has been dropped.
FWIW, I agree. As a consequence, the supporting code should
also be removed (and just ignoring the relocs). The feature is
faulty in earlier gcc's that supported it. I'm not sure, but
ISTR the author and maintainers have also said that this was not
the Right Way to implement such a feature (but rather carring
necessary info in a dedicated section). I'm doubtful but
haven't thoroughly investigated whether the feature can be
implemented at all with the V3 C++ ABI. GC:ing unused vtable
member functions *could* be worthwhile, but since it's unlikely
to work in the presence of dynamic linking anyway, maybe it
isn't. Pity those monolithic statically linked C++ apps. :-)
brgds, H-P