* config/tc-ppc.c (md_parse_option): Make -maltivec default

to generating PowerPC instructions.
This commit is contained in:
Matthew Green 2001-12-20 07:34:44 +00:00
parent cf86e6dffb
commit 8a5886591d
2 changed files with 11 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2001-12-20 matthew green <mrg@redhat.com>
* config/tc-ppc.c (md_parse_option): Make -maltivec default
to generating PowerPC instructions.
2001-12-20 Jason Thorpe <thorpej@wasabisystems.com>
* configure.in (mips-dec-netbsd*): Delete.

View File

@ -897,7 +897,12 @@ md_parse_option (c, arg)
|| strcmp (arg, "7455") == 0)
ppc_cpu = PPC_OPCODE_PPC | PPC_OPCODE_ALTIVEC;
else if (strcmp (arg, "altivec") == 0)
ppc_cpu |= PPC_OPCODE_ALTIVEC;
{
if (ppc_cpu == 0)
ppc_cpu = PPC_OPCODE_PPC | PPC_OPCODE_ALTIVEC;
else
ppc_cpu |= PPC_OPCODE_ALTIVEC;
}
/* -mppc64 and -m620 mean to assemble for the 64-bit PowerPC
620. */
else if (strcmp (arg, "ppc64") == 0 || strcmp (arg, "620") == 0)