http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47247
--- Comment #5 from H.J. Lu <hjl.tools at gmail dot com> 2011-01-10 17:13:46 UTC --- (In reply to comment #4) > > Can we mark the symbol COMDAT when we generate the output? > What symbol and what output? > > Honza I don't think hjl/lto-mixed branch has the problem --- Current linker plugin specification has problem with COMDAT. When COMDAT fnuction is put into symbol table and is used, it gets resolved as PREVAILING. This imply that it must be output in the final binary. --- if all COMAT symbols are properly marked since PREVAILING is only used for symbol resolution and has no impact on symbol table.