From 11f2afa5a3c8cc88e10b001d6eb8790c8a3b91a7 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Sun, 2 Jun 2024 12:17:03 +0200 Subject: sys/targets: mark big-endian targets Litte-endian is kind of default (except for s390). So instead of saying that each arch is litte-endian, mark only s390 as big-endian. --- prog/target.go | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'prog') diff --git a/prog/target.go b/prog/target.go index 4ac0e9a27..d32d8a8ae 100644 --- a/prog/target.go +++ b/prog/target.go @@ -14,14 +14,14 @@ import ( // Target describes target OS/arch pair. type Target struct { - OS string - Arch string - Revision string // unique hash representing revision of the descriptions - PtrSize uint64 - PageSize uint64 - NumPages uint64 - DataOffset uint64 - LittleEndian bool + OS string + Arch string + Revision string // unique hash representing revision of the descriptions + PtrSize uint64 + PageSize uint64 + NumPages uint64 + DataOffset uint64 + BigEndian bool Syscalls []*Syscall Resources []*ResourceDesc -- cgit mrf-deployment