diff options
author | David S. Miller <davem@redhat.com> | 2009-03-19 10:41:46 +0000 |
---|---|---|
committer | David S. Miller <davem@redhat.com> | 2009-03-19 10:41:46 +0000 |
commit | b7cac25fd188a2a904bfa4d79c4b20a86019917d (patch) | |
tree | 651a14fe8212104804fd2a75c79c25057c648283 /gas/config/tc-sparc.c | |
parent | d1fa68d3c85cb03989df231690704ff4c2e9da43 (diff) | |
download | gdb-b7cac25fd188a2a904bfa4d79c4b20a86019917d.zip gdb-b7cac25fd188a2a904bfa4d79c4b20a86019917d.tar.gz gdb-b7cac25fd188a2a904bfa4d79c4b20a86019917d.tar.bz2 |
* config/tc-sparc.c (md_parse_option): If the user gives
us '--64' make sure max_architecture is at least V9.
Diffstat (limited to 'gas/config/tc-sparc.c')
-rw-r--r-- | gas/config/tc-sparc.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gas/config/tc-sparc.c b/gas/config/tc-sparc.c index 5f325f6..af34751 100644 --- a/gas/config/tc-sparc.c +++ b/gas/config/tc-sparc.c @@ -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; |