diff options
author | Ian Lance Taylor <ian@gcc.gnu.org> | 2018-10-01 20:17:11 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@gcc.gnu.org> | 2018-10-01 20:17:11 +0000 |
commit | 44ef03008c75059368245eb3dcd6054bed3f7643 (patch) | |
tree | b5bbe87fcb0616ef9758a0ce62e988d331f879cb /libgo/go/hash | |
parent | 1b28253347dedba72abaf81e86b1812863d07a11 (diff) | |
download | gcc-44ef03008c75059368245eb3dcd6054bed3f7643.zip gcc-44ef03008c75059368245eb3dcd6054bed3f7643.tar.gz gcc-44ef03008c75059368245eb3dcd6054bed3f7643.tar.bz2 |
libgo: support x32 as GOARCH=amd64p32 GOOS=linux
This is enough to let libgo build when configured using
--with-multilib-list=m64,m32,mx32. I don't have an x32-enabled kernel
so I haven't tested whether it executes correctly.
For https://gcc.gnu.org/PR87470
Reviewed-on: https://go-review.googlesource.com/138817
From-SVN: r264772
Diffstat (limited to 'libgo/go/hash')
-rw-r--r-- | libgo/go/hash/crc32/crc32_amd64p32.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libgo/go/hash/crc32/crc32_amd64p32.go b/libgo/go/hash/crc32/crc32_amd64p32.go index 1ec44cb4..f61b801 100644 --- a/libgo/go/hash/crc32/crc32_amd64p32.go +++ b/libgo/go/hash/crc32/crc32_amd64p32.go @@ -2,6 +2,8 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +// +build ignore + package crc32 import "internal/cpu" |