Replace const_strneq with startswith.
authorMartin Liska <mliska@suse.cz>
Mon, 22 Mar 2021 11:12:36 +0000 (12:12 +0100)
committerMartin Liska <mliska@suse.cz>
Thu, 1 Apr 2021 12:58:36 +0000 (14:58 +0200)
commit24d127aa9f26445709dbd53e14e2ab636a449888
treeab6a6cf08408f26812202c4d66128dadf35cc2a6
parent84838a61666fbc412119f544e6973ab59dd510a4
Replace const_strneq with startswith.

binutils/ChangeLog:

* dwarf.c (display_debug_lines_raw): Replace const_strneq with
startswith.
(display_debug_lines_decoded): Likewise.
(display_debug_links): Likewise.
* elfcomm.c (setup_archive): Likewise.
* elfcomm.h (const_strneq): Likewise.
* readelf.c (process_section_headers): Likewise.
(slurp_ia64_unwind_table): Likewise.
(slurp_hppa_unwind_table): Likewise.
(decode_arm_unwind): Likewise.
(display_debug_section): Likewise.
(process_note): Likewise.
binutils/ChangeLog
binutils/dwarf.c
binutils/elfcomm.c
binutils/elfcomm.h
binutils/readelf.c