On 12.02.2026 15:46, Roger Pau Monne wrote: > The `-c` option to stat is not POSIX compatible, and hence prevents the > check-endbr.sh script from running reliably. > > The first instance of `stat -c` can be removed by fetching the section size > from the output of objdump itself, which the script already parses to get > the VMA values. > > The other two instances can be replaced by counting the lines in the > respective files. Those files contain list of addresses, so the size in > bytes is not strictly needed, we can count the number of lines instead. > > Suggested-by: Bertrand Marquis <[email protected]> > Signed-off-by: Roger Pau Monné <[email protected]> > Acked-by: Bertrand Marquis <[email protected]>
Acked-by: Jan Beulich <[email protected]>
