glibc/dlfcn
Claudiu Zissulescu 0ebe4fba88
elf: Add SFrame support to _dl_find_object function
The SFrame provides information to be able to do stack trace is now
well defined and implemented in Binutils 2.41.  The format simply
contains enough information to be able to do stack trace given a
program counter (PC) value, the stack pointer, and the frame pointer.
The SFrame information is stored in a .sframe ELF section, which is
loaded into its own PT_GNU_SFRAME segment. We consider for this support
SFrame version 2.

This patch adds the bits to _dl_find_object to recognize and store in
struct dl_find_object the necessary info about SFrame section.

Signed-off-by: Claudiu Zissulescu <claudiu.zissulescu-ianculescu@oracle.com>
Reviewed-by: Florian Weimer <fweimer@redhat.com>
2025-07-14 10:56:35 +01:00
..
Makefile Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
Versions dlfcn: Move dlopen into libc 2021-06-03 08:26:04 +02:00
bug-atexit1-lib.c
bug-atexit1.c Prefer https for Sourceware links 2017-11-16 11:49:26 +05:30
bug-atexit2-lib.c
bug-atexit2.c Prefer https for Sourceware links 2017-11-16 11:49:26 +05:30
bug-atexit3-lib.cc
bug-atexit3.c
bug-dl-leaf-lib-cb.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
bug-dl-leaf-lib.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
bug-dl-leaf.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
bug-dlopen1.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
bug-dlsym1-lib1.c
bug-dlsym1-lib2.c
bug-dlsym1.c
default.c
defaultmod1.c
defaultmod2.c
dladdr.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
dladdr1.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
dlclose.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
dlerror.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
dlerror.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
dlfcn.h elf: Add SFrame support to _dl_find_object function 2025-07-14 10:56:35 +01:00
dlinfo.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
dlmopen.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
dlopen.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
dlopenold.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
dlsym.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
dlvsym.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
errmsg1.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
errmsg1mod.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
failtest.c
failtestmod.c
glreflib1.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
glreflib2.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
glreflib3.c
glrefmain.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
libc_dlerror_result.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
libdl-compat.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
modatexit.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
modcxaatexit.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
moddummy1.c
moddummy2.c Fix all the remaining misspellings -- BZ 25337 2023-06-02 01:39:48 +00:00
modstatic.c
modstatic2.c dlfcn: Eliminate GLIBC_PRIVATE dependency from tststatic2 2021-06-03 09:12:05 +02:00
modstatic3.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
modstatic5.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
sdlfreeres.c libc: Extend __libc_freeres framework (Bug 23329). 2018-06-29 22:39:06 -04:00
tst-dladdr.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
tst-dlinfo-phdr.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
tst-dlinfo.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
tst-rec-dlopen.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
tstatexit.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
tstcxaatexit.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
tststatic.c
tststatic2.c dlfcn: Eliminate GLIBC_PRIVATE dependency from tststatic2 2021-06-03 09:12:05 +02:00
tststatic3.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
tststatic4.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
tststatic5.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00