Ian Lance Taylor efecb298d8 runtime: use a C function to call mmap
The final argument to mmap, of type off_t, varies.
In CL 445375 we changed it to always use the C off_t type,
but that broke 32-bit big-endian Linux systems.  On those systems,
using the C off_t type requires calling the mmap64 function.
In C this is automatically handled by the <sys/mman.h> file.
In Go, we would have to change the magic //extern comment to
call mmap64 when appropriate.  Rather than try to get that right,
we instead go through a C function that uses C implicit type
conversions to pick the right type.

Fixes PR go/110297

Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/504415
2023-06-20 09:55:58 -07:00
2023-06-16 00:17:18 +00:00
2022-11-15 08:32:29 +00:00
2023-06-18 00:16:32 +00:00
2023-06-16 00:17:18 +00:00
2023-04-26 00:17:46 +00:00
2022-08-31 00:16:45 +00:00
2023-06-13 00:17:29 +00:00
2023-06-16 00:17:18 +00:00
2023-01-16 11:52:17 +01:00
2023-06-11 00:17:37 +00:00
2023-03-29 00:17:01 +00:00
2023-05-19 00:17:43 +00:00
2023-06-16 00:17:18 +00:00
2023-06-20 00:17:14 +00:00
2023-06-16 00:17:18 +00:00
2023-05-07 00:16:40 +00:00
2023-06-20 00:17:14 +00:00
2023-06-12 00:16:56 +00:00
2023-06-03 00:16:48 +00:00
2023-06-20 00:17:14 +00:00
2023-06-16 00:17:18 +00:00
2023-06-03 00:16:48 +00:00
2023-05-23 00:17:11 +00:00
2023-03-18 00:16:40 +00:00
2023-03-03 00:16:38 +00:00
2023-05-01 00:16:44 +00:00
2023-01-16 11:52:17 +01:00
2023-01-16 11:52:17 +01:00
2023-05-12 00:18:12 +00:00
2023-04-21 00:17:31 +00:00
2023-06-17 00:17:17 +00:00
2022-07-19 17:07:04 +03:00
2023-06-17 00:17:17 +00:00
2021-12-21 09:10:57 +01:00

This directory contains the GNU Compiler Collection (GCC).

The GNU Compiler Collection is free software.  See the files whose
names start with COPYING for copying permission.  The manuals, and
some of the runtime libraries, are under different terms; see the
individual source files for details.

The directory INSTALL contains copies of the installation information
as HTML and plain text.  The source of this information is
gcc/doc/install.texi.  The installation information includes details
of what is included in the GCC sources and what files GCC installs.

See the file gcc/doc/gcc.texi (together with other files that it
includes) for usage and porting information.  An online readable
version of the manual is in the files gcc/doc/gcc.info*.

See http://gcc.gnu.org/bugs/ for how to report bugs usefully.

Copyright years on GCC source files may be listed using range
notation, e.g., 1987-2012, indicating that every year in the range,
inclusive, is a copyrightable year that could otherwise be listed
individually.
Description
No description provided
Readme 1.5 GiB
Languages
C++ 30.7%
C 30%
Ada 14.5%
D 6.1%
Go 5.7%
Other 12.5%