I'm trying to migrate a set of projects from CCS 7.4.0 & TI v5.2.9 to CCS 11.1.0 & TI Clang v1.3.0LTS.
The new toolchain offers only the ELF output format, and the build for a subset of the projects fails saying: "fatal error #10017: combining options --absolute (-a) and --relocatable (-r) is not supported when producing ELF output files".
Is there a way to get COFF output, assuming that would allow the --absolute and --relocatable options to be combined?
If not, is it possible to generate a BIN file that is both absolute and relocatable? The tools docs mention an '-ar' option, but it did not appear to work as expected.
Background:
The set of projects in question includes an application, which is built more conventionally, and several "drivers" which (at least with the TI v5.2.9 tools) required both the --absolute and --relocatable flags. This allows the drivers to be loaded into FLASH at a known location at run time and (after a reboot) to be accessed by the application through a dispatch table located at the base address of the driver.