altos: Use --gc-sections
authorKeith Packard <keithp@keithp.com>
Sun, 25 Sep 2022 20:55:04 +0000 (13:55 -0700)
committerKeith Packard <keithp@keithp.com>
Thu, 27 Oct 2022 23:58:32 +0000 (16:58 -0700)
commit3a7ae9e964c9554a667a09d6b437fef136bc0fa0
treed9de18f50531dba735af5dd0973bf60f9b927316
parent1523a986a7c2e8402c628e2697e44fe6281c164e
altos: Use --gc-sections

This allows the linker to discard unused functions.

Don't use -ffunctions-sections and -fdata-sections as that eliminates
several optimization opportunities and increases code size.

Signed-off-by: Keith Packard <keithp@keithp.com>
src/Makefile.defs