Commit 72f81022 authored by Shenghou Ma's avatar Shenghou Ma Committed by Minux Ma

cmd/internal/obj/arm64: add SVC to unary destination list

To support "SVC $0x80", which is needed for darwin/arm64.

Change-Id: I3b3f80791a1db4c2b7318f81a115972cd2237f00
Signed-off-by: default avatarShenghou Ma <minux@golang.org>
Reviewed-on: https://go-review.googlesource.com/8769Reviewed-by: default avatarDavid Crawshaw <crawshaw@golang.org>
parent 69d92477
...@@ -811,6 +811,7 @@ var unaryDst = map[int]bool{ ...@@ -811,6 +811,7 @@ var unaryDst = map[int]bool{
ADWORD: true, ADWORD: true,
ABL: true, ABL: true,
AB: true, AB: true,
ASVC: true,
} }
var Linkarm64 = obj.LinkArch{ var Linkarm64 = obj.LinkArch{
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment