1
0
mirror of https://github.com/golang/go synced 2024-11-24 03:50:18 -07:00
go/test/asmhdr.dir/main.s
Ian Lance Taylor 8b9b365493 cmd/compile: use exact constant in go_asm.h
Fixes #50523

Change-Id: Idab1b44d106250e9301d90ee6571f0ea51242dd9
Reviewed-on: https://go-review.googlesource.com/c/go/+/377074
Trust: Ian Lance Taylor <iant@golang.org>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Liz Fong-Jones <lizf@honeycomb.io>
Reviewed-by: Emmanuel Odeke <emmanuel@orijtech.com>
Trust: Emmanuel Odeke <emmanuel@orijtech.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Robert Griesemer <gri@golang.org>
Reviewed-by: Robert Findley <rfindley@google.com>
2022-01-10 21:27:19 +00:00

31 lines
733 B
ArmAsm

// Copyright 2021 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
#include "go_asm.h"
#define RODATA 8
DATA ·smallIntAsm(SB)/8, $const_smallInt
GLOBL ·smallIntAsm(SB),RODATA,$8
DATA ·bigIntAsm(SB)/8, $const_bigInt
GLOBL ·bigIntAsm(SB),RODATA,$8
DATA ·stringAsm(SB)/4, $const_stringVal
GLOBL ·stringAsm(SB),RODATA,$4
DATA ·longStringAsm(SB)/91, $const_longStringVal
GLOBL ·longStringAsm(SB),RODATA,$91
DATA ·typSize(SB)/8, $typ__size
GLOBL ·typSize(SB),RODATA,$8
DATA ·typA(SB)/8, $typ_a
GLOBL ·typA(SB),RODATA,$8
DATA ·typB(SB)/8, $typ_b
GLOBL ·typB(SB),RODATA,$8
DATA ·typC(SB)/8, $typ_c
GLOBL ·typC(SB),RODATA,$8