[Bug lto/47247] Linker plugin specification makes it difficult to handle COMDATs

rafael.espindola at gmail dot com gcc-bugzilla@gcc.gnu.org
Wed Feb 16 16:23:00 GMT 2011


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47247

--- Comment #18 from Rafael Avila de Espindola <rafael.espindola at gmail dot com> 2011-02-16 16:14:52 UTC ---
I have created a "small" test of the symbol table problem. It is in

http://people.mozilla.com/~respindola/test.tar.xz

The test is firefox's libxul with most files copied into one directory to make
it easy to run. The test script runs the link twice. First with the IL files
and then with combined .o file.

The sizes are

39339456 libxul1.so
34436696 libxul2.so

The output of "size" in both files is


For a 5 MB reduction I might end up writing a wrapper that runs ld twice :-)

23218068    2380480     289668    25888216    18b05d8    libxul1.so
23175418    2380480     289668    25845566    18a5f3e    libxul2.so



More information about the Gcc-bugs mailing list