aboutsummaryrefslogtreecommitdiff
path: root/include/elf/v850.h
diff options
context:
space:
mode:
authorMichael Meissner <gnu@the-meissners.org>1997-01-03 00:31:19 +0000
committerMichael Meissner <gnu@the-meissners.org>1997-01-03 00:31:19 +0000
commitcbc3424197053ac5c564dd40edfe4efa6801d93b (patch)
tree6a0e9279948229793ddc098bacded8d701c3aa59 /include/elf/v850.h
parent924160b0d61c9b6b4774c830356e17db27d48540 (diff)
downloadgdb-cbc3424197053ac5c564dd40edfe4efa6801d93b.zip
gdb-cbc3424197053ac5c564dd40edfe4efa6801d93b.tar.gz
gdb-cbc3424197053ac5c564dd40edfe4efa6801d93b.tar.bz2
Add v850.h
Diffstat (limited to 'include/elf/v850.h')
-rw-r--r--include/elf/v850.h42
1 files changed, 42 insertions, 0 deletions
diff --git a/include/elf/v850.h b/include/elf/v850.h
new file mode 100644
index 0000000..6374811
--- /dev/null
+++ b/include/elf/v850.h
@@ -0,0 +1,42 @@
+/* V850 ELF support for BFD.
+ Copyright (C) 1997 Free Software Foundation, Inc.
+ Created by Michael Meissner, Cygnus Support <meissner@cygnus.com>
+
+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. */
+
+/* This file holds definitions specific to the MIPS ELF ABI. Note
+ that most of this is not actually implemented by BFD. */
+
+#ifndef _ELF_V850_H
+#define _ELF_V850_H
+
+/* Flags for the other field */
+#define V850_OTHER_SDA 0x01 /* symbol had SDA relocations */
+#define V850_OTHER_ZDA 0x02 /* symbol had ZDA relocations */
+#define V850_OTHER_TDA 0x04 /* symbol had TDA relocations */
+
+/* Processor specific section indices. These sections do not actually
+ exist. Symbols with a st_shndx field corresponding to one of these
+ values have a special meaning. */
+
+/* Defined and allocated common symbol. Value is virtual address. If
+ relocated, alignment must be preserved. */
+#define SHN_V850_SCOMMON 0xff00 /* common referenced by sdaoff(label)[gp] */
+#define SHN_V850_ZCOMMON 0xff01 /* common referenced by zdaoff(label)[r0] */
+#define SHN_V850_TCOMMON 0xff02 /* common referenced by tdaoff(label)[ep] */
+
+#endif /* _ELF_V850_H */