[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:13:01 GMT 2025
On 7/11/25 3:11 PM, Andreas Schwab wrote:
> On Jul 11 2025, Florian Weimer wrote:
>
>> * Claudiu Zissulescu-Ianculescu:
>>
>>> -#endif /* __USE_GNU */
>>> +/* SFrame stack trace data is valid. */
>>> +#define DLFO_FLAG_SFRAME (1 << 0UL)
>>
>> Not sure if this works, usually we write it as 1ULL (sorry if I mistyped
>> this before.
>
> That doesn't make sense, the type of a shift expression is the
> (promoted) type of its left operand alone.
>
Yeah it should be (1ULL << 0)
More information about the Libc-alpha
mailing list