]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
elf.h: add PT_GNU_SFRAME
authorIndu Bhagat <indu.bhagat@oracle.com>
Fri, 28 Apr 2023 08:53:05 +0000 (10:53 +0200)
committerFlorian Weimer <fweimer@redhat.com>
Fri, 28 Apr 2023 08:53:05 +0000 (10:53 +0200)
Support for SFrame format is available in Binutils 2.40.  The GNU ld merges
the input .sframe sections and creates an output .sframe section in a
segment PT_GNU_SFRAME.

elf/elf.h

index 4bc0e4299c3a4c8ffa5a4be077af273a16286ecf..94ca23c1bbedd6d64f07419d40c94e5b42b97d22 100644 (file)
--- a/elf/elf.h
+++ b/elf/elf.h
@@ -728,6 +728,7 @@ typedef struct
 #define PT_GNU_STACK   0x6474e551      /* Indicates stack executability */
 #define PT_GNU_RELRO   0x6474e552      /* Read-only after relocation */
 #define PT_GNU_PROPERTY        0x6474e553      /* GNU property */
+#define PT_GNU_SFRAME  0x6474e554      /* SFrame segment.  */
 #define PT_LOSUNW      0x6ffffffa
 #define PT_SUNWBSS     0x6ffffffa      /* Sun Specific segment */
 #define PT_SUNWSTACK   0x6ffffffb      /* Stack segment */