... between specification and implmentation.
Move to definition in the implementation (gas/ld/libsframe) and not the
specification (include/sframe.h). At this time the implementation in
gas and ld generate the sections in the latest SFrame version only.
bfd/
* elf-sframe.c: Add definition here.
gas/
* gen-sframe.c: Likewise.
libsframe/
* sframe.c: Likewise.
include/
* sframe.h: Remove the definition.
#include "sframe-api.h"
#include "sframe-internal.h"
+typedef sframe_func_desc_entry_v2 sframe_func_desc_entry;
+
/* Return TRUE if the function has been marked for deletion during the linking
process. */
# define SFRAME_FRE_TYPE_SELECTION_OPT 1
#endif
+/* gas emits SFrame Version 2 only at this time. */
+typedef sframe_func_desc_entry_v2 sframe_func_desc_entry;
+
/* List of SFrame FDE entries. */
static struct sframe_func_entry *all_sframe_fdes = NULL;
uint16_t sfde_func_padding2;
} ATTRIBUTE_PACKED sframe_func_desc_entry_v2;
-typedef sframe_func_desc_entry_v2 sframe_func_desc_entry;
-
/* Macros to compose and decompose function info in FDE. */
/* Note: Set PAC auth key to SFRAME_AARCH64_PAUTH_KEY_A by default. */
#include "sframe-impl.h"
#include "swap.h"
+typedef sframe_func_desc_entry_v2 sframe_func_desc_entry;
+
struct sf_fde_tbl
{
unsigned int count;