PowerPC64: fix assertion in ppc_build_one_stub with -Os code
authorAlan Modra <amodra@gmail.com>
Thu, 23 Jun 2022 08:20:30 +0000 (17:50 +0930)
committerAlan Modra <amodra@gmail.com>
Thu, 23 Jun 2022 08:31:59 +0000 (18:01 +0930)
commit570e911f4e533fad33ad5e4e1102929cf7e80bd7
tree142f1d95b33e23111c204d5f5adca9a0670d6278
parentecc741e64e87d505fa15ca565b0d94f333e7582a
PowerPC64: fix assertion in ppc_build_one_stub with -Os code

save_res stubs aren't written in ppc_build_one_stub, their offsets
(which are zero) should not be checked.

* elf64-ppc.c (ppc_build_one_stub): Don't check save_res offsets.
bfd/elf64-ppc.c