This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[patch] gas: Support -mcpu=fidoa.
- From: Kazu Hirata <kazu at codesourcery dot com>
- To: binutils at sources dot redhat dot com
- Date: Thu, 15 Mar 2007 17:15:08 -0700
- Subject: [patch] gas: Support -mcpu=fidoa.
Hi,
Attached is a patch to support -mcpu=fidoa.
gcc mainline now passes gas -mcpu=foo rather than -mfoo. When gcc is
invoked with -mfidoa or -mcpu=fidoa, gas would also have to recognize
-mcpu=fidoa.
This patch simply adds fidoa so that -mcpu=fidoa will be accepted.
Tested by building and running "Hello, world". OK to apply?
p.s.
I'll post fido support for gcc shortly.
Kazu Hirata
2007-03-15 Kazu Hirata <kazu@codesourcery.com>
* config/tc-m68k.c (m68k_cpus): Add an entry for fidoa.
Index: gas/config/tc-m68k.c
===================================================================
RCS file: /cvs/src/src/gas/config/tc-m68k.c,v
retrieving revision 1.84
diff -u -d -p -r1.84 tc-m68k.c
--- gas/config/tc-m68k.c 20 Feb 2007 09:25:45 -0000 1.84
+++ gas/config/tc-m68k.c 14 Mar 2007 23:17:47 -0000
@@ -607,6 +607,7 @@ static const struct m68k_cpu m68k_cpus[]
{mcfisa_a|mcfisa_b|mcfhwdiv|mcfemac|mcfusp|cfloat, mcf5485_ctrl, "5485", -1},
{mcfisa_a|mcfisa_b|mcfhwdiv|mcfemac|mcfusp|cfloat, mcf5485_ctrl, "548x", 0},
+ {fido_a, fido_ctrl, "fidoa", 0},
{fido_a, fido_ctrl, "fido", 1},
{0,NULL,NULL, 0}