Example readelf -WS output: Section Headers: [Nr] Name Type Address Off Size ES Flg Lk Inf Al ... [ 4] .orphaned_section PROGBITS 0000000000000000 000040 000002 00 AXR 0 0 1 ... Key to Flags: W (write), A (alloc), X (execute), M (merge), S (strings), I (info), L (link order), O (extra OS processing required), G (group), T (TLS), C (compressed), x (unknown), o (OS specific), E (exclude), l (large), p (processor specific)
The master branch has been updated by H.J. Lu <hjl@sourceware.org>: https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=5424d7ed94cf5a7ca24636ab9f4e6d5c353fc0d3 commit 5424d7ed94cf5a7ca24636ab9f4e6d5c353fc0d3 Author: H.J. Lu <hjl.tools@gmail.com> Date: Tue Feb 2 05:14:48 2021 -0800 readelf: Add 'R' and 'D' to "Key to Flags:" Add "R (retain)" and "D (mbind)" to "Key to Flags:". PR binutils/27281 * readelf.c (process_section_headers): Add 'R' and 'D' to "Key to Flags:". * testsuite/binutils-all/retain1a.d: Updated.
Fixed for 2.37.