The attached patch avoids putting symbols in the symbol tables if there are only found in IL files. This is important for when LTO manages to drop some symbols completely. When linking libxul it reduces the final .so from 39339456 bytes to 34450128 bytes. And yes, firefox still works :-) 2010-02-17 Rafael Ávila de Espíndola * symtab.cc (Symbol::should_add_dynsym_entry) Return false for plugin only symbols. (Symbol_table::sized_finalize_symbol) Mark symbol only present in plugin files as not needed in the symbol table. Cheers, Rafael