aboutsummaryrefslogtreecommitdiff
path: root/opcodes/s390-mkopc.c
diff options
context:
space:
mode:
authorAndreas Krebbel <krebbel@linux.vnet.ibm.com>2017-07-21 10:54:06 +0200
committerAndreas Krebbel <krebbel@linux.vnet.ibm.com>2017-07-21 10:54:06 +0200
commit47826cdbec2548cd1d25acf4cfaf908ae88f3325 (patch)
treef71689a0276eed102b300d369e72f9fce7280503 /opcodes/s390-mkopc.c
parent33d69f87279fd33a951eafd025b4d188bc71d97c (diff)
downloadgdb-47826cdbec2548cd1d25acf4cfaf908ae88f3325.zip
gdb-47826cdbec2548cd1d25acf4cfaf908ae88f3325.tar.gz
gdb-47826cdbec2548cd1d25acf4cfaf908ae88f3325.tar.bz2
S/390: Support z14 as CPU name.
With IBM z14 officially announced I can add z14 as CPU name. No regressions with that patch on s390x. gas/ChangeLog: 2017-07-21 Andreas Krebbel <krebbel@linux.vnet.ibm.com> * config/tc-s390.c (s390_parse_cpu): Add z14 as alternate CPU name. * doc/as.texinfo: Add z14 to CPU string list. * doc/c-s390.texi: Likewise. opcodes/ChangeLog: 2017-07-21 Andreas Krebbel <krebbel@linux.vnet.ibm.com> * s390-mkopc.c (main): Enable z14 as CPU string in the opcode table.
Diffstat (limited to 'opcodes/s390-mkopc.c')
-rw-r--r--opcodes/s390-mkopc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/opcodes/s390-mkopc.c b/opcodes/s390-mkopc.c
index 0d4c9df..20c1539 100644
--- a/opcodes/s390-mkopc.c
+++ b/opcodes/s390-mkopc.c
@@ -374,7 +374,8 @@ main (void)
else if (strcmp (cpu_string, "z13") == 0
|| strcmp (cpu_string, "arch11") == 0)
min_cpu = S390_OPCODE_Z13;
- else if (strcmp (cpu_string, "arch12") == 0)
+ else if (strcmp (cpu_string, "z14") == 0
+ || strcmp (cpu_string, "arch12") == 0)
min_cpu = S390_OPCODE_ARCH12;
else {
fprintf (stderr, "Couldn't parse cpu string %s\n", cpu_string);