[PATCH v7 1/6] elf: Add SFrame support to _dl_find_object function

Claudiu Zissulescu-Ianculescu claudiu.zissulescu-ianculescu@oracle.com
Fri Jul 11 12:42:45 GMT 2025


>> +@deftypevr Macro int DLFO_STRUCT_HAS_SFRAME
>> +@standards{GNU, dlfcn.h}
>> +On most targets, this macro is defined as @code{0}.  If it is defined to
>> +@code{1}, @code{struct dl_find_object} contains an additional member
>> +@code{dlfo_sframe}.
> 
> I think this is always defined as 1.  I don't think we need t his
> because DLFO_FLAG_SFRAME is a sufficient indicator that the dlfo_sframe
> field is present.
> 

Good catch. I've forgot to remove this macro from documentation.
dlfo_sframe field is always defined as the are no real reasons why an
architecture may not have it.

//Claudiu


More information about the Libc-alpha mailing list