Hi,
I had tried this on NXP processor but not on freescale but the basic concepts remains the same, you can find plenty of Application notes with source code to get started.
The compiler directives will depend on the type of compiler you are using, if its IAR you will have to modify linker configuratin file and in case of Keil you will have to go to target options. Basically you will have to partition your flash memroy one for bootloader and other for application.
After you have done this, the linker will take care of locating your code at specific location in memory.
d2v0