/usr/lib/gcc-cross/hppa-linux-gnu/5/libatomic.so is in libgcc-5-dev-hppa-cross 5.3.1-14ubuntu2cross1.
This file is owned by root:root, with mode 0o777.
It is a symlink to /usr/lib/gcc-cross/hppa-linux-gnu/5/../../../../hppa-linux-gnu/lib/libatomic.so.1