]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
libsframe: relax the assertion limit for fre_start_addr
authorIndu Bhagat <indu.bhagat@oracle.com>
Tue, 15 Jul 2025 00:01:53 +0000 (17:01 -0700)
committerIndu Bhagat <indu.bhagat@oracle.com>
Tue, 15 Jul 2025 00:08:21 +0000 (17:08 -0700)
commit387efef5fef727cbe52099dcd5012905c4205be3
tree6dacad8f8cd78f31ad0f6a0773cd4bf5eabd043a
parent6deec80629d1b72f19ad7dc59e3e94caf1c59501
libsframe: relax the assertion limit for fre_start_addr

Fix PR ld/33131 Failed assertion when linking gccgo

Make amendments in both sframe_decoder_get_fre and
sframe_encoder_add_fre.

Since GNU as and the dw2gencfi code generally accepts such CFI, its best
to allow in SFrame FREs too.

libsframe/
PR ld/33131.
* sframe.c (sframe_decoder_get_fre): Relax the assertion a bit.
(sframe_encoder_add_fre): Likewise.
libsframe/sframe.c