github.com/go-asm/go@v1.21.1-0.20240213172139-40c5ead50c48/cmd/link/loong64/l.go (about)

     1  // Copyright 2022 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 loong64
     6  
     7  const (
     8  	maxAlign  = 32 // max data alignment
     9  	minAlign  = 1  // min data alignment
    10  	funcAlign = 16
    11  )
    12  
    13  /* Used by ../../github.com/go-asm/go/ld/dwarf.go */
    14  const (
    15  	dwarfRegSP = 3
    16  	dwarfRegLR = 1
    17  )