Blame SOURCES/binutils-s390-z16.patch

b8cdd5
diff -rup binutils-2.35.2/gas/config/tc-s390.c fred/gas/config/tc-s390.c
b8cdd5
--- binutils-2.35.2/gas/config/tc-s390.c	2022-04-11 08:54:46.529179603 +0100
b8cdd5
+++ fred/gas/config/tc-s390.c	2022-04-11 08:51:08.030832065 +0100
b8cdd5
@@ -293,7 +293,7 @@ s390_parse_cpu (const char *         arg
b8cdd5
       S390_INSTR_FLAG_HTM | S390_INSTR_FLAG_VX },
b8cdd5
     { STRING_COMMA_LEN ("z15"), STRING_COMMA_LEN ("arch13"),
b8cdd5
       S390_INSTR_FLAG_HTM | S390_INSTR_FLAG_VX },
b8cdd5
-    { STRING_COMMA_LEN (""), STRING_COMMA_LEN ("arch14"),
b8cdd5
+    { STRING_COMMA_LEN ("z16"), STRING_COMMA_LEN ("arch14"),
b8cdd5
       S390_INSTR_FLAG_HTM | S390_INSTR_FLAG_VX }
b8cdd5
   };
b8cdd5
   static struct
b8cdd5
diff -rup binutils-2.35.2/gas/doc/as.texi fred/gas/doc/as.texi
b8cdd5
--- binutils-2.35.2/gas/doc/as.texi	2022-04-11 08:54:46.099182880 +0100
b8cdd5
+++ fred/gas/doc/as.texi	2022-04-11 08:52:33.088196625 +0100
b8cdd5
@@ -1872,8 +1872,8 @@ Specify which s390 processor variant is
b8cdd5
 @samp{arch3}), @samp{g6}, @samp{z900} (or @samp{arch5}), @samp{z990} (or
b8cdd5
 @samp{arch6}), @samp{z9-109}, @samp{z9-ec} (or @samp{arch7}), @samp{z10} (or
b8cdd5
 @samp{arch8}), @samp{z196} (or @samp{arch9}), @samp{zEC12} (or @samp{arch10}),
b8cdd5
-@samp{z13} (or @samp{arch11}), @samp{z14} (or @samp{arch12}), or @samp{z15}
b8cdd5
-(or @samp{arch13}).
b8cdd5
+@samp{z13} (or @samp{arch11}), @samp{z14} (or @samp{arch12}), @samp{z15}
b8cdd5
+(or @samp{arch13}), or @samp{z16} (or @samp{arch14}).
b8cdd5
 @item -mregnames
b8cdd5
 @itemx -mno-regnames
b8cdd5
 Allow or disallow symbolic names for registers.
b8cdd5
diff -rup binutils-2.35.2/gas/doc/c-s390.texi fred/gas/doc/c-s390.texi
b8cdd5
--- binutils-2.35.2/gas/doc/c-s390.texi	2022-04-11 08:54:46.551179435 +0100
b8cdd5
+++ fred/gas/doc/c-s390.texi	2022-04-11 08:51:50.623520271 +0100
b8cdd5
@@ -18,7 +18,7 @@ and eleven chip levels. The architecture
b8cdd5
 Architecture (ESA) and the newer z/Architecture mode. The chip levels
b8cdd5
 are g5 (or arch3), g6, z900 (or arch5), z990 (or arch6), z9-109, z9-ec
b8cdd5
 (or arch7), z10 (or arch8), z196 (or arch9), zEC12 (or arch10), z13
b8cdd5
-(or arch11), z14 (or arch12), z15 (or arch13), or arch14.
b8cdd5
+(or arch11), z14 (or arch12), z15 (or arch13), or z16 (or arch14).
b8cdd5
 
b8cdd5
 @menu
b8cdd5
 * s390 Options::                Command-line Options.
b8cdd5
diff -rup binutils-2.35.2/opcodes/s390-mkopc.c fred/opcodes/s390-mkopc.c
b8cdd5
--- binutils-2.35.2/opcodes/s390-mkopc.c	2022-04-11 08:54:46.530179595 +0100
b8cdd5
+++ fred/opcodes/s390-mkopc.c	2022-04-11 08:53:04.701955680 +0100
b8cdd5
@@ -380,7 +380,8 @@ main (void)
b8cdd5
       else if (strcmp (cpu_string, "z15") == 0
b8cdd5
 	       || strcmp (cpu_string, "arch13") == 0)
b8cdd5
 	min_cpu = S390_OPCODE_ARCH13;
b8cdd5
-      else if (strcmp (cpu_string, "arch14") == 0)
b8cdd5
+      else if (strcmp (cpu_string, "z16") == 0
b8cdd5
+	       || strcmp (cpu_string, "arch14") == 0)
b8cdd5
 	min_cpu = S390_OPCODE_ARCH14;
b8cdd5
       else {
b8cdd5
 	fprintf (stderr, "Couldn't parse cpu string %s\n", cpu_string);