Hi Samuel, On Thu, 2025-04-03 at 17:24 +1000, Samuel Zeter wrote: > When printing section headers, also include a key to what each flag > is at the end of the section header output. > > Signed-off-by: Samuel Zeter <samuelze...@gmail.com>
Thanks, looks good. Committed with a slightly tweaked commit message: commit ef1ca49f5289ba8836a5f98b6ee8e387b96ebaf3 Author: Samuel Zeter <samuelze...@gmail.com> Date: Thu Apr 3 17:24:13 2025 +1000 readelf: Add 'Key to Flags' to eu-readelf --section-headers output When printing section headers, also include a key to what each flag is at the end of the section header output. * src/readelf.c (print_flag_info): New function. (print_shdr): Call print_flag_info. * tests/run-copyadd-sections.sh: Fix .extra grep by escaping \. * tests/run-large-elf-file.sh: Likewise. * tests/test-copymany-subr.sh: Likewise. * tests/run-readelf-z.sh: Add Key to Flags to expected output. * tests/run-retain.sh: Likewise. * tests/run-strip-remove-keep.sh: Likewise. https://sourceware.org/bugzilla/show_bug.cgi?id=29571 Signed-off-by: Samuel Zeter <samuelze...@gmail.com> Cheers, Mark