This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[Patch libgo]: Move Iopl and Ioperm to 368/amd64 specific libcall_linux_*.go files.
- From: David Daney <david dot daney at cavium dot com>
- To: GCC Patches <gcc-patches at gcc dot gnu dot org>, Ian Lance Taylor <iant at google dot com>
- Date: Mon, 12 Dec 2011 17:34:22 -0800
- Subject: [Patch libgo]: Move Iopl and Ioperm to 368/amd64 specific libcall_linux_*.go files.
Ian,
As discussed several months ago, libgo will not run on mips because it
references the x86 specific system calls iopl() and ioperm(). These
system calls do not exist in mips*-linux, so we move them to new
368/amd64 specific libcall_linux_*.go files.
The attached patch was tested on x86_64-linux-gnu with no libgo
failures. There are still some other problems with mips*-linux, but
this makes forward progress.
It is unclear what kind of change log is required, so I do not supply one.
Cavium, Inc. should now have a corporate contributor license agreement
on file, so I think you can commit this upstream if acceptable.
Thanks,
David Daney
Attachment:
go-dd.patch
Description: Text document