elf32-gen.c revision 1.1
1/* Generic support for 32-bit ELF
2   Copyright 1993 Free Software Foundation, Inc.
3
4This file is part of BFD, the Binary File Descriptor library.
5
6This program is free software; you can redistribute it and/or modify
7it under the terms of the GNU General Public License as published by
8the Free Software Foundation; either version 2 of the License, or
9(at your option) any later version.
10
11This program is distributed in the hope that it will be useful,
12but WITHOUT ANY WARRANTY; without even the implied warranty of
13MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14GNU General Public License for more details.
15
16You should have received a copy of the GNU General Public License
17along with this program; if not, write to the Free Software
18Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  */
19
20#include "bfd.h"
21#include "sysdep.h"
22#include "libbfd.h"
23#include "elf-bfd.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"
38