This is the mail archive of the
mailing list for the GCC project.
Re: dead function elimination
I thght the linker alone was supposed to be able to do
No. It is a nice feature, but it is not a requirement of a linker.
After all can't the linker determine which
procedures are unreferenced in the final executable?
Which is exactly what the --ffunction-sections and --gc-sections
If i'm not mistaken the diablo linker can do this?
It probably can.