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/targets.c | |
parent | 25e762b98d2a9891b27043cde93d733287950465 (diff) | |
download | gdb-a27e437177412e5b52999723f3c5d5d0d37b9087.zip gdb-a27e437177412e5b52999723f3c5d5d0d37b9087.tar.gz 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/targets.c')
-rw-r--r-- | bfd/targets.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/bfd/targets.c b/bfd/targets.c index 0bfc104..c34ce69 100644 --- a/bfd/targets.c +++ b/bfd/targets.c @@ -1,6 +1,6 @@ /* Generic target-file-type support for the BFD library. Copyright 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, - 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 + 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software Foundation, Inc. Written by Cygnus Support. @@ -618,6 +618,7 @@ extern const bfd_target bfd_elf32_hppa_nbsd_vec; extern const bfd_target bfd_elf32_hppa_vec; extern const bfd_target bfd_elf32_i370_vec; extern const bfd_target bfd_elf32_i386_freebsd_vec; +extern const bfd_target bfd_elf32_i386_nacl_vec; extern const bfd_target bfd_elf32_i386_sol2_vec; extern const bfd_target bfd_elf32_i386_vxworks_vec; extern const bfd_target bfd_elf32_i386_vec; @@ -978,6 +979,7 @@ static const bfd_target * const _bfd_target_vector[] = &bfd_elf32_hppa_vec, &bfd_elf32_i370_vec, &bfd_elf32_i386_freebsd_vec, + &bfd_elf32_i386_nacl_vec, &bfd_elf32_i386_sol2_vec, &bfd_elf32_i386_vxworks_vec, &bfd_elf32_i386_vec, |