This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Set goarch to ppc64le where needed for gccgo testing


On Wed, Nov 19, 2014 at 12:55 PM, Lynn A. Boger
<laboger@linux.vnet.ibm.com> wrote:
> Updated patch:

Thanks.  Committed.

Ian


> On 11/19/2014 09:01 AM, Lynn A. Boger wrote:
>>
>> Hi,
>>
>> This change goes along with the change to the GOARCH setting in gccgo for
>> ppc64le which will be done in gofrontend.  The description for that change
>> is here: https://groups.google.com/forum/#!topic/gofrontend-dev/ocEttrpsw-s
>>
>> This change has been bootstrapped and tested along with the above change
>> to gofrontend on ppc, ppc64, and ppc64le.
>>
>> 2014-11-19  Lynn Boger <laboger@linux.vnet.ibm.com>
>>         * gcc/testsuite/go.test/go-test.exp:  Add case for ppc64le goarch
>> value for go testing
>>
>>
>> Index: gcc/testsuite/go.test/go-test.exp
>> ===================================================================
>> --- gcc/testsuite/go.test/go-test.exp   (revision 217507)
>> +++ gcc/testsuite/go.test/go-test.exp   (working copy)
>> @@ -237,13 +237,15 @@ proc go-set-goarch { } {
>>                 return ""
>>             }
>>         }
>> -       "powerpc*-*-*" {
>> -           if [check_effective_target_ilp32] {
>> -               set goarch "ppc"
>> -           } else {
>> -               set goarch "ppc64"
>> -           }
>> +       "powerpc-*-*" {
>> +           set goarch "ppc"
>>         }
>> +       "powerpc64-*-*" {
>> +           set goarch "ppc64"
>> +       }
>> +       "powerpc64le-*-*" {
>> +           set goarch "ppc64le"
>> +       }
>>         "s390-*-*" {
>>             set goarch "s390"
>>         }
>>
>>
>>
>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]