Fixes to support split SDRAM/Stack RAM memory model.