ip2k: don't look at stab sections without relocs
authorAlan Modra <amodra@gmail.com>
Wed, 22 Feb 2023 07:41:25 +0000 (18:11 +1030)
committerAlan Modra <amodra@gmail.com>
Thu, 23 Feb 2023 02:28:53 +0000 (12:58 +1030)
commit98571cade24f890418faf183a21a3a4f0129f960
tree9e3c715149a5968273ebb86b68365b39fe4efc96
parent3a574cce26ee7dca6d6cd4c756dec57a5c0b9c99
ip2k: don't look at stab sections without relocs

No need to read contents if we won't do anything.

* elf32-ip2k.c (adjust_all_relocations): Skip stab sections
without relocs.
bfd/elf32-ip2k.c