OLD | NEW |
1 /* Intel 80386/80486-specific support for 32-bit ELF | 1 /* Intel 80386/80486-specific support for 32-bit ELF |
2 Copyright 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, | 2 Copyright 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, |
3 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 | 3 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 |
4 Free Software Foundation, Inc. | 4 Free Software Foundation, Inc. |
5 | 5 |
6 This file is part of BFD, the Binary File Descriptor library. | 6 This file is part of BFD, the Binary File Descriptor library. |
7 | 7 |
8 This program is free software; you can redistribute it and/or modify | 8 This program is free software; you can redistribute it and/or modify |
9 it under the terms of the GNU General Public License as published by | 9 it under the terms of the GNU General Public License as published by |
10 the Free Software Foundation; either version 3 of the License, or | 10 the Free Software Foundation; either version 3 of the License, or |
11 (at your option) any later version. | 11 (at your option) any later version. |
12 | 12 |
13 This program is distributed in the hope that it will be useful, | 13 This program is distributed in the hope that it will be useful, |
14 but WITHOUT ANY WARRANTY; without even the implied warranty of | 14 but WITHOUT ANY WARRANTY; without even the implied warranty of |
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
16 GNU General Public License for more details. | 16 GNU General Public License for more details. |
17 | 17 |
18 You should have received a copy of the GNU General Public License | 18 You should have received a copy of the GNU General Public License |
19 along with this program; if not, write to the Free Software | 19 along with this program; if not, write to the Free Software |
20 Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, | 20 Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, |
21 MA 02110-1301, USA. */ | 21 MA 02110-1301, USA. */ |
22 | 22 |
23 #include "sysdep.h" | 23 #include "sysdep.h" |
24 #include "bfd.h" | 24 #include "bfd.h" |
25 #include "bfdlink.h" | 25 #include "bfdlink.h" |
26 #include "libbfd.h" | 26 #include "libbfd.h" |
27 #include "elf-bfd.h" | 27 #include "elf-bfd.h" |
| 28 #include "elf-nacl.h" |
28 #include "elf-vxworks.h" | 29 #include "elf-vxworks.h" |
29 #include "bfd_stdint.h" | 30 #include "bfd_stdint.h" |
30 #include "objalloc.h" | 31 #include "objalloc.h" |
31 #include "hashtab.h" | 32 #include "hashtab.h" |
32 #include "dwarf2.h" | 33 #include "dwarf2.h" |
33 | 34 |
34 /* 386 uses REL relocations instead of RELA. */ | 35 /* 386 uses REL relocations instead of RELA. */ |
35 #define USE_REL 1 | 36 #define USE_REL 1 |
36 | 37 |
37 #include "elf/i386.h" | 38 #include "elf/i386.h" |
(...skipping 952 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
990 /* Create .plt, .rel.plt, .got, .got.plt, .rel.got, .dynbss, and | 991 /* Create .plt, .rel.plt, .got, .got.plt, .rel.got, .dynbss, and |
991 .rel.bss sections in DYNOBJ, and set up shortcuts to them in our | 992 .rel.bss sections in DYNOBJ, and set up shortcuts to them in our |
992 hash table. */ | 993 hash table. */ |
993 | 994 |
994 static bfd_boolean | 995 static bfd_boolean |
995 elf_i386_create_dynamic_sections (bfd *dynobj, struct bfd_link_info *info) | 996 elf_i386_create_dynamic_sections (bfd *dynobj, struct bfd_link_info *info) |
996 { | 997 { |
997 struct elf_i386_link_hash_table *htab; | 998 struct elf_i386_link_hash_table *htab; |
998 | 999 |
999 if (!_bfd_elf_create_dynamic_sections (dynobj, info)) | 1000 if (!_bfd_elf_create_dynamic_sections (dynobj, info)) |
error: old chunk mismatch |
None
OLD | NEW |