This is the mail archive of the
mailing list for the binutils project.
Re: [PATCH] Speed up ld by about 5 times on Windows.
I have attached an updated patch for ldlang.c (against revision 1.226).
I have tried to follow GNU coding standards in my changes. Please review
Thanks for submitting this patch. I am looking at it now, but I have
encountered a problem. It appears that the patch breaks a couple of
tests in the linker testsuite, at least for ELF based toolchains:
FAIL: SORT_BY_NAME(SORT_BY_NAME()) --sort-section name
These tests are not run for PE based toolchains, including the mingw32
toolchain, which may be why you did not encounter it in your own testing.
The tests are expecting the input sections to be sorted into this order:
But instead the (patched) linker is sorting them into this order:
Perhaps you could look into this ?