aboutsummaryrefslogtreecommitdiff
path: root/gcc/go/go-lang.c
diff options
context:
space:
mode:
authorIain Sandoe <iain@sandoe.co.uk>2020-12-19 13:05:34 +0000
committerIain Sandoe <iain@sandoe.co.uk>2020-12-21 20:19:30 +0000
commit0e1d4b3bfe260667fb8e055ebff2b34d8a2ec253 (patch)
treee9b8b08be926055c68bc63bbbe14becd3423ae9e /gcc/go/go-lang.c
parent6a31d47e271d066ea85b3716f7b77f18e6b55242 (diff)
downloadgcc-0e1d4b3bfe260667fb8e055ebff2b34d8a2ec253.zip
gcc-0e1d4b3bfe260667fb8e055ebff2b34d8a2ec253.tar.gz
gcc-0e1d4b3bfe260667fb8e055ebff2b34d8a2ec253.tar.bz2
Darwin : Update the kernel version to macOS version mapping.
With the change to macOS 11 and Darwin20, the algorithm for mapping kernel version to macOS version has changed. We now have darwin 20.X.Y => macOS 11.(X > 0 ? X - 1 : 0).??. It currently unclear if the Y will be mapped to macOS patch version and, if so, whether it will be one-based or 0-based. Likewise, it's unknown if Darwin 21 will map to macOS 12, so these entries are unchanged for the present. gcc/ChangeLog: * config/darwin-driver.c (darwin_find_version_from_kernel): Compute the minor OS version from the minor kernel version.
Diffstat (limited to 'gcc/go/go-lang.c')
0 files changed, 0 insertions, 0 deletions