Specifies no entry point for the executable image.
-noentry
The linker uses the main entry point to determine which objects/functions to add to your application that are referenced from that entry point. In absence of an entry point, the application will be empty (completely deadstripped) resulting in an linker error.
There are several ways to pass other entry points to the linker for objects that are not referenced from the main entry point.
For example, if you have a simple reset vector function which simply calls your startup code (call the startup code __start and __reset for the reset vector function for this example), you could do the following :