diff options
author | Alan Modra <amodra@gmail.com> | 2018-05-07 11:36:07 +0930 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2018-05-07 12:33:26 +0930 |
commit | 7bd8862c3ad0ee291d27837ae3cd30288a00b922 (patch) | |
tree | 418131f989551335d6f8eead366d563d02dac1a4 /opcodes/ppc-dis.c | |
parent | fe5bc53b24ea5b61b1ff280b737db5ed14c00142 (diff) | |
download | gdb-7bd8862c3ad0ee291d27837ae3cd30288a00b922.zip gdb-7bd8862c3ad0ee291d27837ae3cd30288a00b922.tar.gz gdb-7bd8862c3ad0ee291d27837ae3cd30288a00b922.tar.bz2 |
Replace uses of strncmp with memcmp
Avoids gcc pr85623 for these calls.
* cofflink.c (_bfd_coff_link_input_bfd): Use memcmp rather than
strncmp when checking for ".bf" special symbol.
* prXXigen.c (_bfd_XXi_swap_scnhdr_out): Make pe_required_section_flags
section name a char array, remove sentinal known_sections entry,
and adjust loop over known_sections to suit. Use memcmp rather
than strncmp.
Diffstat (limited to 'opcodes/ppc-dis.c')
0 files changed, 0 insertions, 0 deletions