Allocation of Global Data Objects in On-Chip RAM