mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-05 19:43:44 +00:00
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:
committed by
Ron Evans
parent
5c622cfc43
commit
4d14d3cd54
@@ -40,6 +40,8 @@ func procUnpin() {
|
||||
|
||||
// The following functions are workarounds for things missing in compiler-rt.
|
||||
// They will likely need special assembly implementations.
|
||||
// They are treated specially: they're added to @llvm.compiler.used so that the
|
||||
// linker won't eliminate them.
|
||||
|
||||
//export __mulsi3
|
||||
func __mulsi3(a, b uint32) uint32 {
|
||||
|
||||
Reference in New Issue
Block a user