src/cmd/link/internal/riscv64/l.go
raw| 1 | // Copyright 2019 The Go Authors. All rights reserved. |
| 2 | // Use of this source code is governed by a BSD-style |
| 3 | // license that can be found in the LICENSE file. |
| 4 | |
| 5 | package riscv64 |
| 6 | |
| 7 | const ( |
| 8 | maxAlign = 32 // max data alignment |
| 9 | minAlign = 1 |
| 10 | funcAlign = 8 |
| 11 | |
| 12 | dwarfRegLR = 1 |
| 13 | dwarfRegSP = 2 |
| 14 | ) |