Customize program startup process

I am using Keil to program STM32. How to customize the program boot process with or without copying data segment initializers from flash to Sram and initializing bss?