[PATCH v2 0/2] sframe: Disable by default and support SFRAME_F_FDE_FUNC_START_PCREL
Adhemerval Zanella Netto
adhemerval.zanella@linaro.org
Tue Jul 22 11:32:54 GMT 2025
Andreas,
Would it be ok for 2.43? There is only only small issues Indu has found
that I fixed locally.
On 21/07/25 20:41, Adhemerval Zanella wrote:
> The SFrame prior binutils 2.45 is unstable on multiple architectures,
> so upcoming binutils 2.45 should be considered the minimum required
> version for SFrame backtracing. This version also includes an erratum,
> SFRAME_F_FDE_FUNC_START_PCREL, which is not currently supported on
> glibc. SFrame with this flag is currently ignored by glibc SFrame
> handling.
>
> Due to the experimental nature, the first patch disables SFrame by
> default, adds extra checks to enable iff the architecture's explicit
> enablement is on glibc, and fixes some other build issues.
>
> The second patch adds support for the SFRAME_F_FDE_FUNC_START_PCREL
> erratum, which adds SFrame support for binaries built with binutils
> 2.45.
>
> Adhemerval Zanella (1):
> Disable SFrame support by default
>
> Claudiu Zissulescu (1):
> sframe: Add support for SFRAME_F_FDE_FUNC_START_PCREL flag
>
> INSTALL | 9 +-
> aclocal.m4 | 4 +
> config.h.in | 3 +
> config.make.in | 2 +-
> configure | 62 ++++++----
> configure.ac | 26 ++--
> debug/Makefile | 16 ++-
> debug/backtrace.c | 8 ++
> {sysdeps/pthread => debug}/tst-backtrace1.c | 0
> elf/dl-find_object.h | 10 ++
> manual/install.texi | 11 +-
> sysdeps/aarch64/configure | 2 +
> sysdeps/aarch64/configure.ac | 2 +
> sysdeps/generic/Makefile | 2 +
> sysdeps/generic/sframe-read.c | 128 +++++++++++++++-----
> sysdeps/generic/sframe-read.h | 6 +
> sysdeps/generic/sframe.h | 15 ++-
> sysdeps/pthread/Makefile | 1 -
> sysdeps/x86_64/configure | 2 +
> sysdeps/x86_64/configure.ac | 2 +
> 20 files changed, 226 insertions(+), 85 deletions(-)
> rename {sysdeps/pthread => debug}/tst-backtrace1.c (100%)
>
More information about the Libc-alpha
mailing list