aboutsummaryrefslogtreecommitdiff
path: root/opcodes
diff options
context:
space:
mode:
authorAndreas Krebbel <krebbel@linux.ibm.com>2019-10-08 11:23:57 +0200
committerAndreas Krebbel <krebbel@linux.ibm.com>2019-10-08 11:24:29 +0200
commit46e292ab0af65d13675b54f808fa24e12999e405 (patch)
tree899a680cbf72041b1ff6a39d6858ca3fc2be0452 /opcodes
parentf21410c03a33bad55998b5691de7d2cf50e68933 (diff)
downloadgdb-46e292ab0af65d13675b54f808fa24e12999e405.zip
gdb-46e292ab0af65d13675b54f808fa24e12999e405.tar.gz
gdb-46e292ab0af65d13675b54f808fa24e12999e405.tar.bz2
S/390: Add support for z15 as CPU name.
So far z15 was identified as arch13. After the machine has been announced we can now add the real name. gas/ChangeLog: 2019-10-08 Andreas Krebbel <krebbel@linux.ibm.com> * config/tc-s390.c (s390_parse_cpu): Add z15 as alternate CPU name. * doc/as.texi: Add z15 to CPU string list. * doc/c-s390.texi: Likewise. opcodes/ChangeLog: 2019-10-08 Andreas Krebbel <krebbel@linux.ibm.com> * s390-mkopc.c (main): Enable z15 as CPU string in the opcode table.
Diffstat (limited to 'opcodes')
-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 0d07678..fe21ea1 100644
--- a/opcodes/s390-mkopc.c
+++ b/opcodes/s390-mkopc.c
@@ -377,7 +377,8 @@ main (void)
else if (strcmp (cpu_string, "z14") == 0
|| strcmp (cpu_string, "arch12") == 0)
min_cpu = S390_OPCODE_ARCH12;
- else if (strcmp (cpu_string, "arch13") == 0)
+ else if (strcmp (cpu_string, "z15") == 0
+ || strcmp (cpu_string, "arch13") == 0)
min_cpu = S390_OPCODE_ARCH13;
else {
fprintf (stderr, "Couldn't parse cpu string %s\n", cpu_string);