Re: dead function elimination

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux