aboutsummaryrefslogtreecommitdiffstats
path: root/src/build-data
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2018-09-19 19:19:56 -0400
committerJack Lloyd <[email protected]>2018-09-19 19:19:56 -0400
commitd82e22eea1e19f7bcc21e3b50f90fe058602933b (patch)
treea19a76374b5bacabdc459212e9c105b29d37d34b /src/build-data
parentb641f52a99fefd4ef85171c78bea39f7f21d4152 (diff)
Set default endian for SPARC and RISC-V
RISC-V is always little endian by definition. SPARC is technically bi-endian but basically 100% of userspace is big endian, so assume it.
Diffstat (limited to 'src/build-data')
-rw-r--r--src/build-data/arch/riscv64.txt1
-rw-r--r--src/build-data/arch/sparc64.txt1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/build-data/arch/riscv64.txt b/src/build-data/arch/riscv64.txt
index b9bc16939..c8c258a00 100644
--- a/src/build-data/arch/riscv64.txt
+++ b/src/build-data/arch/riscv64.txt
@@ -1 +1,2 @@
family riscv
+endian little
diff --git a/src/build-data/arch/sparc64.txt b/src/build-data/arch/sparc64.txt
index 56130f26c..b01c8277f 100644
--- a/src/build-data/arch/sparc64.txt
+++ b/src/build-data/arch/sparc64.txt
@@ -1,2 +1,3 @@
family sparc
wordsize 64
+endian big