From dcb097f99f983d9a9bc31dc1122fbe0c45e6b1a4 Mon Sep 17 00:00:00 2001 From: Max Rees Date: Thu, 24 Dec 2020 11:32:45 +0000 Subject: system/gcc: backport latest gccgo (~ go 1.15.6) --- system/gcc/336-gccgo-mmap64.patch | 9 --------- 1 file changed, 9 deletions(-) (limited to 'system/gcc/336-gccgo-mmap64.patch') diff --git a/system/gcc/336-gccgo-mmap64.patch b/system/gcc/336-gccgo-mmap64.patch index 23b4cebc8..692c7f2e0 100644 --- a/system/gcc/336-gccgo-mmap64.patch +++ b/system/gcc/336-gccgo-mmap64.patch @@ -18,12 +18,3 @@ p := sysMmap(addr, n, prot, flags, fd, off) if uintptr(p) == _MAP_FAILED { return nil, errno() -@@ -84,7 +84,7 @@ - return true - } - --func mmap_fixed(v unsafe.Pointer, n uintptr, prot, flags, fd int32, offset uintptr) (unsafe.Pointer, int) { -+func mmap_fixed(v unsafe.Pointer, n uintptr, prot, flags, fd int32, offset int64) (unsafe.Pointer, int) { - p, err := mmap(v, n, prot, flags, fd, offset) - // On some systems, mmap ignores v without - // MAP_FIXED, so retry if the address space is free. -- cgit v1.2.3-70-g09d2