diff options
author | Szabolcs Nagy <szabolcs.nagy@arm.com> | 2019-04-25 15:06:53 +0100 |
---|---|---|
committer | Szabolcs Nagy <szabolcs.nagy@arm.com> | 2019-05-24 15:07:42 +0100 |
commit | f166ae0188dcb89c5ae925034260a708a254ab2f (patch) | |
tree | 8826f08fe24117fe6cd3d747c50b69c8d890e263 /gas/doc | |
parent | 2301ed1c9af1316b4bad3747d2b03f7d44940f87 (diff) | |
download | gdb-f166ae0188dcb89c5ae925034260a708a254ab2f.zip gdb-f166ae0188dcb89c5ae925034260a708a254ab2f.tar.gz gdb-f166ae0188dcb89c5ae925034260a708a254ab2f.tar.bz2 |
aarch64: handle .variant_pcs directive in gas
In ELF objects the specified symbol is marked with STO_AARCH64_VARIANT_PCS.
gas/ChangeLog:
* config/tc-aarch64.c (s_variant_pcs): New function.
* doc/c-aarch64.texi: Document .variant_pcs.
* testsuite/gas/aarch64/symbol-variant_pcs-1.d: New test.
* testsuite/gas/aarch64/symbol-variant_pcs-1.s: New test.
* testsuite/gas/aarch64/symbol-variant_pcs-2.d: New test.
* testsuite/gas/aarch64/symbol-variant_pcs-2.s: New test.
Diffstat (limited to 'gas/doc')
-rw-r--r-- | gas/doc/c-aarch64.texi | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gas/doc/c-aarch64.texi b/gas/doc/c-aarch64.texi index 74ffc8f..e663061 100644 --- a/gas/doc/c-aarch64.texi +++ b/gas/doc/c-aarch64.texi @@ -439,6 +439,12 @@ should only be done if it is really necessary. @c VVVVVVVVVVVVVVVVVVVVVVVVVV +@cindex @code{.variant_pcs} directive, AArch64 +@item .variant_pcs @var{symbol} +This directive marks @var{symbol} referencing a function that may +follow a variant procedure call standard with different register +usage convention from the base procedure call standard. + @c WWWWWWWWWWWWWWWWWWWWWWWWWW @c XXXXXXXXXXXXXXXXXXXXXXXXXX |