aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/unix/fxstat.c
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2025-07-22 12:55:50 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2025-07-24 15:51:58 -0300
commit20528165bda5286f8c5c2d20200699a354eb9a0a (patch)
treeb5e7f0e463d4122d5c9c5f24c3df956adfbfd18f /sysdeps/unix/fxstat.c
parentce488f7c1615bc2f6fe96ff4d51456e470aa5805 (diff)
downloadglibc-20528165bda5286f8c5c2d20200699a354eb9a0a.zip
glibc-20528165bda5286f8c5c2d20200699a354eb9a0a.tar.gz
glibc-20528165bda5286f8c5c2d20200699a354eb9a0a.tar.bz2
Disable SFrame support by default
And add extra checks to enable for binutils 2.45 and if the architecture explicitly enables it. When SFrame is disabled, all the related code is also not enabled for backtrace() and _dl_find_object(), so SFrame backtracking is not used even if the binary has the SFrame segment. This patch also adds some other related fixes: * Fixed an issue with AC_CHECK_PROG_VER, where the READELF_SFRAME usage prevented specifying a different readelf through READELF environment variable at configure time. * Add an extra arch-specific internal definition, libc_cv_support_sframe, to disable --enable-sframe on architectures that have binutils but not glibc support (s390x). * Renamed the tests without the .sframe segment and move the tst-backtrace1 from pthread to debug. * Use the built compiler strip to remove the .sframe segment, instead of the system one (which might not support SFrame). Checked on x86_64-linux-gnu and aarch64-linux-gnu. Reviewed-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sysdeps/unix/fxstat.c')
0 files changed, 0 insertions, 0 deletions