[PATCH] D89138: [AArch64] Implement .variant_pcs directive
Cullen Rhodes via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Oct 9 09:03:16 PDT 2020
c-rhodes created this revision.
c-rhodes added reviewers: sdesmalen, efriedma, ctetreau.
Herald added subscribers: danielkiss, hiraditya, kristof.beyls.
Herald added a project: LLVM.
c-rhodes requested review of this revision.
A dynamic linker with lazy binding support may need to handle variant
PCS function symbols specially, so an ELF symbol table marking
STO_AARCH64_VARIANT_PCS [1] was added to address this.
Function symbols that follow the vector PCS are marked via the
.variant_pcs assembler directive, which takes a single parameter
specifying the symbol name and sets the STO_AARCH64_VARIANT_PCS st_other
flag in the object file.
[1] https://github.com/ARM-software/abi-aa/blob/master/aaelf64/aaelf64.rst#st-other-values
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D89138
Files:
llvm/include/llvm/BinaryFormat/ELF.h
llvm/lib/Target/AArch64/AArch64AsmPrinter.cpp
llvm/lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp
llvm/lib/Target/AArch64/MCTargetDesc/AArch64ELFStreamer.cpp
llvm/lib/Target/AArch64/MCTargetDesc/AArch64TargetStreamer.h
llvm/test/CodeGen/AArch64/variant-pcs.ll
llvm/test/MC/AArch64/directive-variant_pcs-err.s
llvm/test/MC/AArch64/directive-variant_pcs.s
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D89138.297249.patch
Type: text/x-patch
Size: 8728 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201009/1c09b9fc/attachment.bin>
More information about the llvm-commits
mailing list