]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - gas/config/tc-s390.c
S/390: Add alternate processor names.
authorAndreas Krebbel <krebbel@linux.vnet.ibm.com>
Mon, 12 Sep 2016 14:32:02 +0000 (16:32 +0200)
committerAndreas Krebbel <krebbel@linux.vnet.ibm.com>
Mon, 12 Sep 2016 14:32:02 +0000 (16:32 +0200)
commit952c3f51ac994f5e98aa829076609124cf9e5243
tree7e9c42ce478209b9b242bb46d078ae397f39fd80
parent58af639728582db42765e6f2c73ea61e75b66c8e
S/390: Add alternate processor names.

This patch adds alternate CPU names which adhere to the number of the
architecture document.  So instead of having z196, zEC12, and z13 you
can use arch9, arch10, and arch11.  The old cpu names stay valid and
should primarily be used.

The alternate names are supposed to improve compatibility with the IBM
XL compiler toolchain which uses the arch numbering.

opcodes/ChangeLog:

2016-09-12  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>

* s390-mkopc.c (main): Support alternate arch strings.

gas/ChangeLog:

2016-09-12  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>

* config/tc-s390.c (s390_parse_cpu): Support alternate arch
strings.
* doc/as.texinfo: Document new arch strings.
* doc/c-s390.texi: Likewise.
gas/ChangeLog
gas/config/tc-s390.c
gas/doc/as.texinfo
gas/doc/c-s390.texi
opcodes/ChangeLog
opcodes/s390-mkopc.c