gas: sframe: add support for .cfi_b_key_frame
authorIndu Bhagat <indu.bhagat@oracle.com>
Thu, 22 Dec 2022 17:57:16 +0000 (09:57 -0800)
committerIndu Bhagat <indu.bhagat@oracle.com>
Thu, 22 Dec 2022 17:57:16 +0000 (09:57 -0800)
commit3369de90b81592b44ba34360642a74a68afbdf7a
tree621de1cc0c59ca7c0ed50464a6cbc2c3c4d44693
parent41eed6e1878d93753ff82913d4577616c4778fa7
gas: sframe: add support for .cfi_b_key_frame

Gather the information from the DWARF FDE on whether frame's return
addresses are signed using the B key or A key.  Reflect the information in
the SFrame counterpart data structure, the SFrame FDE.

ChangeLog:

* gas/gen-sframe.c (get_dw_fde_pauth_b_key_p): New definition.
(sframe_v1_set_func_info): Add new argument for pauth_key.
(sframe_set_func_info): Likewise.
(output_sframe_funcdesc): Likewise.
* gas/gen-sframe.h (struct sframe_version_ops): Add new argument
to the function pointer declaration.
* gas/sframe-opt.c (sframe_convert_frag): Handle pauth_key.
gas/gen-sframe.c
gas/gen-sframe.h
gas/sframe-opt.c