https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81863
--- Comment #18 from Ramana Radhakrishnan <ramana at gcc dot gnu.org> --- > > > That certainly appears to be a better approach prima-facie and a quick > > experiment with a > > > > > > if (target_word_relocations) > > return false; > > > > in arm_valid_symbolic_address () appears to deal with the issue. > > I think I tried that in first place, and it didn't fix one of the testcases, > but maybe I used a wrong build tree, I'll re-test that. I've tried it now and it appears to work for both the testcases. I'll post a patch once testing finishes today.