Commit 08041274 authored by cznic's avatar cznic
Browse files

modernc.org/libc: s390x auto generate

parent 1ceb27d0
Loading
Loading
Loading
Loading
+12
Changes for ccgo_linux_s390x.go: 12 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -24575,6 +24575,7 @@ func X_Exit(tls *TLS, ec int32) {
	if __ccgo_strace {
		trc("tls=%v ec=%v, (%v:)", tls, ec, origin(2))
	}
	___exit_unwind(tls, ec)
	X__syscall1(tls, int64(SYS_exit_group), int64(ec))
	for {
		X__syscall1(tls, int64(SYS_exit), int64(ec))
@@ -24627,6 +24628,9 @@ func Xat_quick_exit(tls *TLS, __ccgo_fp_func uintptr) (r1 int32) {
	var r, v1 int32
	_, _ = r, v1
	r = 0
	if ___at_quick_exit_unwind(tls, __ccgo_fp_func) != 0 {
		return 0
	}
	___lock(tls, uintptr(unsafe.Pointer(&_lock)))
	if _count == int32(32) {
		r = -int32(1)
@@ -24646,6 +24650,7 @@ func Xquick_exit(tls *TLS, code int32) {
	if __ccgo_strace {
		trc("tls=%v code=%v, (%v:)", tls, code, origin(2))
	}
	___quick_exit_unwind(tls, code)
	X__funcs_on_quick_exit(tls)
	X_Exit(tls, code)
}
@@ -28188,6 +28193,13 @@ type Tepoll_event = struct {
	Fdata   Tepoll_data_t
}
/* modernc.org/libc: on x86_64 the kernel's struct epoll_event is packed, 12
 * bytes with data at offset 4, and so is the one sys/epoll.h declares. cc/v4,
 * which compiles this libc and the C code calling it, ignores
 * __attribute__((__packed__)), and its struct epoll_event is 16 bytes with
 * data at offset 8. epoll_ctl and epoll_pwait therefore convert between the
 * two layouts, for as long as they differ. */
func Xepoll_create(tls *TLS, size int32) (r int32) {
	if __ccgo_strace {
		trc("tls=%v size=%v, (%v:)", tls, size, origin(2))
+2 −2
Changes for internal/autogen/linux_s390x.mod: 2 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -19,8 +19,8 @@ require (
	github.com/ncruces/go-strftime v1.1.0
	golang.org/x/sys v0.49.0
	golang.org/x/tools v0.52.0
	modernc.org/cc/v4 v4.30.6-0.20261101114202-1b9d1a076f6b
	modernc.org/ccgo/v4 v4.38.1
	modernc.org/cc/v4 v4.34.0
	modernc.org/ccgo/v4 v4.39.0
	modernc.org/fileutil v1.4.0
	modernc.org/goabi0 v0.2.0
	modernc.org/mathutil v1.7.1