In binutils, the flag is defined for ELFOSABI_GNU and ELFOSABI_FREEBSD.
It can be used to mark a section as a GC root.
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
llvm/test/tools/llvm-readobj/ELF/section-flags-os-proc.test | ||
---|---|---|
97 | Since we don't inspect the OSABI value, I'd just omit this for now. If in the future we choose to do so, we should use a macro to generate this output with and without this OSABI value, so that we can show it being recognised/not recognised as appropriate. On the other hand, should we inspect the value from the beginning? | |
129 | Why the 0x800 flag? |
llvm/test/tools/llvm-readobj/ELF/section-flags-os-proc.test | ||
---|---|---|
129 | To check that the key 'R' on the right of 'C'... |
llvm/tools/llvm-readobj/ELFDumper.cpp | ||
---|---|---|
3494 | https://sourceware.org/pipermail/binutils/2021-January/115151.html The look will be similar to readelf -S. SHF_GNU_MBIND seems unuseful and LLVM does not support it, so I'll not add it. |
Since we don't inspect the OSABI value, I'd just omit this for now. If in the future we choose to do so, we should use a macro to generate this output with and without this OSABI value, so that we can show it being recognised/not recognised as appropriate.
On the other hand, should we inspect the value from the beginning?