diff options
author | Roland McGrath <roland@gnu.org> | 2012-03-16 23:19:47 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2012-03-16 23:19:47 +0000 |
commit | 8059fb196eecc90ab0dc7ecabd913690d08baee9 (patch) | |
tree | 5dd79259d1a5fe29aaa0d0f9d8cb607e0c46abe6 /bfd/config.bfd | |
parent | b2ecfddf1c708dd271843a1daf1b45d9f36a4238 (diff) | |
download | gdb-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 'bfd/config.bfd')
-rw-r--r-- | bfd/config.bfd | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/bfd/config.bfd b/bfd/config.bfd index 2cf89ed..e84ba58 100644 --- a/bfd/config.bfd +++ b/bfd/config.bfd @@ -574,6 +574,7 @@ case "${targ}" in i[3-7]86-*-nacl*) targ_defvec=bfd_elf32_i386_nacl_vec targ_selvecs="bfd_elf32_i386_vec" + targ64_selvecs="bfd_elf64_x86_64_nacl_vec bfd_elf32_x86_64_nacl_vec" ;; #ifdef BFD64 x86_64-*-darwin*) @@ -612,6 +613,11 @@ case "${targ}" in targ_selvecs="bfd_elf32_i386_vec bfd_elf32_x86_64_vec i386linux_vec i386pei_vec x86_64pei_vec bfd_elf64_l1om_vec bfd_elf64_k1om_vec" want64=true ;; + x86_64-*-nacl*) + targ_defvec=bfd_elf32_x86_64_nacl_vec + targ_selvecs="bfd_elf32_i386_nacl_vec bfd_elf64_x86_64_nacl_vec" + want64=true + ;; x86_64-*-mingw* | x86_64-*-pe | x86_64-*-pep) targ_defvec=x86_64pe_vec targ_selvecs="x86_64pe_vec x86_64pei_vec bfd_elf64_x86_64_vec bfd_elf64_l1om_vec bfd_elf64_k1om_vec i386pe_vec i386pei_vec bfd_elf32_i386_vec" |