/usr/sh4-linux-gnu/bin/ranlib is in binutils-sh4-linux-gnu 2.28-5.
This file is owned by root:root, with mode 0o777.
It is a symlink to /usr/sh4-linux-gnu/bin/../../bin/sh4-linux-gnu-ranlib
/usr/sh4-linux-gnu/bin/../../bin/sh4-linux-gnu-ranlib