C++ Logo

std-proposals

Advanced search

Re: [std-proposals] Ensure ABI compatibility at runtime -- std::layout_of

From: Peter Bindels <dascandy_at_[hidden]>
Date: Thu, 14 Nov 2024 12:50:42 +0100
On Fri, Nov 8, 2024 at 5:20 PM Thiago Macieira via Std-Proposals <
std-proposals_at_[hidden]> wrote:

> But then we found out that the section table on ELF is not mandatory for
> execution and loading. There are tools like sstrip that can remove it. So
> in
> Qt 6.2 I moved from an ELF section to an ELF note.
>

Note that executables without section headers cannot be loaded by GDB. LLDB
does work with them. So whether this is just a theoretical problem or a
practical one too is arguable.

Received on 2024-11-14 11:50:54