Blackfin: calculate on-chip lengths at link time rather than run time