/usr/lib/gcc-cross/arm-linux-gnueabihf/5/libatomic.so is in libgcc-5-dev-armhf-cross 5.4.0-6ubuntu1~16.04.9cross1.
This file is owned by root:root, with mode 0o777.
It is a symlink to /usr/lib/gcc-cross/arm-linux-gnueabihf/5/../../../../arm-linux-gnueabihf/lib/libatomic.so.1