Remove strneq macro and use startswith.
authorMartin Liska <mliska@suse.cz>
Mon, 22 Mar 2021 13:56:16 +0000 (14:56 +0100)
committerMartin Liska <mliska@suse.cz>
Thu, 1 Apr 2021 13:00:56 +0000 (15:00 +0200)
commite9b095a538c189369b4792662ea455d2314b0492
tree8a6918add18cd366abcee7964b40605471ce18df
parentd34049e8bb32ae2dd717dbac88dbcebefe2d6c09
Remove strneq macro and use startswith.

bfd/ChangeLog:

* ecoff.c (strneq): Remove strneq and use startswith.
(_bfd_ecoff_slurp_armap): Likewise.

binutils/ChangeLog:

* elfcomm.h (strneq): Remove strneq and use startswith.
* readelf.c (ia64_process_unwind): Likewise.
(process_note): Likewise.

gas/ChangeLog:

* config/obj-coff.c (strneq): Remove strneq and use startswith.
(weak_is_altname): Likewise.
(obj_coff_section): Likewise.
* config/tc-cr16.c (process_label_constant): Likewise.
* config/tc-crx.c (strneq): Likewise.

include/ChangeLog:

* opcode/cr16.h (strneq): Remove strneq and use startswith.

ld/ChangeLog:

* ldbuildid.c (strneq): Remove strneq and use startswith.
(validate_build_id_style): Likewise.
(compute_build_id_size): Likewise.

opcodes/ChangeLog:

* arm-dis.c (strneq): Remove strneq and use startswith.
* cr16-dis.c (print_insn_cr16): Likewise.
* score-dis.c (streq): Likewise.
(strneq): Likewise.
* score7-dis.c (strneq): Likewise.
18 files changed:
bfd/ChangeLog
bfd/ecoff.c
binutils/ChangeLog
binutils/elfcomm.h
binutils/readelf.c
gas/ChangeLog
gas/config/obj-coff.c
gas/config/tc-cr16.c
gas/config/tc-crx.c
include/ChangeLog
include/opcode/cr16.h
ld/ChangeLog
ld/ldbuildid.c
opcodes/ChangeLog
opcodes/arm-dis.c
opcodes/cr16-dis.c
opcodes/score-dis.c
opcodes/score7-dis.c