Hi Jimmy,
I thght the linker alone was supposed to be able to do dead-procedure-elimination.
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 switches do.
If i'm not mistaken the diablo linker can do this?
It probably can. Cheers Nick