[RFC 2/5] elf: Add SFrame stack tracing

Claudiu Zissulescu-Ianculescu claudiu.zissulescu-ianculescu@oracle.com
Tue Apr 15 12:41:54 GMT 2025


Hi Florian,

> +      /* Load and set up the SFrame stack trace info for pc.  */
> +      if (_dl_find_object ((void *) frame->pc, &data) < 0)
> +    return i;

I am calling '_dl_find_object' within libc (backtrace), and I get
elf/check-localplt test throwing an error. Please, can you indicate what
I do need to do for passing the check-localplt test.
The '_dl_find_object' is defined as rtld_hidden_proto/rtld_hidden_def.
To use libc_hidden_def/libc_hidden_proto may imply defining an
intermediate "internal" dl_find_object function. However, I cannot
foresee all the abi implications.

Any help is much appreciated,
Claudiu


More information about the Libc-alpha mailing list