aboutsummaryrefslogtreecommitdiff
path: root/gas/configure.tgt
diff options
context:
space:
mode:
Diffstat (limited to 'gas/configure.tgt')
-rw-r--r--gas/configure.tgt5
1 files changed, 4 insertions, 1 deletions
diff --git a/gas/configure.tgt b/gas/configure.tgt
index 06fb6ca..99a276f 100644
--- a/gas/configure.tgt
+++ b/gas/configure.tgt
@@ -183,7 +183,10 @@ case ${generic_target} in
i386-*-elf) fmt=elf ;;
i386-*-kaos*) fmt=elf ;;
i386-*-bsd*) fmt=aout em=386bsd ;;
- i386-*-nacl*) fmt=elf em=nacl ;;
+ i386-*-nacl*) fmt=elf em=nacl
+ case ${cpu} in
+ x86_64*) arch=x86_64:32 ;;
+ esac ;;
i386-*-netbsd0.8) fmt=aout em=386bsd ;;
i386-*-netbsdpe*) fmt=coff em=pe ;;
i386-*-netbsd*-gnu* | \