summaryrefslogtreecommitdiff
path: root/gas/configure.tgt
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2012-03-16 23:19:44 +0000
committerRoland McGrath <roland@gnu.org>2012-03-16 23:19:44 +0000
commit9d51c989141d4c8d21928b8d73a1a23474fa8410 (patch)
tree5ca9a941c0ef14ba41dfe1480e69d47f51931c31 /gas/configure.tgt
parent896bc22da12ed28331d9a413dd33005911a9e454 (diff)
downloadbinutils-redhat-9d51c989141d4c8d21928b8d73a1a23474fa8410.tar.gz
bfd/
2012-03-16 Roland McGrath <mcgrathr@google.com> * config.bfd: Handle x86_64-*-nacl*. * elf64-x86-64.c (bfd_elf64_x86_64_nacl_vec): New backend vector stanza. (bfd_elf32_x86_64_nacl_vec): Likewise. * targets.c: Support them. * configure.in: Likewise. * configure: Regenerated. gas/ 2012-03-16 Roland McGrath <mcgrathr@google.com> * config/tc-i386.h [TE_NACL] (ELF_TARGET_FORMAT32, ELF_TARGET_FORMAT64): Define for this case. * configure.tgt (i386-*-nacl*): If ${cpu} is x86_64*, default to x32.
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 06fb6ca5cd..99a276fcc0 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* | \