Mark Mitchell <m...@codesourcery.com> writes:

> A lot of this is also historical; gcc/cc1/as/ld mirror typical UNIX
> compilers of the era at which GCC was built.  collect2 was presumably
> necessary because of dependence on proprietary ld; if we could assume
> GNU ld (or GOLD) everywhere, we could fold that functionality directly
> into the linker.

For what it's worth, all of the functionality except for -frepo is
already folded into both.  And I suspect that -frepo support could be
handled via a linker plugin.

Ian

Reply via email to