aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIndu Bhagat <indu.bhagat@oracle.com>2025-04-03 12:26:09 -0700
committerIndu Bhagat <indu.bhagat@oracle.com>2025-05-27 21:58:14 -0700
commit603cc93252a4f1e3f4026d06c0cf7eb883be997c (patch)
tree5d311917421c9b846025a70bfa7937c8c36e33eb
parent0238bab9b7d979e8a1a161adfbb47cd748dd80d1 (diff)
downloadbinutils-603cc93252a4f1e3f4026d06c0cf7eb883be997c.zip
binutils-603cc93252a4f1e3f4026d06c0cf7eb883be997c.tar.gz
binutils-603cc93252a4f1e3f4026d06c0cf7eb883be997c.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_ADDR_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.
-rw-r--r--binutils/NEWS10
1 files changed, 10 insertions, 0 deletions
diff --git a/binutils/NEWS b/binutils/NEWS
index a4599d9..2e12486 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
+ generate the new encoding by default, with the (new) flag set:
+ SFRAME_F_FDE_FUNC_START_ADDR_PCREL to indicate the changed encoding.
+
+ Relocatable SFrame links are now fixed.
+
* For RISC-V dis-assembler, the definition of mapping symbol $x is changed,
so the file needs to be rebuilt since 2.45 once used .option arch directives.