Ian Lance Taylor 0a2984dd10 runtime: use _libgo_off_t_type when calling C mmap
The last argument to the C mmap function is type off_t, not uintptr.
On some 32-bit systems, off_t is larger than uintptr.

Based on patch by Sören Tempel.

Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/445735
2022-10-27 17:12:57 -07:00
..
2022-02-11 15:01:19 -08:00
2022-02-11 15:01:19 -08:00
2022-02-18 13:12:08 -08:00
2022-02-11 15:01:19 -08:00
2022-02-11 15:01:19 -08:00
2022-02-11 15:01:19 -08:00
2022-02-18 13:12:08 -08:00
2022-02-18 13:12:08 -08:00
2022-02-11 15:01:19 -08:00
2022-02-11 15:01:19 -08:00
2022-02-11 15:01:19 -08:00
2022-02-11 15:01:19 -08:00
2022-02-11 15:01:19 -08:00
2022-03-16 13:52:32 -07:00
2022-02-11 15:01:19 -08:00
2022-02-11 15:01:19 -08:00
2022-02-11 15:01:19 -08:00
2022-02-11 15:01:19 -08:00
2022-02-11 15:01:19 -08:00
2022-02-11 15:01:19 -08:00
2022-02-11 15:01:19 -08:00
2022-02-11 15:01:19 -08:00
2022-02-11 15:01:19 -08:00
2022-02-11 15:01:19 -08:00
2022-02-11 15:01:19 -08:00
2022-02-18 13:12:08 -08:00
2022-02-11 15:01:19 -08:00
2022-02-11 15:01:19 -08:00
2022-02-11 15:01:19 -08:00
2022-02-11 15:01:19 -08:00
2022-02-18 13:12:08 -08:00
2022-02-11 15:01:19 -08:00
2022-02-11 15:01:19 -08:00
2022-02-11 15:01:19 -08:00