Message ID | 53F4A7F3.8010803@oarcorp.com |
---|---|
State | New |
Headers | show |
Hello, I would ideally like the mcpu=leon3v7 patch applied first (https://gcc.gnu.org/ml/gcc-patches/2014-08/msg02035.html), so that we can change the multi lib patch to include the leon3v7 target. I believe it would be good for the RTEMS LEON3 BSP to include support for all LEON3/4 processors. If switching to mcpu=leon3 in RTEMS BSP, then we no longer support the LEON3 V7 processors. Best Regards, Daniel Hellstrom Software Section Head Aeroflex Gaisler AB Aeroflex Microelectronic Solutions – HiRel Kungsgatan 12 SE-411 19 Gothenburg, Sweden Phone: +46 31 7758657 daniel@gaisler.com www.Aeroflex.com/Gaisler On 08/20/2014 03:51 PM, Joel Sherrill wrote: > I would like to add this patch to the 4.9 branch. It is RTEMS > specific and takes advantage of the leon3 multilib support from > Eric Botcazou. > > OK to commit? > > --joel > > gcc/ChangeLog > 2013-08-29 Sebastian Huber<sebastian.huber@embedded-brains.de> > > * config/sparc/t-rtems: Add leon3 multilibs. > --- > gcc/config/sparc/t-rtems | 4 ++-- > 1 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/gcc/config/sparc/t-rtems b/gcc/config/sparc/t-rtems > index 63d0217..f1a3d84 100644 > --- a/gcc/config/sparc/t-rtems > +++ b/gcc/config/sparc/t-rtems > @@ -17,6 +17,6 @@ > #<http://www.gnu.org/licenses/>. > # > > -MULTILIB_OPTIONS = msoft-float mcpu=v8 > -MULTILIB_DIRNAMES = soft v8 > +MULTILIB_OPTIONS = msoft-float mcpu=v8/mcpu=leon3 > +MULTILIB_DIRNAMES = soft v8 leon3 > MULTILIB_MATCHES = msoft-float=mno-fpu >
Hello Joel, this is the wrong patch. We need also the user mode CAS variants for hypervisor support, e.g. https://gcc.gnu.org/ml/gcc-patches/2014-05/msg00057.html We should also wait for Daniel's latest stuff. On 20/08/14 15:51, Joel Sherrill wrote: > I would like to add this patch to the 4.9 branch. It is RTEMS > specific and takes advantage of the leon3 multilib support from > Eric Botcazou. > > OK to commit? > > --joel > > gcc/ChangeLog > 2013-08-29 Sebastian Huber<sebastian.huber@embedded-brains.de> > > * config/sparc/t-rtems: Add leon3 multilibs. > --- > gcc/config/sparc/t-rtems | 4 ++-- > 1 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/gcc/config/sparc/t-rtems b/gcc/config/sparc/t-rtems > index 63d0217..f1a3d84 100644 > --- a/gcc/config/sparc/t-rtems > +++ b/gcc/config/sparc/t-rtems > @@ -17,6 +17,6 @@ > #<http://www.gnu.org/licenses/>. > # > > -MULTILIB_OPTIONS = msoft-float mcpu=v8 > -MULTILIB_DIRNAMES = soft v8 > +MULTILIB_OPTIONS = msoft-float mcpu=v8/mcpu=leon3 > +MULTILIB_DIRNAMES = soft v8 leon3 > MULTILIB_MATCHES = msoft-float=mno-fpu >
diff --git a/gcc/config/sparc/t-rtems b/gcc/config/sparc/t-rtems index 63d0217..f1a3d84 100644 --- a/gcc/config/sparc/t-rtems +++ b/gcc/config/sparc/t-rtems @@ -17,6 +17,6 @@ #<http://www.gnu.org/licenses/>. # -MULTILIB_OPTIONS = msoft-float mcpu=v8 -MULTILIB_DIRNAMES = soft v8 +MULTILIB_OPTIONS = msoft-float mcpu=v8/mcpu=leon3 +MULTILIB_DIRNAMES = soft v8 leon3 MULTILIB_MATCHES = msoft-float=mno-fpu