public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* [patch] gas: Support -mcpu=fidoa.
@ 2007-03-16  0:15 Kazu Hirata
  2007-03-16 14:38 ` Nick Clifton
  0 siblings, 1 reply; 2+ messages in thread
From: Kazu Hirata @ 2007-03-16  0:15 UTC (permalink / raw)
  To: binutils

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}

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [patch] gas: Support -mcpu=fidoa.
  2007-03-16  0:15 [patch] gas: Support -mcpu=fidoa Kazu Hirata
@ 2007-03-16 14:38 ` Nick Clifton
  0 siblings, 0 replies; 2+ messages in thread
From: Nick Clifton @ 2007-03-16 14:38 UTC (permalink / raw)
  To: Kazu Hirata; +Cc: binutils

Hi Kazu,

> 2007-03-15  Kazu Hirata  <kazu@codesourcery.com>
> 
> 	* config/tc-m68k.c (m68k_cpus): Add an entry for fidoa.

Approved - please apply.

Cheers
   Nick


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-03-16 14:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-03-16  0:15 [patch] gas: Support -mcpu=fidoa Kazu Hirata
2007-03-16 14:38 ` Nick Clifton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).