aboutsummaryrefslogtreecommitdiffstats
path: root/prog/target.go
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2024-06-02 12:17:03 +0200
committerDmitry Vyukov <dvyukov@google.com>2024-06-04 09:50:32 +0000
commit11f2afa5a3c8cc88e10b001d6eb8790c8a3b91a7 (patch)
treeaed911ddb145445af02d18db7c0e73699522c2ef /prog/target.go
parent06bf8101debe879447d0ef3a7a5b84cb11fa5acf (diff)
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.
Diffstat (limited to 'prog/target.go')
-rw-r--r--prog/target.go16
1 files changed, 8 insertions, 8 deletions
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