Sanity check coff-sh and coff-mcore sym string offset
authorAlan Modra <amodra@gmail.com>
Tue, 21 Mar 2023 22:36:48 +0000 (09:06 +1030)
committerAlan Modra <amodra@gmail.com>
Tue, 21 Mar 2023 22:36:48 +0000 (09:06 +1030)
commit4d5b27b30b06cbe3fb8103a323c35970925ccffd
tree159a6eed042c6a04de3022b7d70a203cbe82cf65
parent317e47ee5e7c539807d6cd16bde5c274025e8ee1
Sanity check coff-sh and coff-mcore sym string offset

* coff-mcore.c (coff_mcore_relocate_section): Sanity check sym
string offset when setting up name for use by error messages.
* coff-sh.c (sh_relocate_section): Likewise.
bfd/coff-mcore.c
bfd/coff-sh.c