[PATCH binutils 3/4] aarch64: override default elf .set handling in gas
Szabolcs Nagy
Szabolcs.Nagy@arm.com
Thu May 23 11:10:00 GMT 2019
Allow st_other values such as STO_AARCH64_VARIANT_PCS to be set for alias
symbols independently. This is needed for ifunc symbols which are
aliased to the resolver using .set and don't expect resolver attributes
to override the ifunc symbol attributes. This means .variant_pcs must be
added explicitly to aliases.
gas/ChangeLog:
2019-05-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
* config/tc-aarch64.c (aarch64_elf_copy_symbol_attributes): Define.
* config/tc-aarch64.h (aarch64_elf_copy_symbol_attributes): Declare.
(OBJ_COPY_SYMBOL_ATTRIBUTES): Define.
* testsuite/gas/aarch64/symbol-variant_pcs-3.d: New test.
* testsuite/gas/aarch64/symbol-variant_pcs-3.s: New test.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-aarch64-override-default-elf-.set-handling-in-gas.diff
Type: text/x-patch
Size: 3383 bytes
Desc: 0003-aarch64-override-default-elf-.set-handling-in-gas.diff
URL: <https://sourceware.org/pipermail/binutils/attachments/20190523/49518a03/attachment.bin>
More information about the Binutils
mailing list