avr: support ThinLTO

ThinLTO results in a small code size reduction, which is nice
(especially on these very small chips). It also brings us one step
closer to using ThinLTO everywhere.
This commit is contained in:
Ayke van Laethem
2022-11-17 18:43:51 +00:00
committed by Ron Evans
parent 5c622cfc43
commit 4d14d3cd54
6 changed files with 38 additions and 18 deletions
+1 -1
View File
@@ -5,7 +5,7 @@ MEMORY
RAM (xrw) : ORIGIN = 0x800000 + __ram_start, LENGTH = __ram_size
}
ENTRY(__vector_RESET)
ENTRY(main)
SECTIONS
{