aarch64: handle .variant_pcs directive in gas
authorSzabolcs Nagy <szabolcs.nagy@arm.com>
Thu, 25 Apr 2019 14:06:53 +0000 (15:06 +0100)
committerSzabolcs Nagy <szabolcs.nagy@arm.com>
Fri, 24 May 2019 14:07:42 +0000 (15:07 +0100)
commitf166ae0188dcb89c5ae925034260a708a254ab2f
tree8826f08fe24117fe6cd3d747c50b69c8d890e263
parent2301ed1c9af1316b4bad3747d2b03f7d44940f87
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.
gas/ChangeLog
gas/config/tc-aarch64.c
gas/doc/c-aarch64.texi
gas/testsuite/gas/aarch64/symbol-variant_pcs-1.d [new file with mode: 0644]
gas/testsuite/gas/aarch64/symbol-variant_pcs-1.s [new file with mode: 0644]
gas/testsuite/gas/aarch64/symbol-variant_pcs-2.d [new file with mode: 0644]
gas/testsuite/gas/aarch64/symbol-variant_pcs-2.s [new file with mode: 0644]