davydnorris wrote:So what you're saying is that the linker is pulling in all the functions already in ROM and that's why it's too big?
Yes, below is the list of objects missing in the SDK libgcc. I don't see any other differences.
davydnorris wrote:Is there any way we can strip these out from libgcc as part of the crosstool-ng build? Or any other steps we can take so we can use the built version?
Either patch libgcc makefile (and that may be a bit challenging, as it's not a single makefile, but a bunch of fragments), or remove unneeded objects from the final archive.
davydnorris wrote:I am assuming it's better to use a libgcc built with newer gcc versions because there may be some optimisations added?
I don't think there would be noticeable differences. Definitely not for softfloat helpers, as they are written in assembly.