aboutsummaryrefslogtreecommitdiff
path: root/opcodes/ppc-dis.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2018-05-07 11:36:07 +0930
committerAlan Modra <amodra@gmail.com>2018-05-07 12:33:26 +0930
commit7bd8862c3ad0ee291d27837ae3cd30288a00b922 (patch)
tree418131f989551335d6f8eead366d563d02dac1a4 /opcodes/ppc-dis.c
parentfe5bc53b24ea5b61b1ff280b737db5ed14c00142 (diff)
downloadgdb-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