I assume you are building in banked memory model. Am I right?
Make sure you place the predefined section NON_BANKED in non banked memory in your PRM file.
Basically if you create a new project with the wizard and specify you want to use banked memory model, the PRM file will be adjusted appropriately from the beginning.