diff options
author | Max Rees <maxcrees@me.com> | 2020-12-24 11:32:45 +0000 |
---|---|---|
committer | Max Rees <maxcrees@me.com> | 2020-12-24 11:32:45 +0000 |
commit | dcb097f99f983d9a9bc31dc1122fbe0c45e6b1a4 (patch) | |
tree | a3fb9318af293ce1524a6ccc73d16f1a21c9d588 /system/gcc/336-gccgo-mmap64.patch | |
parent | 3465fcf878a4f0e00a9378a4299eaa48a0af5bea (diff) | |
download | packages-dcb097f99f983d9a9bc31dc1122fbe0c45e6b1a4.tar.gz packages-dcb097f99f983d9a9bc31dc1122fbe0c45e6b1a4.tar.bz2 packages-dcb097f99f983d9a9bc31dc1122fbe0c45e6b1a4.tar.xz packages-dcb097f99f983d9a9bc31dc1122fbe0c45e6b1a4.zip |
system/gcc: backport latest gccgo (~ go 1.15.6)gccgo-backport
Diffstat (limited to 'system/gcc/336-gccgo-mmap64.patch')
-rw-r--r-- | system/gcc/336-gccgo-mmap64.patch | 9 |
1 files changed, 0 insertions, 9 deletions
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. |