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.
This commit is contained in:
Andreas Krebbel 2011-03-18 09:54:58 +00:00
parent 99c3dc11e4
commit db3a4e4042
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,8 @@
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.
2011-03-17 Alan Modra <amodra@gmail.com>
PR 12569

View File

@ -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);