https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111045
--- Comment #1 from Jeevitha <jeevitha at gcc dot gnu.org> --- TARGET_PCREL was enabled on the Big Endian machine. However, the Big Endian ABI does not support PCREL. Therefore, TARGET_PCREL needs to be disabled here.