Unused functions

Unused functions are not allocated any memory space in ARM5 whereas ARM6 allocated memory for unused functions.
How do we handle this ?