3.8.1.13 XC8 Linker - Optimization

Figure 3-22. XC8 Linker - Optimization
Garbage collect unused sections
Select this checkbox to have unused sections removed from the program output. See 3.6.11 Mapped Linker Options.