Ignore:
Timestamp:
Sep 13, 2023, 10:49:50 AM (21 months ago)
Author:
Izuru Yakumo
Message:

Ready to release 0.6.0

Signed-off-by: Izuru Yakumo <yakumo.izuru@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/vendor/golang.org/x/sys/unix/mkall.sh

    r67 r69  
    7474        mkerrors="$mkerrors -m64"
    7575        mktypes="GOARCH=$GOARCH go tool cgo -godefs"
    76         mkasm="go run mkasm_darwin.go"
     76        mkasm="go run mkasm.go"
    7777        ;;
    7878darwin_arm64)
    7979        mkerrors="$mkerrors -m64"
    8080        mktypes="GOARCH=$GOARCH go tool cgo -godefs"
    81         mkasm="go run mkasm_darwin.go"
     81        mkasm="go run mkasm.go"
    8282        ;;
    8383dragonfly_amd64)
     
    143143        ;;
    144144openbsd_386)
     145        mkasm="go run mkasm.go"
    145146        mkerrors="$mkerrors -m32"
    146         mksyscall="go run mksyscall.go -l32 -openbsd"
     147        mksyscall="go run mksyscall.go -l32 -openbsd -libc"
     148        mksysctl="go run mksysctl_openbsd.go"
     149        mktypes="GOARCH=$GOARCH go tool cgo -godefs"
     150        ;;
     151openbsd_amd64)
     152        mkasm="go run mkasm.go"
     153        mkerrors="$mkerrors -m64"
     154        mksyscall="go run mksyscall.go -openbsd -libc"
     155        mksysctl="go run mksysctl_openbsd.go"
     156        mktypes="GOARCH=$GOARCH go tool cgo -godefs"
     157        ;;
     158openbsd_arm)
     159        mkasm="go run mkasm.go"
     160        mkerrors="$mkerrors"
     161        mksyscall="go run mksyscall.go -l32 -openbsd -arm -libc"
     162        mksysctl="go run mksysctl_openbsd.go"
     163        # Let the type of C char be signed for making the bare syscall
     164        # API consistent across platforms.
     165        mktypes="GOARCH=$GOARCH go tool cgo -godefs -- -fsigned-char"
     166        ;;
     167openbsd_arm64)
     168        mkasm="go run mkasm.go"
     169        mkerrors="$mkerrors -m64"
     170        mksyscall="go run mksyscall.go -openbsd -libc"
     171        mksysctl="go run mksysctl_openbsd.go"
     172        # Let the type of C char be signed for making the bare syscall
     173        # API consistent across platforms.
     174        mktypes="GOARCH=$GOARCH go tool cgo -godefs -- -fsigned-char"
     175        ;;
     176openbsd_mips64)
     177        mkerrors="$mkerrors -m64"
     178        mksyscall="go run mksyscall.go -openbsd"
    147179        mksysctl="go run mksysctl_openbsd.go"
    148180        mksysnum="go run mksysnum.go 'https://cvsweb.openbsd.org/cgi-bin/cvsweb/~checkout~/src/sys/kern/syscalls.master'"
    149         mktypes="GOARCH=$GOARCH go tool cgo -godefs"
    150         ;;
    151 openbsd_amd64)
    152         mkerrors="$mkerrors -m64"
    153         mksyscall="go run mksyscall.go -openbsd"
    154         mksysctl="go run mksysctl_openbsd.go"
    155         mksysnum="go run mksysnum.go 'https://cvsweb.openbsd.org/cgi-bin/cvsweb/~checkout~/src/sys/kern/syscalls.master'"
    156         mktypes="GOARCH=$GOARCH go tool cgo -godefs"
    157         ;;
    158 openbsd_arm)
    159         mkerrors="$mkerrors"
    160         mksyscall="go run mksyscall.go -l32 -openbsd -arm"
    161         mksysctl="go run mksysctl_openbsd.go"
    162         mksysnum="go run mksysnum.go 'https://cvsweb.openbsd.org/cgi-bin/cvsweb/~checkout~/src/sys/kern/syscalls.master'"
    163         # Let the type of C char be signed for making the bare syscall
    164         # API consistent across platforms.
    165         mktypes="GOARCH=$GOARCH go tool cgo -godefs -- -fsigned-char"
    166         ;;
    167 openbsd_arm64)
    168         mkerrors="$mkerrors -m64"
    169         mksyscall="go run mksyscall.go -openbsd"
    170         mksysctl="go run mksysctl_openbsd.go"
    171         mksysnum="go run mksysnum.go 'https://cvsweb.openbsd.org/cgi-bin/cvsweb/~checkout~/src/sys/kern/syscalls.master'"
    172         # Let the type of C char be signed for making the bare syscall
    173         # API consistent across platforms.
    174         mktypes="GOARCH=$GOARCH go tool cgo -godefs -- -fsigned-char"
    175         ;;
    176 openbsd_mips64)
    177         mkerrors="$mkerrors -m64"
    178         mksyscall="go run mksyscall.go -openbsd"
    179         mksysctl="go run mksysctl_openbsd.go"
    180         mksysnum="go run mksysnum.go 'https://cvsweb.openbsd.org/cgi-bin/cvsweb/~checkout~/src/sys/kern/syscalls.master'"
     181        # Let the type of C char be signed for making the bare syscall
     182        # API consistent across platforms.
     183        mktypes="GOARCH=$GOARCH go tool cgo -godefs -- -fsigned-char"
     184        ;;
     185openbsd_ppc64)
     186        mkasm="go run mkasm.go"
     187        mkerrors="$mkerrors -m64"
     188        mksyscall="go run mksyscall.go -openbsd -libc"
     189        mksysctl="go run mksysctl_openbsd.go"
     190        # Let the type of C char be signed for making the bare syscall
     191        # API consistent across platforms.
     192        mktypes="GOARCH=$GOARCH go tool cgo -godefs -- -fsigned-char"
     193        ;;
     194openbsd_riscv64)
     195        mkasm="go run mkasm.go"
     196        mkerrors="$mkerrors -m64"
     197        mksyscall="go run mksyscall.go -openbsd -libc"
     198        mksysctl="go run mksysctl_openbsd.go"
    181199        # Let the type of C char be signed for making the bare syscall
    182200        # API consistent across platforms.
     
    215233                                # aix/ppc64 script generates files instead of writing to stdin.
    216234                                echo "$mksyscall -tags $GOOS,$GOARCH $syscall_goos $GOOSARCH_in && gofmt -w zsyscall_$GOOSARCH.go && gofmt -w zsyscall_"$GOOSARCH"_gccgo.go && gofmt -w zsyscall_"$GOOSARCH"_gc.go " ;
    217                         elif [ "$GOOS" == "darwin" ]; then
    218                                 # 1.12 and later, syscalls via libSystem
    219                                 echo "$mksyscall -tags $GOOS,$GOARCH,go1.12 $syscall_goos $GOOSARCH_in |gofmt >zsyscall_$GOOSARCH.go";
    220                                 # 1.13 and later, syscalls via libSystem (including syscallPtr)
    221                                 echo "$mksyscall -tags $GOOS,$GOARCH,go1.13 syscall_darwin.1_13.go |gofmt >zsyscall_$GOOSARCH.1_13.go";
    222235                        elif [ "$GOOS" == "illumos" ]; then
    223236                                # illumos code generation requires a --illumos switch
     
    233246        if [ -n "$mksysnum" ]; then echo "$mksysnum |gofmt >zsysnum_$GOOSARCH.go"; fi
    234247        if [ -n "$mktypes" ]; then echo "$mktypes types_$GOOS.go | go run mkpost.go > ztypes_$GOOSARCH.go"; fi
    235         if [ -n "$mkasm" ]; then echo "$mkasm $GOARCH"; fi
     248        if [ -n "$mkasm" ]; then echo "$mkasm $GOOS $GOARCH"; fi
    236249) | $run
Note: See TracChangeset for help on using the changeset viewer.