SLAU131V October 2004 – February 2020
The --ram_model and --rom_model options cause the linker to use linking conventions that are required by the C compiler. Both options inform the linker that the program is a C program and requires a boot routine.
If you use a linker command line that does not compile any C/C++ files, you must use either the --rom_model or --ram_model option. If your command line fails to include one of these options when it is required, you will see "warning: no suitable entry-point found; setting to 0".
If you use a single command line to both compile and link, the --rom_model option is the default. If used, the --rom_model or --ram_model option must follow the --run_linker option.
For more information, see Section 8.11, Section 3.3.2.1, and Section 3.3.2.2.