aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-i386.h
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2012-03-16 23:19:47 +0000
committerRoland McGrath <roland@gnu.org>2012-03-16 23:19:47 +0000
commit8059fb196eecc90ab0dc7ecabd913690d08baee9 (patch)
tree5dd79259d1a5fe29aaa0d0f9d8cb607e0c46abe6 /gas/config/tc-i386.h
parentb2ecfddf1c708dd271843a1daf1b45d9f36a4238 (diff)
downloadgdb-8059fb196eecc90ab0dc7ecabd913690d08baee9.zip
gdb-8059fb196eecc90ab0dc7ecabd913690d08baee9.tar.gz
gdb-8059fb196eecc90ab0dc7ecabd913690d08baee9.tar.bz2
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/config/tc-i386.h')
-rw-r--r--gas/config/tc-i386.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gas/config/tc-i386.h b/gas/config/tc-i386.h
index 599d0bf..51c6cb6 100644
--- a/gas/config/tc-i386.h
+++ b/gas/config/tc-i386.h
@@ -63,6 +63,8 @@ extern unsigned long i386_mach (void);
#define ELF_TARGET_FORMAT "elf32-i386-vxworks"
#elif defined (TE_NACL)
#define ELF_TARGET_FORMAT "elf32-i386-nacl"
+#define ELF_TARGET_FORMAT32 "elf32-x86-64-nacl"
+#define ELF_TARGET_FORMAT64 "elf64-x86-64-nacl"
#endif
#ifdef TE_SOLARIS