From: Andreas Krebbel Date: Fri, 18 Mar 2011 09:54:58 +0000 (+0000) Subject: 2011-03-18 Andreas Krebbel X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=db3a4e404273a3d5a07fd9228dfe2bb92fceea75;p=binutils-gdb.git 2011-03-18 Andreas Krebbel * config/tc-s390.c (md_parse_option): Add -march=all option which switches to the highest available CPU. --- diff --git a/gas/ChangeLog b/gas/ChangeLog index 6a73a0c1f48..33e0305380b 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +2011-03-18 Andreas Krebbel + + * config/tc-s390.c (md_parse_option): Add -march=all option which + switches to the highest available CPU. + 2011-03-17 Alan Modra PR 12569 diff --git a/gas/config/tc-s390.c b/gas/config/tc-s390.c index ca7ad3b58d7..37c0e4d18cf 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);