Relocation against discarded sections
Jan Kratochvil
jan.kratochvil@redhat.com
Wed Dec 17 22:35:00 GMT 2008
On Wed, 17 Dec 2008 23:17:49 +0100, Evandro Menezes wrote:
> I understand why some sections should be discarded, but why are there
> relocations against discarded sections at all?
>From a tried testcase on RTTI g++ (4.3 and 4.4.0-20081216) I find is a problem
of g++ it does not properly put the code (.text) and RTTI (.rodata) into the
same COMDAT group. Found no existing GCC Bug for it, I will file it if there
are no other opinions.
With COMDAT ld should no longer need any more specific link-once handling.
Thanks,
Jan
More information about the Binutils
mailing list