mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-12-22 10:30:13 +00:00
67a39618eb
This magic comes from the `--gc-sections` linker flag, which turns on garbage collection for unused input sections. The compiler flags `-ffunction-sections` and `-fdata-sections` make sure that each function and each static data definition have their own section. The result is that GCC can prune away all unused symbols, reducing the size of the resulting executable. These optimizations may be disabled by setting the Makefile variable `SMALL` to zero. |
||
---|---|---|
.. | ||
dev | ||
radio | ||
avr.c | ||
avrdef.h | ||
bootloader.c | ||
bootloader.h | ||
cc2420_spi.c | ||
leds-arch.c | ||
Makefile.avr | ||
minileds.c | ||
mtarch.c | ||
mtarch.h | ||
rtimer-arch.c | ||
rtimer-arch.h | ||
settings.c | ||
settings.h | ||
slip_uart1.c | ||
spi.c | ||
watchdog.c |