| 1 | /* Generic support for 32-bit ELF |
| 2 | Copyright 1993 Free Software Foundation, Inc. |
| 3 | |
| 4 | This file is part of BFD, the Binary File Descriptor library. |
| 5 | |
| 6 | This program is free software; you can redistribute it and/or modify |
| 7 | it under the terms of the GNU General Public License as published by |
| 8 | the Free Software Foundation; either version 2 of the License, or |
| 9 | (at your option) any later version. |
| 10 | |
| 11 | This program is distributed in the hope that it will be useful, |
| 12 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 13 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 14 | GNU General Public License for more details. |
| 15 | |
| 16 | You should have received a copy of the GNU General Public License |
| 17 | along with this program; if not, write to the Free Software |
| 18 | Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ |
| 19 | |
| 20 | #include "bfd.h" |
| 21 | #include "sysdep.h" |
| 22 | #include "libbfd.h" |
| 23 | #include "libelf.h" |
| 24 | |
| 25 | /* This does not include any relocations, but should be good enough |
| 26 | for GDB to read the file. */ |
| 27 | |
| 28 | #define TARGET_LITTLE_SYM bfd_elf32_little_generic_vec |
| 29 | #define TARGET_LITTLE_NAME "elf32-little" |
| 30 | #define TARGET_BIG_SYM bfd_elf32_big_generic_vec |
| 31 | #define TARGET_BIG_NAME "elf32-big" |
| 32 | #define ELF_ARCH bfd_arch_unknown |
| 33 | #define ELF_MACHINE_CODE EM_NONE |
| 34 | #define bfd_elf32_bfd_reloc_type_lookup bfd_default_reloc_type_lookup |
| 35 | #define elf_info_to_howto _bfd_elf_no_info_to_howto |
| 36 | |
| 37 | #include "elf32-target.h" |