SLAU131V October 2004 – February 2020
If you invoke the linker with both the --absolute_exe and --relocatable options, the linker produces an executable, relocatable object module. The output file contains the special linker symbols, an optional header, and all resolved symbol references; however, the relocation information is retained.
This example links file1.c.obj and file2.c.obj to create an executable, relocatable output module called xr.out:
cl430 --run_linker -ar file1.c.obj file2.c.obj --output_file=xr.out