summaryrefslogtreecommitdiff
path: root/bfd/pei-sh.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2000-02-28 18:56:11 +0000
committerNick Clifton <nickc@redhat.com>2000-02-28 18:56:11 +0000
commit20278ee49a2fd6caf92b879545837982f5524a10 (patch)
treee2cdab5954a605d99aba69c226ae310a6636d268 /bfd/pei-sh.c
parent270472e2b0804783c1993fa834b3f1d09bf5d664 (diff)
downloadbinutils-redhat-20278ee49a2fd6caf92b879545837982f5524a10.tar.gz
Add WinCE support.
Diffstat (limited to 'bfd/pei-sh.c')
-rw-r--r--bfd/pei-sh.c35
1 files changed, 35 insertions, 0 deletions
diff --git a/bfd/pei-sh.c b/bfd/pei-sh.c
new file mode 100644
index 0000000000..2fb8b1ca23
--- /dev/null
+++ b/bfd/pei-sh.c
@@ -0,0 +1,35 @@
+/* BFD back-end for SH PE IMAGE COFF files.
+ Copyright 1995, 2000 Free Software Foundation, Inc.
+
+This file is part of BFD, the Binary File Descriptor library.
+
+This program is free software; you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation; either version 2 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program; if not, write to the Free Software
+Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
+
+#include "bfd.h"
+#include "sysdep.h"
+
+#define TARGET_SHL_SYM shlpei_vec
+#define TARGET_SHL_NAME "pei-shl"
+#define IMAGE_BASE NT_IMAGE_BASE
+#define COFF_IMAGE_WITH_PE
+#define COFF_WITH_PE
+#define PCRELOFFSET true
+#define TARGET_UNDERSCORE '_'
+#define COFF_LONG_SECTION_NAMES
+
+#include "coff-sh.c"
+
+
+