I’m interested in compiling GCC programs which will be used on a microcontroller with a boot loader at the top section of memory.
The bootloader starts and then will jump to the main program.
I understand how to place the program in a certain memory region using the linker script but I’m not sure how to 1. Get the program entry point and 2. Place it at a certain address via the linker script.
I want all the standard initialization libraries to run so I truly need the entry point of the program, not of main.