]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/link/internal/ld: bump NetBSD ABI version to 7.0
authorTobias Klauser <tklauser@distanz.ch>
Tue, 25 Feb 2020 09:18:55 +0000 (10:18 +0100)
committerTobias Klauser <tobias.klauser@gmail.com>
Wed, 26 Feb 2020 18:56:51 +0000 (18:56 +0000)
According to https://golang.org/wiki/NetBSD, NetBSD 7.0 is supported as
of Go 1.3 (with Go 1.5 recommended). NetBSD 6.0 was last supported in Go
1.9.7. Thus, bump the minimal ABI version to NetBSD 7.0

Suggested by Benny Siegert in CL 212461.

Change-Id: I11dd14c6b835ac9fc156880b2551f71893c7f267
Reviewed-on: https://go-review.googlesource.com/c/go/+/220428
Reviewed-by: Benny Siegert <bsiegert@gmail.com>
Reviewed-by: Cherry Zhang <cherryyz@google.com>
src/cmd/link/internal/ld/elf.go

index 3ede5df170196469639e52d623f0f7d1f47721ef..b7221f04b308b45518a7b7aee427d2c93f82d016 100644 (file)
@@ -823,7 +823,7 @@ const (
        ELF_NOTE_NETBSD_NAMESZ  = 7
        ELF_NOTE_NETBSD_DESCSZ  = 4
        ELF_NOTE_NETBSD_TAG     = 1
-       ELF_NOTE_NETBSD_VERSION = 599000000 /* NetBSD 5.99 */
+       ELF_NOTE_NETBSD_VERSION = 700000000 /* NetBSD 7.0 */
 )
 
 var ELF_NOTE_NETBSD_NAME = []byte("NetBSD\x00")