Can the C _start function be made to call an entry point function other than main?
The reason is I want to have a preprocessor embed additional functions in every C program I compile. The embedded code might provide test functions. Or some special debug features.
When I compile the program I would like to tell _start to call the my_main function instead of main. If command line argument -test is specified, my_main would call the special test functions. Otherwise, my_main calls the actual main function.