mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-10 14:00:21 +02:00
Recognize the `x86_64.*-gnux32' triplet.
* module/system/base/target.scm (triplet-pointer-size): Add case for "^x64_64-.*-gnux32". * test-suite/tests/asm-to-bytecode.test ("cross-compilation"): ["x86_64-unknown-linux-gnux32"]: New test.
This commit is contained in:
parent
9130ec74cf
commit
b946e08a6a
2 changed files with 4 additions and 0 deletions
|
@ -92,6 +92,8 @@
|
|||
((string-match "^mips64.*-gnuabi64" triplet) 8) ; n64 ABI
|
||||
((string-match "^mips64" cpu) 4) ; n32 or o32
|
||||
|
||||
((string-match "^x64_64-.*-gnux32" triplet) 4) ; x32
|
||||
|
||||
((string-match "64$" cpu) 8)
|
||||
((string-match "64[lbe][lbe]$" cpu) 8)
|
||||
((member cpu '("sparc" "powerpc" "mips" "mipsel")) 4)
|
||||
|
|
|
@ -198,6 +198,8 @@
|
|||
(endianness little) 4)
|
||||
(test-target "mips64el-unknown-linux-gnuabi64" ; n64 ABI (Debian tuplet)
|
||||
(endianness little) 8)
|
||||
(test-target "x86_64-unknown-linux-gnux32" ; x32 ABI (Debian tuplet)
|
||||
(endianness little) 4)
|
||||
|
||||
(pass-if-exception "unknown target"
|
||||
exception:miscellaneous-error
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue