]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
doc: sframe: update documentation for sfde_func_start_address
authorIndu Bhagat <indu.bhagat@oracle.com>
Tue, 27 May 2025 05:26:29 +0000 (22:26 -0700)
committerIndu Bhagat <indu.bhagat@oracle.com>
Wed, 28 May 2025 04:58:14 +0000 (21:58 -0700)
libsframe/doc/
* sframe-spec.texi: Add details about sfde_func_start_address
encoding.

libsframe/doc/sframe-spec.texi

index 1725672c03868d7e2fce9b6b2b29fbb92478ac82..e4cfe01204c9dcdf459c5810792799d9c0cda27a 100644 (file)
@@ -478,9 +478,11 @@ Following table describes each component of the SFrame FDE structure:
 @tab @code{int32_t}
 @tab @code{sfde_func_start_address}
 @tab Signed 32-bit integral field denoting the virtual memory address of the
-described function, for which the SFrame FDE applies.  The value encoded in
-the @code{sfde_func_start_address} field is the offset in bytes of the
-function's start address, from the SFrame section.
+described function, for which the SFrame FDE applies.  If the flag
+@code{SFRAME_F_FDE_FUNC_START_ADDR_PCREL}, @xref{SFrame Flags}, in the SFrame
+header is set, the value encoded in the @code{sfde_func_start_address} field is
+the offset in bytes to the function's start address, from the SFrame
+@code{sfde_func_start_address} field.
 
 @item 0x04
 @tab @code{uint32_t}