aboutsummaryrefslogtreecommitdiff
path: root/config/asmcfi.m4
diff options
context:
space:
mode:
authorSzabolcs Nagy <szabolcs.nagy@arm.com>2019-04-25 15:07:14 +0100
committerSzabolcs Nagy <szabolcs.nagy@arm.com>2019-05-24 15:11:00 +0100
commit823710d5856996d1f54f04ecb2f7647aeae99b5b (patch)
tree7b44adae584db07fd7736ad67b89626e1a757a00 /config/asmcfi.m4
parent0b4eac57c44ec4c9e13f5201b40936c3b3e6c639 (diff)
downloadgdb-823710d5856996d1f54f04ecb2f7647aeae99b5b.zip
gdb-823710d5856996d1f54f04ecb2f7647aeae99b5b.tar.gz
gdb-823710d5856996d1f54f04ecb2f7647aeae99b5b.tar.bz2
aarch64: handle STO_AARCH64_VARIANT_PCS in bfd
Propagate STO_AARCH64_VARIANT_PCS st_other attribute to the output and add DT_AARCH64_VARIANT_PCS dynamic tag if necessary. Mismatching attributes are not diagnosed. bfd/ChangeLog: * elfnn-aarch64.c (elfNN_aarch64_merge_symbol_attribute): New function. (struct elf_aarch64_link_hash_table): Add variant_pcs member. (elfNN_aarch64_allocate_dynrelocs): Update variant_pcs. (elfNN_aarch64_size_dynamic_sections): Add DT_AARCH64_VARIANT_PCS. (elf_backend_merge_symbol_attribute): Define. ld/ChangeLog: * testsuite/ld-aarch64/aarch64-elf.exp: Add new tests. * testsuite/ld-aarch64/variant_pcs-1.s: New asm for tests. * testsuite/ld-aarch64/variant_pcs-2.s: New asm for tests. * testsuite/ld-aarch64/variant_pcs-now.d: New test. * testsuite/ld-aarch64/variant_pcs-r.d: New test. * testsuite/ld-aarch64/variant_pcs-shared.d: New test. * testsuite/ld-aarch64/variant_pcs.ld: New linker script for tests.
Diffstat (limited to 'config/asmcfi.m4')
0 files changed, 0 insertions, 0 deletions