aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-s390.c
diff options
context:
space:
mode:
authorAndreas Krebbel <Andreas.Krebbel@de.ibm.com>2011-03-18 09:54:58 +0000
committerAndreas Krebbel <Andreas.Krebbel@de.ibm.com>2011-03-18 09:54:58 +0000
commitdb3a4e404273a3d5a07fd9228dfe2bb92fceea75 (patch)
tree260f75ac26741c6a2dfa98d2bd90fb3f23ab2a01 /gas/config/tc-s390.c
parent99c3dc11e424a5f6cc9749fabd34f8c0d80cac9f (diff)
downloadgdb-db3a4e404273a3d5a07fd9228dfe2bb92fceea75.zip
gdb-db3a4e404273a3d5a07fd9228dfe2bb92fceea75.tar.gz
gdb-db3a4e404273a3d5a07fd9228dfe2bb92fceea75.tar.bz2
2011-03-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
* config/tc-s390.c (md_parse_option): Add -march=all option which switches to the highest available CPU.
Diffstat (limited to 'gas/config/tc-s390.c')
-rw-r--r--gas/config/tc-s390.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gas/config/tc-s390.c b/gas/config/tc-s390.c
index ca7ad3b..37c0e4d 100644
--- a/gas/config/tc-s390.c
+++ b/gas/config/tc-s390.c
@@ -398,6 +398,8 @@ md_parse_option (int c, char *arg)
current_cpu = S390_OPCODE_Z10;
else if (strcmp (arg + 5, "z196") == 0)
current_cpu = S390_OPCODE_Z196;
+ else if (strcmp (arg + 5, "all") == 0)
+ current_cpu = S390_OPCODE_MAXCPU - 1;
else
{
as_bad (_("invalid switch -m%s"), arg);