[PATCH 1/5] Replace const_strneq with startswith.

Martin Liska mliska@suse.cz
Mon Mar 22 11:12:36 GMT 2021


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/dwarf.c   |   8 ++--
 binutils/elfcomm.c |   7 ++--
 binutils/elfcomm.h |   1 -
 binutils/readelf.c | 102 ++++++++++++++++++++++-----------------------
 4 files changed, 59 insertions(+), 59 deletions(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Replace-const_strneq-with-startswith.patch
Type: text/x-patch
Size: 14365 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20210322/9c95e739/attachment-0001.bin>


More information about the Binutils mailing list