public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* [PATCH] Add support for ARM Cortex-M0
@ 2009-03-19  1:20 Daniel Gutson
  2009-04-01 15:04 ` Nick Clifton
  0 siblings, 1 reply; 5+ messages in thread
From: Daniel Gutson @ 2009-03-19  1:20 UTC (permalink / raw)
  To: binutils

This patch adds support for processor ARM Cortex-M0, cloning the behavior of ARM Cortex-M1.

Additionally, the patch adds the Cortex-M1 cpu entry in c-arm.texi which was missing.

Please note that I don't have write access, so I'd need someone to commit this for me, in the case of being accepted.

Thanks,
	Daniel.


2009-03-18  Daniel Gutson  <dgutson@codesourcery.com>

	gas/
	* config/tc-arm.c (arm_cpus): Add entry for ARM Cortex-M0.
	* doc/c-arm.texi: Added codes for processors ARM Cortex-M0 and Cortex-M1.

Index: config/tc-arm.c
===================================================================
RCS file: /cvs/src/src/gas/config/tc-arm.c,v
retrieving revision 1.378
diff -u -p -r1.378 tc-arm.c
--- config/tc-arm.c	18 Mar 2009 15:28:24 -0000	1.378
+++ config/tc-arm.c	19 Mar 2009 01:06:19 -0000
@@ -20726,6 +20726,7 @@ static const struct arm_cpu_option_table
   {"cortex-r4",		ARM_ARCH_V7R,	 FPU_NONE,	  NULL},
   {"cortex-m3",		ARM_ARCH_V7M,	 FPU_NONE,	  NULL},
   {"cortex-m1",		ARM_ARCH_V6M,	 FPU_NONE,	  NULL},
+  {"cortex-m0",		ARM_ARCH_V6M,	 FPU_NONE,	  NULL},
   /* ??? XSCALE is really an architecture.  */
   {"xscale",		ARM_ARCH_XSCALE, FPU_ARCH_VFP_V2, NULL},
   /* ??? iwmmxt is not a processor.  */
Index: doc/c-arm.texi
===================================================================
RCS file: /cvs/src/src/gas/doc/c-arm.texi,v
retrieving revision 1.55
diff -u -p -r1.55 c-arm.texi
--- doc/c-arm.texi	29 Jan 2009 07:08:12 -0000	1.55
+++ doc/c-arm.texi	19 Mar 2009 01:06:19 -0000
@@ -116,6 +116,8 @@ recognized: 
 @code{cortex-a9},
 @code{cortex-r4},
 @code{cortex-m3},
+@code{cortex-m1},
+@code{cortex-m0},
 @code{ep9312} (ARM920 with Cirrus Maverick coprocessor),
 @code{i80200} (Intel XScale processor)
 @code{iwmmxt} (Intel(r) XScale processor with Wireless MMX(tm) technology coprocessor)

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

* Re: [PATCH] Add support for ARM Cortex-M0
  2009-03-19  1:20 [PATCH] Add support for ARM Cortex-M0 Daniel Gutson
@ 2009-04-01 15:04 ` Nick Clifton
  2009-04-01 17:26   ` Daniel Gutson
  0 siblings, 1 reply; 5+ messages in thread
From: Nick Clifton @ 2009-04-01 15:04 UTC (permalink / raw)
  To: Daniel Gutson; +Cc: binutils

Hi Daniel,

> 2009-03-18  Daniel Gutson  <dgutson@codesourcery.com>
> 
>     * config/tc-arm.c (arm_cpus): Add entry for ARM Cortex-M0.
>     * doc/c-arm.texi: Added codes for processors ARM Cortex-M0 and 
> Cortex-M1.

Approved - please apply.

Cheers
   Nick


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

* Re: [PATCH] Add support for ARM Cortex-M0
  2009-04-01 15:04 ` Nick Clifton
@ 2009-04-01 17:26   ` Daniel Gutson
  2009-04-02  9:44     ` Nick Clifton
  0 siblings, 1 reply; 5+ messages in thread
From: Daniel Gutson @ 2009-04-01 17:26 UTC (permalink / raw)
  To: Nick Clifton; +Cc: binutils

Hi Nick,
   thanks, please note that I don't have write access. Could somebody do 
this for me? Or, is there any other way to do it?

Daniel.

Nick Clifton wrote:
> Hi Daniel,
> 
>> 2009-03-18  Daniel Gutson  <dgutson@codesourcery.com>
>>
>>     * config/tc-arm.c (arm_cpus): Add entry for ARM Cortex-M0.
>>     * doc/c-arm.texi: Added codes for processors ARM Cortex-M0 and 
>> Cortex-M1.
> 
> Approved - please apply.
> 
> Cheers
>   Nick
> 
> 

-- 
Daniel Gutson

"Don't trust a computer you can't throw out a window"

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

* Re: [PATCH] Add support for ARM Cortex-M0
  2009-04-01 17:26   ` Daniel Gutson
@ 2009-04-02  9:44     ` Nick Clifton
  2009-04-02 14:42       ` Daniel Gutson
  0 siblings, 1 reply; 5+ messages in thread
From: Nick Clifton @ 2009-04-02  9:44 UTC (permalink / raw)
  To: Daniel Gutson; +Cc: binutils

Hi Daniel,

>   thanks, please note that I don't have write access. Could somebody do 
> this for me?

I have checked in your patch.

Cheers
   Nick

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

* Re: [PATCH] Add support for ARM Cortex-M0
  2009-04-02  9:44     ` Nick Clifton
@ 2009-04-02 14:42       ` Daniel Gutson
  0 siblings, 0 replies; 5+ messages in thread
From: Daniel Gutson @ 2009-04-02 14:42 UTC (permalink / raw)
  To: Nick Clifton; +Cc: binutils

Nick, appreciate that.

Thanks!
   Daniel.

Nick Clifton wrote:
> Hi Daniel,
> 
>>   thanks, please note that I don't have write access. Could somebody 
>> do this for me?
> 
> I have checked in your patch.
> 
> Cheers
>   Nick
> 


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

end of thread, other threads:[~2009-04-02 14:42 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-03-19  1:20 [PATCH] Add support for ARM Cortex-M0 Daniel Gutson
2009-04-01 15:04 ` Nick Clifton
2009-04-01 17:26   ` Daniel Gutson
2009-04-02  9:44     ` Nick Clifton
2009-04-02 14:42       ` Daniel Gutson

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).