diff options
author | Alan Modra <amodra@gmail.com> | 2023-03-22 09:05:10 +1030 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2023-03-22 09:05:10 +1030 |
commit | 317e47ee5e7c539807d6cd16bde5c274025e8ee1 (patch) | |
tree | 1ebf34e3ff4a4c5697d33c7fef6227fe0c3d32ae /Makefile.def | |
parent | 6634b215662aa856c8df9ee0e56c0a2f7ad3684e (diff) | |
download | binutils-317e47ee5e7c539807d6cd16bde5c274025e8ee1.zip binutils-317e47ee5e7c539807d6cd16bde5c274025e8ee1.tar.gz binutils-317e47ee5e7c539807d6cd16bde5c274025e8ee1.tar.bz2 |
PR17910 sym string offset check
As far as I can see the only place that sets obj_coff_strings without
setting obj_coff_strings_len is pe_ILF_build_a_bfd. Fix that and we
can simplify the sym string offset check. This is just a tidy.
pe_ILF_build_a_bfd doesn't create bad symbols and
_bfd_coff_read_string_table will always result in non-zero
obj_coff_strings_len when obj_coff_strings is non-NULL.
PR 17910
* coffgen.c (_bfd_coff_internal_syment_name): Always sanity
check sym string offset.
* peicode.h (pe_ILF_build_a_bfd): Set obj_coff_strings_len.
Diffstat (limited to 'Makefile.def')
0 files changed, 0 insertions, 0 deletions