]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/internal/obj/loong64: adjust the order of class names
authorlimeidan <limeidan@loongson.cn>
Fri, 12 Jan 2024 02:46:57 +0000 (10:46 +0800)
committerGopher Robot <gobot@golang.org>
Fri, 2 Aug 2024 14:43:44 +0000 (14:43 +0000)
Change-Id: I0ff9a4f7b4758f44eaedfd821ad80a86b58e55a4
Reviewed-on: https://go-review.googlesource.com/c/go/+/565625
Reviewed-by: Qiqi Huang <huangqiqi@loongson.cn>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
Reviewed-by: sophie zhao <zhaoxiaolin@loongson.cn>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Auto-Submit: abner chenc <chenguoqi@loongson.cn>
Reviewed-by: abner chenc <chenguoqi@loongson.cn>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
src/cmd/internal/obj/loong64/a.out.go
src/cmd/internal/obj/loong64/cnames.go

index 9309a3b09a9c1f5abb74a71438c97ccf9261d5b1..e48160eaa292ef15fcc801808dff7dbbd4f4602a 100644 (file)
@@ -210,21 +210,21 @@ const (
        C_DCON    // other 64 (could subdivide further)
        C_SACON   // $n(REG) where n <= int12
        C_LACON   // $n(REG) where int12 < n <= int32
-       C_EXTADDR // external symbol address
        C_DACON   // $n(REG) where int32 < n
+       C_EXTADDR // external symbol address
        C_BRAN
        C_SAUTO
        C_LAUTO
        C_ZOREG
        C_SOREG
        C_LOREG
-       C_GOK
        C_ADDR
        C_TLS_LE
        C_TLS_IE
        C_GOTADDR
        C_TEXTSIZE
 
+       C_GOK
        C_NCLASS // must be the last
 )
 
index 8e103b888f49bc7521fae282804f73bbac6c03c4..985a331defa0fdd04f874dd8c2fdbcb8c633a447 100644 (file)
@@ -22,19 +22,19 @@ var cnames0 = []string{
        "DCON",
        "SACON",
        "LACON",
-       "EXTADDR",
        "DACON",
+       "EXTADDR",
        "BRAN",
        "SAUTO",
        "LAUTO",
        "ZOREG",
        "SOREG",
        "LOREG",
-       "GOK",
        "ADDR",
        "TLS_LE",
        "TLS_IE",
        "GOTADDR",
        "TEXTSIZE",
+       "GOK",
        "NCLASS",
 }