aboutsummaryrefslogtreecommitdiffstats
path: root/sys/targets
diff options
context:
space:
mode:
authorJulia Hansbrough <flowerhack@google.com>2018-03-20 12:12:01 -0700
committerDmitry Vyukov <dvyukov@google.com>2018-03-21 09:50:47 +0100
commit040e73d644ee4124adfc744cbb81075b863c2b19 (patch)
treebacec2e1454c79a4742b3aac5512e0e392d974ea /sys/targets
parent113a43ffb67d4297d8d2e6ee39c8a0a23420db99 (diff)
fuchsia: Fix the `extractor` tool.
The include path in Zircon has changed; updated syz-extract/fuchsia.go to include this, and re-ran extract to get updated *.const files.
Diffstat (limited to 'sys/targets')
-rw-r--r--sys/targets/targets.go14
1 files changed, 8 insertions, 6 deletions
diff --git a/sys/targets/targets.go b/sys/targets/targets.go
index a40121c47..af946e3eb 100644
--- a/sys/targets/targets.go
+++ b/sys/targets/targets.go
@@ -118,14 +118,16 @@ var List = map[string]map[string]*Target{
},
"fuchsia": map[string]*Target{
"amd64": {
- PtrSize: 8,
- PageSize: 4 << 10,
- CArch: []string{"__x86_64__"},
+ PtrSize: 8,
+ PageSize: 4 << 10,
+ CArch: []string{"__x86_64__"},
+ KernelHeaderArch: "x64",
},
"arm64": {
- PtrSize: 8,
- PageSize: 4 << 10,
- CArch: []string{"__aarch64__"},
+ PtrSize: 8,
+ PageSize: 4 << 10,
+ CArch: []string{"__aarch64__"},
+ KernelHeaderArch: "arm64",
},
},
"windows": map[string]*Target{