When defining a greater number of interrupts (~ > 26) in your program and compiling with TI's own mspgcc toolchain, the command "prog x.elf" fails with "elf32: too many program headers".
Apparently, each interrupt gets their very own 2 bytes long section so that you will exceed the hard coded Limit of 32 program headers.
I have increased these hard-coded limits slightly.
When defining a greater number of interrupts (~ > 26) in your program and compiling with TI's own mspgcc toolchain, the command "prog x.elf" fails with "elf32: too many program headers". Apparently, each interrupt gets their very own 2 bytes long section so that you will exceed the hard coded Limit of 32 program headers. I have increased these hard-coded limits slightly.