[PATCH,V2 1/1] Add SHT_GNU_SFRAME
Florian Weimer
fweimer@redhat.com
Fri Jul 11 20:14:35 GMT 2025
* Indu Bhagat via Gnu-gabi:
> ---
> [Changes from V1]
> - Mention SFrame section type in the entry for PT_GNU_SFRAME.
> - Mention program header type in the entry for SHT_GNU_SFRAME.
> [End of changes in from V1]
> ---
> program-loading-and-dynamic-linking.txt | 10 +++++++++-
> 1 file changed, 9 insertions(+), 1 deletion(-)
>
> diff --git a/program-loading-and-dynamic-linking.txt b/program-loading-and-dynamic-linking.txt
> index ebf693e..3357d86 100644
> --- a/program-loading-and-dynamic-linking.txt
> +++ b/program-loading-and-dynamic-linking.txt
> @@ -132,7 +132,7 @@ PT_GNU_PROPERTY 0x6474e553
> PT_GNU_SFRAME 0x6474e554
>
> Segment contains the SFrame section (Simple Frame format stack trace
> - information).
> + information). An SFrame section has a section type of SHT_GNU_SFRAME.
>
> 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
> @@ -390,6 +390,14 @@ SHT_GNU_INCREMENTAL_INPUTS 0x6fff4700
>
> Currently used internally during incremental linking by gold.
>
> +SHT_GNU_SFRAME 0x6ffffff4
> +
> + Section name: ".sframe"
> +
> + SFrame stack trace data. The section's attributes will include the SHF_ALLOC
> + bit. When present, the SFrame section appears in a segment of type
> + PT_GNU_SFRAME.
> +
> SHT_GNU_ATTRIBUTES 0x6ffffff5
>
> Section name: ".gnu.attributes"
I've pushed this to the gnu-gabi repository. Thanks.
Florian
More information about the Gnu-gabi
mailing list