Updated Golang ppc64x asm Reference (markdown)

Sun Yimin 2024-09-12 17:21:55 +08:00
parent 71d5d35687
commit 31733fb012

@ -151,7 +151,6 @@ In Go assembly, the naming conventions for function definitions are as follows:
1. ·funcname(SB): This is a special notation used in the Plan 9 assembly syntax that Go uses. The · prefix denotes a global symbol. This function can be called from anywhere in the program. It's essentially the same as funcname(SB).
我感觉AI回答的不是十分正确·funcname(SB)是最常用到的感觉更应该是package level function。
In Go assembly, the `·` symbol is used to denote a global symbol. When you define a global symbol like `·mask`, it's expected to be unique in the entire program. If you try to define `·mask` more than once, you'll get a duplicate symbol definition error.