[PATCH 4/5] Remove strneq macro and use startswith.

Martin Liska mliska@suse.cz
Mon Mar 22 13:56:16 GMT 2021


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.
---
 bfd/ecoff.c           |  5 ++---
 binutils/elfcomm.h    |  1 -
 binutils/readelf.c    | 14 +++++++-------
 gas/config/obj-coff.c |  5 ++---
 gas/config/tc-cr16.c  | 26 +++++++++++++-------------
 gas/config/tc-crx.c   |  1 -
 include/opcode/cr16.h |  1 -
 ld/ldbuildid.c        |  7 +++----
 opcodes/arm-dis.c     |  5 -----
 opcodes/cr16-dis.c    |  2 +-
 opcodes/score-dis.c   |  8 --------
 opcodes/score7-dis.c  |  4 ----
 12 files changed, 28 insertions(+), 51 deletions(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0004-Remove-strneq-macro-and-use-startswith.patch
Type: text/x-patch
Size: 10583 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20210322/352d275a/attachment-0001.bin>


More information about the Binutils mailing list