ELF: Teach the linker about the 'B' augmentation string character.
authorPeter Collingbourne <peter@pcc.me.uk>
Thu, 31 Dec 2020 06:11:45 +0000 (22:11 -0800)
committerPeter Collingbourne <peter@pcc.me.uk>
Wed, 6 Jan 2021 03:51:11 +0000 (19:51 -0800)
commitaed84542d5a05b415a9a7f54494107aea8bd7e89
treecb371d0489ad8bdab418475e27037cc4413085f1
parentcdfd4c5c1a9740b881eccb622b3bea474a26f1f9
ELF: Teach the linker about the 'B' augmentation string character.

This character indicates that when return pointer authentication is
being used, the function signs the return address using the B key.

Differential Revision: https://reviews.llvm.org/D93954
lld/ELF/EhFrame.cpp
lld/test/ELF/eh-frame-cfi-b-key.s [new file with mode: 0644]