OLD | NEW |
1 /* ELF executable support for BFD. | 1 /* ELF executable support for BFD. |
2 Copyright 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, | 2 Copyright 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, |
3 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 | 3 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 |
4 Free Software Foundation, Inc. | 4 Free Software Foundation, Inc. |
5 | 5 |
6 Written by Fred Fish @ Cygnus Support, from information published | 6 Written by Fred Fish @ Cygnus Support, from information published |
7 in "UNIX System V Release 4, Programmers Guide: ANSI C and | 7 in "UNIX System V Release 4, Programmers Guide: ANSI C and |
8 Programming Support Tools". Sufficient support for gdb. | 8 Programming Support Tools". Sufficient support for gdb. |
9 | 9 |
10 Rewritten by Mark Eichin @ Cygnus Support, from information | 10 Rewritten by Mark Eichin @ Cygnus Support, from information |
11 published in "System V Application Binary Interface", chapters 4 | 11 published in "System V Application Binary Interface", chapters 4 |
12 and 5, as well as the various "Processor Supplement" documents | 12 and 5, as well as the various "Processor Supplement" documents |
13 derived from it. Added support for assembler and other object file | 13 derived from it. Added support for assembler and other object file |
(...skipping 609 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
623 /* Seek to the section header table in the file. */ | 623 /* Seek to the section header table in the file. */ |
624 if (bfd_seek (abfd, (file_ptr) where, SEEK_SET) != 0) | 624 if (bfd_seek (abfd, (file_ptr) where, SEEK_SET) != 0) |
625 goto got_no_match; | 625 goto got_no_match; |
626 | 626 |
627 /* Read the first section header at index 0, and convert to internal | 627 /* Read the first section header at index 0, and convert to internal |
628 form. */ | 628 form. */ |
629 if (bfd_bread (&x_shdr, sizeof x_shdr, abfd) != sizeof (x_shdr)) | 629 if (bfd_bread (&x_shdr, sizeof x_shdr, abfd) != sizeof (x_shdr)) |
630 goto got_no_match; | 630 goto got_no_match; |
631 elf_swap_shdr_in (abfd, &x_shdr, &i_shdr); | 631 elf_swap_shdr_in (abfd, &x_shdr, &i_shdr); |
632 | 632 |
error: old chunk mismatch |
None
OLD | NEW |