xref: /openbsd-src/gnu/usr.bin/binutils/bfd/elf32-am33lin.c (revision cf2f2c5620d6d9a4fd01930983c4b9a1f76d7aa3)
1*cf2f2c56Smiod /* Matsushita AM33/2.0 support for 32-bit GNU/Linux ELF
2*cf2f2c56Smiod    Copyright 2003
3*cf2f2c56Smiod    Free Software Foundation, Inc.
4*cf2f2c56Smiod 
5*cf2f2c56Smiod    This file is part of BFD, the Binary File Descriptor library.
6*cf2f2c56Smiod 
7*cf2f2c56Smiod    This program is free software; you can redistribute it and/or modify
8*cf2f2c56Smiod    it under the terms of the GNU General Public License as published by
9*cf2f2c56Smiod    the Free Software Foundation; either version 2 of the License, or
10*cf2f2c56Smiod    (at your option) any later version.
11*cf2f2c56Smiod 
12*cf2f2c56Smiod    This program is distributed in the hope that it will be useful,
13*cf2f2c56Smiod    but WITHOUT ANY WARRANTY; without even the implied warranty of
14*cf2f2c56Smiod    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15*cf2f2c56Smiod    GNU General Public License for more details.
16*cf2f2c56Smiod 
17*cf2f2c56Smiod    You should have received a copy of the GNU General Public License
18*cf2f2c56Smiod    along with this program; if not, write to the Free Software
19*cf2f2c56Smiod    Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  */
20*cf2f2c56Smiod 
21*cf2f2c56Smiod #define elf_symbol_leading_char 0
22*cf2f2c56Smiod 
23*cf2f2c56Smiod #define TARGET_LITTLE_SYM	bfd_elf32_am33lin_vec
24*cf2f2c56Smiod #define TARGET_LITTLE_NAME	"elf32-am33lin"
25*cf2f2c56Smiod #define ELF_ARCH		bfd_arch_mn10300
26*cf2f2c56Smiod #define ELF_MACHINE_CODE	EM_MN10300
27*cf2f2c56Smiod #define ELF_MACHINE_ALT1	EM_CYGNUS_MN10300
28*cf2f2c56Smiod #define ELF_MAXPAGESIZE		0x1000
29*cf2f2c56Smiod 
30*cf2f2c56Smiod /* Rename global functions.  */
31*cf2f2c56Smiod #define _bfd_mn10300_elf_merge_private_bfd_data  _bfd_am33_elf_merge_private_bfd_data
32*cf2f2c56Smiod #define _bfd_mn10300_elf_object_p                _bfd_am33_elf_object_p
33*cf2f2c56Smiod #define _bfd_mn10300_elf_final_write_processing  _bfd_am33_elf_final_write_processing
34*cf2f2c56Smiod 
35*cf2f2c56Smiod #include "elf-m10300.c"
36