search for: settargetattribut

Displaying 1 result from an estimated 1 matches for "settargetattribut".

Did you mean: settargetattributes
2018 May 25
1
MSP430: interrupt vector number out of bounds error in v6/trunk (with patch)
...e linker script expects). Note that Clang creates __isr_* symbols automatically, but these are only interpreted by the deprecated MSPGCC compiler/linker, not by TI GCC for MSP. See more on this below. Clang creates __isr_* symbols for MSPGCC (see lib/CodeGen/TargetInfo.cpp MSP430TargetCodeGenInfo::SetTargetAttributes), these are not relevant for TI GCC, but they are not entirely harmless. They cause a problem because Clang generates __isr_N where N is divided by 2 (because MSPGCC wants it that way, I guess). So, if we pass a vector number, the odd and even vector numbers will generate the same symbol and ther...