This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Strip error: Unable to recognise the format of the input file

strip --strip-unneeded ButtonLED_ti_reloc_strip.out 
BFD: ButtonLED_ti_reloc_strip.out: warning: sh_link not set for section `.mspabi.exidx'
strip: Unable to recognise the format of the input file `ButtonLED_ti_reloc_strip.out'

I tried to strip a file compiled with the CCS. The project was set with -g and -r (debug info and relocatable).

I wanted to strip the file and check the differences since I am working with ELF files and having a reduced amount of sections would help me a lot.

Unfortunately, seems like I can't do it due to the error in the title, can anyone tell me why is that happening ?

Thank you.