aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/elf/common.h1
-rw-r--r--include/elf/internal.h1
-rw-r--r--include/sframe-api.h2
3 files changed, 3 insertions, 1 deletions
diff --git a/include/elf/common.h b/include/elf/common.h
index 287526d..16587f6 100644
--- a/include/elf/common.h
+++ b/include/elf/common.h
@@ -489,6 +489,7 @@
#define PT_GNU_STACK (PT_LOOS + 0x474e551) /* Stack flags */
#define PT_GNU_RELRO (PT_LOOS + 0x474e552) /* Read-only after relocation */
#define PT_GNU_PROPERTY (PT_LOOS + 0x474e553) /* GNU property */
+#define PT_GNU_SFRAME (PT_LOOS + 0x474e554) /* SFrame unwind information */
/* OpenBSD segment types. */
#define PT_OPENBSD_RANDOMIZE (PT_LOOS + 0x5a3dbe6) /* Fill with random data. */
diff --git a/include/elf/internal.h b/include/elf/internal.h
index 8affb3d..de9f678 100644
--- a/include/elf/internal.h
+++ b/include/elf/internal.h
@@ -339,6 +339,7 @@ struct elf_segment_map
|| (segment)->p_type == PT_GNU_EH_FRAME \
|| (segment)->p_type == PT_GNU_STACK \
|| (segment)->p_type == PT_GNU_RELRO \
+ || (segment)->p_type == PT_GNU_SFRAME \
|| ((segment)->p_type >= PT_GNU_MBIND_LO \
&& (segment)->p_type <= PT_GNU_MBIND_HI))) \
/* Any section besides one of type SHT_NOBITS must have file \
diff --git a/include/sframe-api.h b/include/sframe-api.h
index f0924dc..010a35a 100644
--- a/include/sframe-api.h
+++ b/include/sframe-api.h
@@ -187,7 +187,7 @@ sframe_encode (unsigned char ver, unsigned char flags, int abi,
/* Free the encoder context. */
extern void
-sframe_free_encoder (sframe_encoder_ctx *encoder);
+sframe_encoder_free (sframe_encoder_ctx **encoder);
/* Get the size of the SFrame header from the encoder ctx ENCODER. */
extern unsigned int