[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Guile-commits] 08/14: Recognize sh3 as compilation targets
From: |
Andy Wingo |
Subject: |
[Guile-commits] 08/14: Recognize sh3 as compilation targets |
Date: |
Wed, 1 Mar 2017 15:21:04 -0500 (EST) |
wingo pushed a commit to branch master
in repository guile.
commit 92222727f81b2a03cde124b88d7e6224ecb29199
Author: John Paul Adrian Glaubitz <address@hidden>
Date: Sat Jan 21 12:49:31 2017 +0100
Recognize sh3 as compilation targets
* module/system/base/target.scm (cpu-endianness, triplet-pointer-size):
Add case for "sh3".
Signed-off-by: John Paul Adrian Glaubitz <address@hidden>
Signed-off-by: Ludovic Courtès <address@hidden>
---
module/system/base/target.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/module/system/base/target.scm b/module/system/base/target.scm
index 02febf8..e80bf84 100644
--- a/module/system/base/target.scm
+++ b/module/system/base/target.scm
@@ -63,7 +63,7 @@
(cond ((string-match "^i[0-9]86$" cpu)
(endianness little))
((member cpu '("x86_64" "ia64"
- "powerpcle" "powerpc64le" "mipsel" "mips64el"
"nios2" "sh4" "alpha"))
+ "powerpcle" "powerpc64le" "mipsel" "mips64el"
"nios2" "sh3" "sh4" "alpha"))
(endianness little))
((member cpu '("sparc" "sparc64" "powerpc" "powerpc64" "spu"
"mips" "mips64" "m68k" "s390x"))
@@ -102,7 +102,7 @@
((string-match "64$" cpu) 8)
((string-match "64_?[lbe][lbe]$" cpu) 8)
- ((member cpu '("sparc" "powerpc" "mips" "mipsel" "nios2" "m68k"
"sh4")) 4)
+ ((member cpu '("sparc" "powerpc" "mips" "mipsel" "nios2" "m68k"
"sh3" "sh4")) 4)
((member cpu '("s390x" "alpha")) 8)
((string-match "^arm.*" cpu) 4)
(else (error "unknown CPU word size" cpu)))))
- [Guile-commits] 07/14: doc: Fix typo in site packages documentation., (continued)
- [Guile-commits] 07/14: doc: Fix typo in site packages documentation., Andy Wingo, 2017/03/01
- [Guile-commits] 09/14: i18n: Do not represent zero as "-0"., Andy Wingo, 2017/03/01
- [Guile-commits] 05/14: tests: Avoid statprof test failure on systems without 'setitimer'., Andy Wingo, 2017/03/01
- [Guile-commits] 04/14: build: Honor $SOURCE_DATE_EPOCH for the recorded timestamp., Andy Wingo, 2017/03/01
- [Guile-commits] 06/14: doc: Fix typo in keywords documentation., Andy Wingo, 2017/03/01
- [Guile-commits] 10/14: tests: Use 'pass-if-equal' for (ice-9 i18n) tests., Andy Wingo, 2017/03/01
- [Guile-commits] 13/14: i18n: 'number->locale-string' guesses the minimum number of decimals., Andy Wingo, 2017/03/01
- [Guile-commits] 12/14: i18n: Fix corner cases for monetary and number string conversions., Andy Wingo, 2017/03/01
- [Guile-commits] 02/14: build: Compress with lzip too., Andy Wingo, 2017/03/01
- [Guile-commits] 03/14: scandir: Avoid 'stat' calls on each entry., Andy Wingo, 2017/03/01
- [Guile-commits] 08/14: Recognize sh3 as compilation targets,
Andy Wingo <=
- [Guile-commits] 14/14: doc: Describe -e (module) on equal footing with (@ ...)., Andy Wingo, 2017/03/01