1
0
Fork 0
firefox/taskcluster/docker/diffoscope/readelf
Daniel Baumann 5e9a113729
Adding upstream version 140.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-25 09:37:52 +02:00

13 lines
377 B
Bash

#!/bin/sh
case "$1 $2" in
"--wide --symbols")
# When called with --wide --symbols, we remove the first column (which
# is essentially a line number that is not very useful), and then sort,
# which will order symbols by address, making a diff more useful.
/usr/bin/readelf "$@" | awk -F: '{print $2}' | sort
;;
*)
exec /usr/bin/readelf "$@"
;;
esac