diff options
author | Roland McGrath <roland@gnu.org> | 2011-07-28 22:35:15 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2011-07-28 22:35:15 +0000 |
commit | a27e437177412e5b52999723f3c5d5d0d37b9087 (patch) | |
tree | 349442e027487f0004bffcee9540b2856957ef4f /bfd/config.bfd | |
parent | 25e762b98d2a9891b27043cde93d733287950465 (diff) | |
download | fsf-binutils-gdb-a27e437177412e5b52999723f3c5d5d0d37b9087.zip fsf-binutils-gdb-a27e437177412e5b52999723f3c5d5d0d37b9087.tar.gz fsf-binutils-gdb-a27e437177412e5b52999723f3c5d5d0d37b9087.tar.bz2 |
BFD vector for elf32-i386-nacl:
bfd/
* elf32-i386.c (NACL_PLT_ENTRY_SIZE, NACLMASK): New macros.
(elf_i386_nacl_plt0_entry): New variable.
(elf_i386_plt_entry): New variable.
(elf_i386_nacl_pic_plt0_entry): New variable.
(elf_i386_nacl_pic_plt_entry): New variable.
(elf_i386_nacl_plt, elf_i386_nacl_arch_bed): New variables.
(elf_backend_arch_data): New macro setting for elf_i386_nacl_vec stanza.
(elf_backend_plt_alignment): Likewise.
* config.bfd: Handle i[3-7]86-*-nacl*.
* elf32-i386.c (bfd_elf32_i386_nacl_vec): New backend vector stanza.
* targets.c: Support bfd_elf32_i386_nacl_vec.
* configure.in: Likewise.
* configure: Regenerated.
Diffstat (limited to 'bfd/config.bfd')
-rw-r--r-- | bfd/config.bfd | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/bfd/config.bfd b/bfd/config.bfd index 3f5b9a1..3b9872a 100644 --- a/bfd/config.bfd +++ b/bfd/config.bfd @@ -566,6 +566,10 @@ case "${targ}" in targ_selvecs="i386linux_vec i386pei_vec" targ64_selvecs="bfd_elf64_x86_64_vec bfd_elf32_x86_64_vec bfd_elf64_l1om_vec bfd_elf64_k1om_vec" ;; + i[3-7]86-*-nacl*) + targ_defvec=bfd_elf32_i386_nacl_vec + targ_selvecs="bfd_elf32_i386_vec" + ;; #ifdef BFD64 x86_64-*-darwin*) targ_defvec=mach_o_x86_64_vec @@ -714,12 +718,12 @@ case "${targ}" in targ_defvec=bfd_elf32_lm32_vec targ_selvecs=bfd_elf32_lm32fdpic_vec ;; - + lm32-*-*linux*) targ_defvec=bfd_elf32_lm32fdpic_vec targ_selvecs=bfd_elf32_lm32_vec ;; - + m32c-*-elf | m32c-*-rtems*) targ_defvec=bfd_elf32_m32c_vec ;; @@ -927,11 +931,11 @@ case "${targ}" in want64=true ;; #endif - mips*el-sde-elf*) + mips*el-sde-elf*) targ_defvec=bfd_elf32_tradlittlemips_vec targ_selvecs="bfd_elf32_tradbigmips_vec bfd_elf32_ntradbigmips_vec bfd_elf32_ntradlittlemips_vec bfd_elf64_tradbigmips_vec bfd_elf64_tradlittlemips_vec" want64=true - ;; + ;; mips*-sde-elf*) targ_defvec=bfd_elf32_tradbigmips_vec targ_selvecs="bfd_elf32_tradlittlemips_vec bfd_elf32_ntradbigmips_vec bfd_elf32_ntradlittlemips_vec bfd_elf64_tradbigmips_vec bfd_elf64_tradlittlemips_vec" @@ -1541,7 +1545,7 @@ case "${targ}" in xc16x-*-elf) targ_defvec=bfd_elf32_xc16x_vec ;; - + z80-*-*) targ_defvec=z80coff_vec targ_underscore=no |