HoneyGol-Microsystems / vesp-alpha

RISC-V based student processor for embedded applications.
GNU General Public License v3.0
3 stars 0 forks source link

96 exclude unused functions during compilation #98

Closed medexs closed 11 months ago

medexs commented 11 months ago

Fixes #96

I added back the --gc-sections option that seemed to delete unused sections. I removed it because it was also deleting used sections. To mark sections that should always be kept in the final executable, the KEEP macro has to be aplied in the linker script to these sections.