gcc/libgo/go
Ian Lance Taylor 6b724427aa compiler, libgo: support bootstrapping gc compiler
In the Go 1.21 release the package internal/profile imports
internal/lazyregexp.  That works when bootstrapping with Go 1.17,
because that compiler has internal/lazyregep and permits importing it.
We also have internal/lazyregexp in libgo, but since it is not installed
it is not available for importing.  This CL adds internal/lazyregexp
to the list of internal packages that are installed for bootstrapping.

The Go 1.21, and earlier, releases have a couple of functions in
the internal/abi package that are always fully intrinsified.
The gofrontend recognizes and intrinsifies those functions as well.
However, the gofrontend was also building function descriptors
for references to the functions without calling them, which
failed because there was nothing to refer to.  That is OK for the
gc compiler, which guarantees that the functions are only called,
not referenced.  This CL arranges to not generate function descriptors
for these functions.

For golang/go#60913

Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/504798
2023-06-23 16:17:11 -07:00
..
archive libgo: update to Go1.18beta2 2022-02-11 15:01:19 -08:00
bufio libgo: update to Go1.18beta2 2022-02-11 15:01:19 -08:00
builtin libgo: update to Go1.18rc1 release 2022-02-18 13:12:08 -08:00
bytes libgo: update to Go1.18rc1 release 2022-02-18 13:12:08 -08:00
cmd cmd/cgo: add and use runtime/cgo.Incomplete instead of //go:notinheap 2022-09-22 06:28:19 -07:00
compress libgo: update to Go1.18beta2 2022-02-11 15:01:19 -08:00
container libgo: update to Go1.18beta2 2022-02-11 15:01:19 -08:00
context libgo: update to Go1.18beta2 2022-02-11 15:01:19 -08:00
crypto libgo: update to Go1.18rc1 release 2022-02-18 13:12:08 -08:00
database/sql libgo: update to Go1.18rc1 release 2022-02-18 13:12:08 -08:00
debug libgo: update to Go1.18rc1 release 2022-02-18 13:12:08 -08:00
embed libgo: update to Go1.18beta2 2022-02-11 15:01:19 -08:00
encoding libgo: update to final Go 1.18 release 2022-03-16 13:52:32 -07:00
errors libgo: update to Go1.18beta2 2022-02-11 15:01:19 -08:00
expvar libgo: update to Go1.18beta2 2022-02-11 15:01:19 -08:00
flag libgo: update to Go1.18beta2 2022-02-11 15:01:19 -08:00
fmt libgo: update to Go1.18beta2 2022-02-11 15:01:19 -08:00
go libgo: update to final Go 1.18 release 2022-03-16 13:52:32 -07:00
golang.org/x libgo: update to Go1.18beta2 2022-02-11 15:01:19 -08:00
hash libgo: update to Go1.18beta2 2022-02-11 15:01:19 -08:00
html libgo: update to Go1.18beta2 2022-02-11 15:01:19 -08:00
image libgo: update to Go1.18beta2 2022-02-11 15:01:19 -08:00
index/suffixarray libgo: update to Go1.18beta2 2022-02-11 15:01:19 -08:00
internal compiler, libgo: support bootstrapping gc compiler 2023-06-23 16:17:11 -07:00
io libgo: update to Go1.18beta2 2022-02-11 15:01:19 -08:00
log libgo: update to Go1.18beta2 2022-02-11 15:01:19 -08:00
math libgo: update to Go1.18beta2 2022-02-11 15:01:19 -08:00
mime mime: remove test ordering dependency 2023-04-07 14:07:10 -07:00
net libgo: update to final Go 1.18 release 2022-03-16 13:52:32 -07:00
os libgo: fix AIX build for the Go1.18 update 2022-03-04 10:19:50 -08:00
path libgo: update to Go1.18beta2 2022-02-11 15:01:19 -08:00
plugin libgo: update to Go1.18beta2 2022-02-11 15:01:19 -08:00
reflect libgo: update to Go1.18beta2 2022-02-11 15:01:19 -08:00
regexp libgo: update to Go1.18rc1 release 2022-02-18 13:12:08 -08:00
runtime runtime: use a C function to call mmap 2023-06-20 09:55:58 -07:00
sort libgo: update to Go1.18beta2 2022-02-11 15:01:19 -08:00
strconv libgo: update to Go1.18beta2 2022-02-11 15:01:19 -08:00
strings libgo: update to final Go 1.18 release 2022-03-16 13:52:32 -07:00
sync libgo: update to Go1.18beta2 2022-02-11 15:01:19 -08:00
syscall syscall: add prlimit 2023-05-11 09:17:48 -07:00
testdata libgo: update to Go1.12beta2 2019-01-18 19:04:36 +00:00
testing libgo: update to Go1.18rc1 release 2022-02-18 13:12:08 -08:00
text libgo: update to Go1.18beta2 2022-02-11 15:01:19 -08:00
time libgo: update to Go1.18rc1 release 2022-02-18 13:12:08 -08:00
unicode libgo: update to Go1.18beta2 2022-02-11 15:01:19 -08:00
vendor libgo: update to Go1.18beta2 2022-02-11 15:01:19 -08:00
go.mod libgo: update to Go1.18beta2 2022-02-11 15:01:19 -08:00