Skip to content

Commit

Permalink
syscall: correctly generate accept on linux/arm
Browse files Browse the repository at this point in the history
CL 457995 introduced syscall_linux_accept.go which is used on linux/arm
to generate accept and use it in Accept. However, that CL forgot to
include the file in the list of files used with mksyscall.pl to generate
the syscall wrappers. This lead to accept no longer being generated when
re-running mkall.sh on linux/arm.

Change-Id: I7747399afae47a883a7fb079c82e835b90f366cf
Reviewed-on: https://go-review.googlesource.com/c/go/+/529055
LUCI-TryBot-Result: Go LUCI <[email protected]>
Reviewed-by: Ian Lance Taylor <[email protected]>
Reviewed-by: Bryan Mills <[email protected]>
Run-TryBot: Tobias Klauser <[email protected]>
TryBot-Result: Gopher Robot <[email protected]>
Commit-Queue: Tobias Klauser <[email protected]>
Auto-Submit: Tobias Klauser <[email protected]>
  • Loading branch information
tklauser committed Sep 19, 2023
1 parent d110d7c commit eca5a97
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/syscall/mkall.sh
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,7 @@ linux_amd64)
mktypes="GOARCH=$GOARCH go tool cgo -godefs"
;;
linux_arm)
GOOSARCH_in="syscall_linux_arm.go syscall_linux_accept.go"
mkerrors="$mkerrors"
mksyscall="./mksyscall.pl -l32 -arm"
mksysnum="curl -s 'http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/plain/arch/arm/include/uapi/asm/unistd.h' | ./mksysnum_linux.pl -"
Expand Down

0 comments on commit eca5a97

Please sign in to comment.