Don't have Telegram yet? Try it now!
https://mcuoneclipse.com/2017/11/12/solving-problem-with-gnu-linker-and-referenced-in-section-defined-in-discarded-section-error-message/
Solving Problem with GNU Linker and "referenced in section, defined in discarded section " Error Message