diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2024-07-24 15:57:51 -0500 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2024-08-07 10:08:24 -0500 |
commit | 0be42b21591a6087939a33ab408beab2fd918c59 (patch) | |
tree | 370a506f6752b20e2e79e72059ae4be4fdf0566c /system/gcc/336-gccgo-mmap64.patch | |
parent | 4e4936e9f343d2eaaa2aacb1153493264362d5a6 (diff) | |
download | packages-0be42b21591a6087939a33ab408beab2fd918c59.tar.gz packages-0be42b21591a6087939a33ab408beab2fd918c59.tar.bz2 packages-0be42b21591a6087939a33ab408beab2fd918c59.tar.xz packages-0be42b21591a6087939a33ab408beab2fd918c59.zip |
system/gcc: Fixes for 32-bit Arm platforms
* The san library needs some adjustments to handle the fact we need
frame pointers (r7 is used for the syscall number, and the FP).
* Fix GCC Go __go_mmap external linking since they changed the signature
upstream for the C side. This closes #1201.
Diffstat (limited to 'system/gcc/336-gccgo-mmap64.patch')
-rw-r--r-- | system/gcc/336-gccgo-mmap64.patch | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/system/gcc/336-gccgo-mmap64.patch b/system/gcc/336-gccgo-mmap64.patch deleted file mode 100644 index 0d4ab19b8..000000000 --- a/system/gcc/336-gccgo-mmap64.patch +++ /dev/null @@ -1,20 +0,0 @@ ---- gcc-8.3.0/libgo/go/runtime/mem_gccgo.go.old 2018-01-09 01:23:08.000000000 +0000 -+++ gcc-8.3.0/libgo/go/runtime/mem_gccgo.go 2019-03-03 05:15:33.010000000 +0000 -@@ -15,7 +15,7 @@ - //go:linkname sysFree - - //extern __go_mmap --func sysMmap(addr unsafe.Pointer, n uintptr, prot, flags, fd int32, off uintptr) unsafe.Pointer -+func sysMmap(addr unsafe.Pointer, n uintptr, prot, flags, fd int32, off int64) unsafe.Pointer - - //extern munmap - func munmap(addr unsafe.Pointer, length uintptr) int32 -@@ -37,7 +37,7 @@ - } - } - --func mmap(addr unsafe.Pointer, n uintptr, prot, flags, fd int32, off uintptr) (unsafe.Pointer, int) { -+func mmap(addr unsafe.Pointer, n uintptr, prot, flags, fd int32, off int64) (unsafe.Pointer, int) { - p := sysMmap(addr, n, prot, flags, fd, off) - if uintptr(p) == _MAP_FAILED { - return nil, errno() |