[PATCH] elf.h: add PT_GNU_SFRAME
Florian Weimer
fweimer@redhat.com
Wed Jan 18 13:09:05 GMT 2023
* Indu Bhagat via Libc-alpha:
> 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 | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/elf/elf.h b/elf/elf.h
> index b6a75c13a8..9692200f6f 100644
> --- 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 */
Please submit this to the gnu-gabi list as well, preferably with a
documentation patch.
Thanks,
Florian
More information about the Libc-alpha
mailing list