diff options
author | fanzha02 <fannie.zhang@arm.com> | 2020-03-31 18:05:50 +0800 |
---|---|---|
committer | Cherry Zhang <cherryyz@google.com> | 2020-05-01 20:39:53 +0000 |
commit | cb00d9343156859401fadac1ceadab3398c3a1c8 (patch) | |
tree | e061adb1a108461383ea22565e951df79285e7ce /doc/asm.html | |
parent | e0e0dab41184763899d9068f375151d97d6c5caa (diff) | |
download | go-cb00d9343156859401fadac1ceadab3398c3a1c8.tar.gz go-cb00d9343156859401fadac1ceadab3398c3a1c8.zip |
doc, cmd/internal/obj/arm64: update the directives in the doc
Adding the usage of PCALIGN directive for arm64, and updating some
details on using some directives defined in the textflag.h file.
Change-Id: I43d363e3337939bab69b856831caf06803a292d2
Reviewed-on: https://go-review.googlesource.com/c/go/+/227801
Reviewed-by: Cherry Zhang <cherryyz@google.com>
Diffstat (limited to 'doc/asm.html')
-rw-r--r-- | doc/asm.html | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/doc/asm.html b/doc/asm.html index d89072e319..dbbe8f2cd1 100644 --- a/doc/asm.html +++ b/doc/asm.html @@ -437,6 +437,31 @@ This is a wrapper function and should not count as disabling <code>recover</code (For <code>TEXT</code> items.) This function is a closure so it uses its incoming context register. </li> +<li> +<code>LOCAL</code> = 128 +<br> +This symbol is local to the dynamic shared object. +</li> +<li> +<code>TLSBSS</code> = 256 +<br> +(For <code>DATA</code> and <code>GLOBL</code> items.) +Put this data in thread local storage. +</li> +<li> +<code>NOFRAME</code> = 512 +<br> +(For <code>TEXT</code> items.) +Do not insert instructions to allocate a stack frame and save/restore the return +address, even if this is not a leaf function. +Only valid on functions that declare a frame size of 0. +</li> +<li> +<code>TOPFRAME</code> = 2048 +<br> +(For <code>TEXT</code> items.) +Function is the top of the call stack. Traceback should stop at this function. +</li> </ul> <h3 id="runtime">Runtime Coordination</h3> |