aboutsummaryrefslogtreecommitdiff
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
commit17505c5cfa9b784633a212f56076576317140ecc (patch)
treebc26826d81e92cdfa1ea2de3ff1b6b91f3a26894 /bfd/pei-sh.c
parent77343c58f9a67ff5a644d6ecc1eb8ef5ba87f45a (diff)
downloadgdb-17505c5cfa9b784633a212f56076576317140ecc.zip
gdb-17505c5cfa9b784633a212f56076576317140ecc.tar.gz
gdb-17505c5cfa9b784633a212f56076576317140ecc.tar.bz2
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 0000000..2fb8b1c
--- /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"
+
+
+