[Bug lto/47247] Linker plugin specification makes it difficult to handle COMDATs
ccoutant at google dot com
gcc-bugzilla@gcc.gnu.org
Wed Feb 16 23:37:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47247
--- Comment #20 from ccoutant at google dot com 2011-02-16 23:35:28 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
> For a 5 MB reduction I might end up writing a wrapper that runs ld twice :-)
That 5MB difference is all due to the dynamic symbol table? I think we
can fix that in gold. : )
-cary
More information about the Gcc-bugs
mailing list