Relocation against discarded sections

Evandro Menezes evandro@yahoo.com
Wed Dec 17 23:15:00 GMT 2008


Jan, 

 
> 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.

Interesting...  Please, let me know the GCC bug ID if you file it.
 
> With COMDAT ld should no longer need any more specific link-once handling.

What should the compiler do instead, as in how should the generated assembler look like?

TIA



More information about the Binutils mailing list