[binutils-gdb] bfd: drop ENUMEQ{,X}

Jan Beulich jbeulich@sourceware.org
Thu Apr 9 06:41:09 GMT 2026


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=bf12dea0151009dc3818dab9b98c937fb6cf9fdc

commit bf12dea0151009dc3818dab9b98c937fb6cf9fdc
Author: Jan Beulich <jbeulich@suse.com>
Date:   Thu Apr 9 08:39:34 2026 +0200

    bfd: drop ENUMEQ{,X}
    
    These are now unused, and perhaps it's better to drop them. If only to
    avoid their bitrotting.

Diff:
---
 bfd/doc/doc.str   | 13 -------------
 bfd/doc/proto.str | 12 ------------
 2 files changed, 25 deletions(-)

diff --git a/bfd/doc/doc.str b/bfd/doc/doc.str
index 1da8d90ac34..5ae3906c756 100644
--- a/bfd/doc/doc.str
+++ b/bfd/doc/doc.str
@@ -148,19 +148,6 @@ variable synopsis_seen
 	copy_past_newline catstr
 	catstr
 	;
-: ENUMEQ
-	skip_past_newline
-	"@deffn {} "
-	copy_past_newline catstr catstr
-	skip_past_newline
-	;
-: ENUMEQX
-	skip_past_newline
-	"@deffnx {} "
-	copy_past_newline catstr
-	catstr
-	skip_past_newline
-	;
 : ENUMDOC
 	skip_past_newline
 	get_stuff_in_command
diff --git a/bfd/doc/proto.str b/bfd/doc/proto.str
index c14d63e1f82..7008578e669 100644
--- a/bfd/doc/proto.str
+++ b/bfd/doc/proto.str
@@ -138,18 +138,6 @@
 	ifinternal
 	;
 : ENUMX ENUM catstr ;
-: ENUMEQ
-	skip_past_newline
-	"#define "
-	copy_past_newline remchar
-	catstr
-	" "
-	catstr
-	copy_past_newline
-	catstr
-	"" swap 0 internalmode ! maybecatstr
-	;
-: ENUMEQX ENUMEQ catstr ;
 : ENUMDOC
 	skip_past_newline
 	get_stuff_in_command


More information about the Binutils-cvs mailing list