Hi,
from my point of view, you should always create shared sections, where the shared data and code will be placed. It does not matter if you use one .elf file or two elf. files. If you use just one elf file, linker file will be more complicated.
I have created example for MPC5775K, which shows, how to create shared RAM memory section for data. This solution should be usable also for shared code. You have to create shared section in flash and use it by both cores (but I do not try it yet).
Example MPC5775K Semaphores S32DS
In case you would like to use only one elf file, S32 Design Studio v1.1 contains example which shows, how to create project with one .elf file. This project is created for MPC5748G, but it should be possible to use it as a reference example for MPC5745R. This example is placed in S32DS installation folder (S32_Power_v1.1\S32DS\Examples\MPC5748G).
If you have any other questions, please feel free to write me back.
Regards,
Martin