xref: /netbsd/external/gpl3/gdb/dist/bfd/pei-sh.c (revision 1424dfb3)
1377e23a2Schristos /* BFD back-end for SH PE IMAGE COFF files.
2*1424dfb3Schristos    Copyright (C) 1995-2020 Free Software Foundation, Inc.
3377e23a2Schristos 
4377e23a2Schristos    This file is part of BFD, the Binary File Descriptor library.
5377e23a2Schristos 
6377e23a2Schristos    This program is free software; you can redistribute it and/or modify
7377e23a2Schristos    it under the terms of the GNU General Public License as published by
8377e23a2Schristos    the Free Software Foundation; either version 3 of the License, or
9377e23a2Schristos    (at your option) any later version.
10377e23a2Schristos 
11377e23a2Schristos    This program is distributed in the hope that it will be useful,
12377e23a2Schristos    but WITHOUT ANY WARRANTY; without even the implied warranty of
13377e23a2Schristos    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14377e23a2Schristos    GNU General Public License for more details.
15377e23a2Schristos 
16377e23a2Schristos    You should have received a copy of the GNU General Public License
17377e23a2Schristos    along with this program; if not, write to the Free Software
18377e23a2Schristos    Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
19377e23a2Schristos    MA 02110-1301, USA.  */
20377e23a2Schristos 
21377e23a2Schristos #include "sysdep.h"
22377e23a2Schristos #include "bfd.h"
23377e23a2Schristos 
245e098073Schristos #define TARGET_SHL_SYM sh_pei_le_vec
25377e23a2Schristos #define TARGET_SHL_NAME "pei-shl"
26377e23a2Schristos #define IMAGE_BASE NT_IMAGE_BASE
27377e23a2Schristos #define COFF_IMAGE_WITH_PE
28377e23a2Schristos #define COFF_WITH_PE
29377e23a2Schristos #define PCRELOFFSET TRUE
30377e23a2Schristos #define TARGET_UNDERSCORE '_'
31377e23a2Schristos /* Long section names not allowed in executable images, only object files.  */
32377e23a2Schristos #define COFF_LONG_SECTION_NAMES 0
33377e23a2Schristos 
34377e23a2Schristos #include "coff-sh.c"
35377e23a2Schristos 
36