[PATCH] Update RTEMS multilib for SPARC
Sebastian Huber
sebastian.huber at embedded-brains.de
Mon Sep 28 12:36:44 UTC 2015
On 28/09/15 14:33, Sebastian Huber wrote:
> On 28/09/15 14:13, Daniel Hellstrom wrote:
>> Now that muser-mode is default the multilib definitions does not
>> require to
>> specify that switch any more. Add UT699 to multilib after recent
>> patches. Add
>> AT697F multilib since there are many LEON2 users running RTEMS.
>>
>> To gcc/ChangeLog:
>>
>> gcc/
>> * config/sparc/t-rtems: Remove -muser-mode, add ut699 and at697f
>> ---
>> gcc/config/sparc/t-rtems | 25 +++++++++++++++----------
>> 1 files changed, 15 insertions(+), 10 deletions(-)
>>
>> diff --git a/gcc/config/sparc/t-rtems b/gcc/config/sparc/t-rtems
>> index adb6dcb..6f7cc6f 100644
>> --- a/gcc/config/sparc/t-rtems
>> +++ b/gcc/config/sparc/t-rtems
>> @@ -17,15 +17,20 @@
>> # <http://www.gnu.org/licenses/>.
>> #
>> -MULTILIB_OPTIONS = msoft-float mcpu=v8/mcpu=leon3/mcpu=leon3v7
>> muser-mode
>> -MULTILIB_DIRNAMES = soft v8 leon3 leon3v7 user-mode
>> +MULTILIB_OPTIONS = msoft-float
>> mcpu=v8/mcpu=leon3/mcpu=leon3v7/mcpu=leon \
>> + mfix-ut699/mfix-at697f
>> +MULTILIB_DIRNAMES = soft v8 leon3 leon3v7 leon ut699 at697f
>> MULTILIB_MATCHES = msoft-float=mno-fpu
>> -MULTILIB_EXCEPTIONS = muser-mode
>> -MULTILIB_EXCEPTIONS += mcpu=leon3
>> -MULTILIB_EXCEPTIONS += mcpu=leon3v7
>> -MULTILIB_EXCEPTIONS += msoft-float/mcpu=leon3
>> -MULTILIB_EXCEPTIONS += msoft-float/mcpu=leon3v7
>> -MULTILIB_EXCEPTIONS += msoft-float/muser-mode
>> -MULTILIB_EXCEPTIONS += msoft-float/mcpu=v8/muser-mode
>> -MULTILIB_EXCEPTIONS += mcpu=v8/muser-mode
>> +MULTILIB_EXCEPTIONS = mfix-ut699
>> +MULTILIB_EXCEPTIONS += msoft-float/mfix-ut699
>> +MULTILIB_EXCEPTIONS += msoft-float/mcpu=v8/mfix-ut699
>> +MULTILIB_EXCEPTIONS += msoft-float/mcpu=leon3*/mfix-ut699
>> +MULTILIB_EXCEPTIONS += mcpu=v8/mfix-ut699
>> +MULTILIB_EXCEPTIONS += mcpu=leon3*/mfix-ut699
>> +MULTILIB_EXCEPTIONS += mfix-at697f
>> +MULTILIB_EXCEPTIONS += msoft-float/mfix-at697f
>> +MULTILIB_EXCEPTIONS += msoft-float/mcpu=v8/mfix-at697f
>> +MULTILIB_EXCEPTIONS += msoft-float/mcpu=leon3*/mfix-at697f
>> +MULTILIB_EXCEPTIONS += mcpu=v8/mfix-at697f
>> +MULTILIB_EXCEPTIONS += mcpu=leon3*/mfix-at697f
>
> Why do we need so many variants with fixes for the UT699 (32-bit
> Fault-Tolerant LEON3FT SPARC V8 Processor) and the AT697F (LEON2-FT)?
> Why do we have no leon3 variant without fixes for the UT699 and
> AT697F? Which multilib do you suggest now for the NGMP/GR740?
>
Sorry, for these stupid questions. Maybe we should change this file to
use MULTILIB_REQUIRED, like on rs6000 and arm.
Which multilibs do we have after this change?
--
Sebastian Huber, embedded brains GmbH
Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone : +49 89 189 47 41-16
Fax : +49 89 189 47 41-09
E-Mail : sebastian.huber at embedded-brains.de
PGP : Public key available on request.
Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.
More information about the devel
mailing list