How set set entry point in a elf target using ld script

I want to specify the entry point to my ELF file using the linker script. I already defined some sections in my ELF, so want to set an entry point also withit. Can anyone tell me how to do it?

Source: gcc

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.