* config/tc-sparc.c (md_parse_option): If the user gives

us '--64' make sure max_architecture is at least V9.
This commit is contained in:
David S. Miller 2009-03-19 10:41:46 +00:00
parent d1fa68d3c8
commit b7cac25fd1
2 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2009-03-19 David S. Miller <davem@davemloft.net>
* config/tc-sparc.c (md_parse_option): If the user gives
us '--64' make sure max_architecture is at least V9.
2009-03-18 Andrew Stubbs <ams@codesourcery.com>
* config/tc-arm.c (md_apply_fix): Check BFD_RELOC_ARM_IMMEDIATE and

View File

@ -542,6 +542,10 @@ md_parse_option (int c, char *arg)
as_fatal (_("No compiled in support for %d bit object file format"),
sparc_arch_size);
free (list);
if (sparc_arch_size == 64
&& max_architecture < SPARC_OPCODE_ARCH_V9)
max_architecture = SPARC_OPCODE_ARCH_V9;
}
break;