This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
GCC for the MSP430 target uses hard-coded data to choose the correct CPU ISA and hardware multiply version for a given MCU. Since the data is hard-coded, this data can only be updated by updating the compiler itself. The following patch changes the mechanism for processing device data to instead look for a "devices.csv" file (provided by TI) on the include and linker search paths specified by the user. If the file is found then it is parsed, and the device passed to the mmcu option is searched for. If the file or device aren't found, then GCC uses the old hard-coded data instead. If the patch is acceptable, I would appreciate if someone could commit it for me, as I do not have write access. Thanks, Jozef
Attachment:
0001-MSP430-Read-mcu-data-from-file-instead-of-hardcoded-.patch
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |