[PATCH] aarch64: Fix -i option for aarch64-gen

acazuc acazuc@acazuc.fr
Mon Sep 1 10:48:42 GMT 2025


Only the long option --gen-idx was recognized to generate aarch64-tbl-2.h
---
 opcodes/aarch64-gen.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/opcodes/aarch64-gen.c b/opcodes/aarch64-gen.c
index 4d0b4d5f39e..308d2c22aa1 100644
--- a/opcodes/aarch64-gen.c
+++ b/opcodes/aarch64-gen.c
@@ -1339,7 +1339,7 @@ main (int argc, char **argv)
   program_name = *argv;
   xmalloc_set_program_name (program_name);
 
-  while ((c = getopt_long (argc, argv, "vVdhacs", long_options, 0)) != EOF)
+  while ((c = getopt_long (argc, argv, "vVdhacsi", long_options, 0)) != EOF)
     switch (c)
       {
       case 'V':
-- 
2.39.5



More information about the Binutils mailing list