X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=gas%2Fdw2gencfi.h;h=2b1362a2bb02161e8b9e6c8b781e38f39fd319d8;hb=3a67e1a6b4430374f3073e51bb19347d4c421cfe;hp=cf534b477696eb5f718b47fdf2bb55d89beafec2;hpb=90af06793e9d391c0aa33994f21bba6971d084f7;p=external%2Fbinutils.git diff --git a/gas/dw2gencfi.h b/gas/dw2gencfi.h index cf534b4..2b1362a 100644 --- a/gas/dw2gencfi.h +++ b/gas/dw2gencfi.h @@ -135,6 +135,27 @@ enum { EH_COMPACT_HAS_LSDA }; +enum pointer_auth_key { + AARCH64_PAUTH_KEY_A, + AARCH64_PAUTH_KEY_B +}; + +/* Stack of old CFI data, for save/restore. */ +struct cfa_save_data +{ + struct cfa_save_data *next; + offsetT cfa_offset; +}; + +/* Current open FDE entry. */ +struct frch_cfi_data +{ + struct fde_entry *cur_fde_data; + symbolS *last_address; + offsetT cur_cfa_offset; + struct cfa_save_data *cfa_save_stack; +}; + struct fde_entry { struct fde_entry *next; @@ -162,6 +183,8 @@ struct fde_entry /* For out of line tables and FDEs. */ symbolS *eh_loc; int sections; + /* The pointer authentication key used. Only used for AArch64. */ + enum pointer_auth_key pauth_key; }; /* The list of all FDEs that have been collected. */