xref: /openbsd-src/gnu/usr.bin/binutils/bfd/pe-arm.c (revision c074d1c999f3e07019cd5e9a2f190b057ef3b935)
1c88b1d6cSniklas /* BFD back-end for ARM PECOFF files.
2*c074d1c9Sdrahn    Copyright 1995, 1996, 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
32159047fSniklas 
42159047fSniklas This file is part of BFD, the Binary File Descriptor library.
52159047fSniklas 
62159047fSniklas This program is free software; you can redistribute it and/or modify
72159047fSniklas it under the terms of the GNU General Public License as published by
82159047fSniklas the Free Software Foundation; either version 2 of the License, or
92159047fSniklas (at your option) any later version.
102159047fSniklas 
112159047fSniklas This program is distributed in the hope that it will be useful,
122159047fSniklas but WITHOUT ANY WARRANTY; without even the implied warranty of
132159047fSniklas MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
142159047fSniklas GNU General Public License for more details.
152159047fSniklas 
162159047fSniklas You should have received a copy of the GNU General Public License
172159047fSniklas along with this program; if not, write to the Free Software
182159047fSniklas Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  */
192159047fSniklas 
202159047fSniklas #include "bfd.h"
212159047fSniklas #include "sysdep.h"
222159047fSniklas 
23b305b0f1Sespie #ifndef TARGET_LITTLE_SYM
242159047fSniklas #define TARGET_LITTLE_SYM    armpe_little_vec
252159047fSniklas #define TARGET_LITTLE_NAME   "pe-arm-little"
262159047fSniklas #define TARGET_BIG_SYM       armpe_big_vec
272159047fSniklas #define TARGET_BIG_NAME      "pe-arm-big"
28b305b0f1Sespie #endif
292159047fSniklas 
302159047fSniklas #define COFF_WITH_PE
31*c074d1c9Sdrahn #define PCRELOFFSET          TRUE
32c88b1d6cSniklas #define COFF_LONG_SECTION_NAMES
332159047fSniklas 
34b305b0f1Sespie #ifndef bfd_arm_allocate_interworking_sections
35b305b0f1Sespie #define bfd_arm_allocate_interworking_sections \
36b305b0f1Sespie 	bfd_arm_pe_allocate_interworking_sections
37b305b0f1Sespie #define bfd_arm_get_bfd_for_interworking \
38b305b0f1Sespie 	bfd_arm_pe_get_bfd_for_interworking
39b305b0f1Sespie #define bfd_arm_process_before_allocation \
40b305b0f1Sespie 	bfd_arm_pe_process_before_allocation
41b305b0f1Sespie #endif
42b305b0f1Sespie 
43b305b0f1Sespie #ifdef ARM_WINCE
44b305b0f1Sespie #define TARGET_UNDERSCORE 0
45b305b0f1Sespie #endif
46b305b0f1Sespie 
472159047fSniklas #include "coff-arm.c"
48