diff options
author | Indu Bhagat <indu.bhagat@oracle.com> | 2025-07-06 12:47:31 -0700 |
---|---|---|
committer | Indu Bhagat <indu.bhagat@oracle.com> | 2025-07-06 12:53:03 -0700 |
commit | 54f153a345bc7dbab1e6ccddf604e900571119ca (patch) | |
tree | 82414d2aba0e7e2e5f7316bc7ee51f7e8c7344f6 | |
parent | 0924a1ca2e1ec7543145f4c0cea5e6b0eccf5b21 (diff) | |
download | binutils-54f153a345bc7dbab1e6ccddf604e900571119ca.zip binutils-54f153a345bc7dbab1e6ccddf604e900571119ca.tar.gz binutils-54f153a345bc7dbab1e6ccddf604e900571119ca.tar.bz2 |
NEWS: sframe: mention new semantics for SFrame FDE function start addr
The SFrame FDE's function start address is always emitted as follows by
GAS and ld: it is the offset of the start PC of the respective function
from the FDE field itself.
GAS and ld will emit a flag SFRAME_F_FDE_FUNC_START_PCREL set to 1
when emitting the field in this encoding.
* binutils/NEWS: Announce the change of encoding for SFrame FDE
func start addr field.
* gas/NEWS: Announce the emission of new flag
SFRAME_F_FDE_FUNC_START_PCREL.
* ld/NEWS: Likewise. Relocatable links are now fixed.
-rw-r--r-- | binutils/NEWS | 10 | ||||
-rw-r--r-- | gas/NEWS | 5 | ||||
-rw-r--r-- | ld/NEWS | 5 |
3 files changed, 20 insertions, 0 deletions
diff --git a/binutils/NEWS b/binutils/NEWS index a624106..1a746f1 100644 --- a/binutils/NEWS +++ b/binutils/NEWS @@ -1,5 +1,15 @@ -*- text -*- +* For SFrame stack trace format, the function start address in each SFrame + FDE has a changed encoding: The 32-bit signed integer now holds the offset + of the start PC of the associated function from the sfde_func_start_address + field itself (instead of the earlier where it was the offset from the start + of the SFrame section itself). All SFrame sections generated by gas and ld + now default to this new encoding, setting the (new) + SFRAME_F_FDE_FUNC_START_PCREL flag. + + Relocatable SFrame links are now fixed. + * Readelf now recognizes RISC-V GNU_PROPERTY_RISCV_FEATURE_1_CFI_SS and GNU_PROPERTY_RISCV_FEATURE_1_CFI_LP_UNLABELED for zicfiss and zicfilp extensions. @@ -1,5 +1,10 @@ -*- text -*- +* All SFrame sections generated by gas have the header flag + SFRAME_F_FDE_FUNC_START_PCREL set. gas was already emitting SFrame sections + with the applicable encoding. Setting the flag ensures compliance with the + updated SFrame V2 specification. + * Add .errif and .warnif directives, permitting user-controlled diagnostics with conditionals that are evaluated only at the end of assembly. @@ -1,5 +1,10 @@ -*- text -*- +* All SFrame sections generated by the linker have the header flag + SFRAME_F_FDE_FUNC_START_PCREL set to indicate the new encoding for + sfde_func_start_address field in the SFrame section. Relocatable SFrame + links are now fixed. + * On RISC-V, add new PLT formats, and GNU property merge rules for zicfiss and zicfilp extensions. |