[PATCH,V2 1/1] Add PT_GNU_SFRAME segment

Florian Weimer fweimer@redhat.com
Fri Apr 28 08:16:32 GMT 2023


* Indu Bhagat via Gnu-gabi:

> ---
>  program-loading-and-dynamic-linking.txt | 14 ++++++++++++++
>  1 file changed, 14 insertions(+)
>
> diff --git a/program-loading-and-dynamic-linking.txt b/program-loading-and-dynamic-linking.txt
> index a07c195..ebf693e 100644
> --- a/program-loading-and-dynamic-linking.txt
> +++ b/program-loading-and-dynamic-linking.txt
> @@ -129,6 +129,20 @@ PT_GNU_PROPERTY  0x6474e553
>  
>    Reference: https://raw.githubusercontent.com/wiki/hjl-tools/linux-abi/linux-abi-draft.pdf
>  
> +PT_GNU_SFRAME    0x6474e554
> +
> +  Segment contains the SFrame section (Simple Frame format stack trace
> +  information).
> +
> +  NOTE: The virtual address range referred to by PT_GNU_SFRAME must be covered
> +  by a PT_LOAD entry - PT_GNU_SFRAME on its own does not trigger the
> +  mapping/loading of any data.
> +
> +  The contents of the SFrame section are described in the GNU Binutils
> +  documentation.  As of 2.40:
> +
> +  https://sourceware.org/binutils/docs/sframe-spec.html
> +
>  There are further extensions to p_type but currently they are all
>  architecture specific and should be documented in the relevant ABIs.

Thanks, pushed.

Florian



More information about the Gnu-gabi mailing list