This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
RE: [arm-embedded] Simply enable GCC to support -march=armv6s-m as GAS does.
- From: "Terry Guo" <terry dot guo at arm dot com>
- To: "'Richard Earnshaw \(home\)'" <richard dot earnshaw at buzzard dot freeserve dot co dot uk>
- Cc: <gcc-patches at gcc dot gnu dot org>
- Date: Sun, 11 Sep 2011 16:36:55 +0800
- Subject: RE: [arm-embedded] Simply enable GCC to support -march=armv6s-m as GAS does.
- References: <003401cc7027$e2483440$a6d89cc0$@guo@arm.com> <41C09BAA-7D6A-4305-A6D7-C145A97962B5@buzzard.freeserve.co.uk>
Hello Richard,
>
> > Hello,
> >
> > This patch adds simple support of -march=armv6s-m which is already
> supported
> > by GAS. With this patch, inline assembly code containing "SVC"
> instruction
> > can be handled by option -march=armv6s-m. Otherwise one has to use
> option
> > -mcpu=cortex-m0. Committed into ARM/embedded-4_6-branch.
> >
> > BR,
> > Terry
> >
> > 2011-09-08 Terry Guo <terry.guo@arm.com>
> >
> > * config/arm/arm.c (all_architectures): Simple support for
> > option -march=armv6s-m.
> >
> >
>
> Ok.
>
> R.
Can I apply this patch to trunk and GCC 4.6 branch?
BR,
Terry