aboutsummaryrefslogtreecommitdiff
path: root/include/elf
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
parent924160b0d61c9b6b4774c830356e17db27d48540 (diff)
downloadgdb-cbc3424197053ac5c564dd40edfe4efa6801d93b.zip
gdb-cbc3424197053ac5c564dd40edfe4efa6801d93b.tar.gz
gdb-cbc3424197053ac5c564dd40edfe4efa6801d93b.tar.bz2
Add v850.h
Diffstat (limited to 'include/elf')
-rw-r--r--include/elf/.Sanitize8
-rw-r--r--include/elf/ChangeLog6
-rw-r--r--include/elf/v850.h42
3 files changed, 56 insertions, 0 deletions
diff --git a/include/elf/.Sanitize b/include/elf/.Sanitize
index 9ffe17f..c59d17e 100644
--- a/include/elf/.Sanitize
+++ b/include/elf/.Sanitize
@@ -25,6 +25,14 @@ else
lose_these_too="${arc_files} ${lose_these_too}"
fi
+v850_files="v850.h"
+
+if ( echo $* | grep keep\-v850 > /dev/null ) ; then
+ keep_these_too="${v850_files} ${keep_these_too}"
+else
+ lose_these_too="${v850_files} ${lose_these_too}"
+fi
+
m32r_files="m32r.h"
if ( echo $* | grep keep\-m32r > /dev/null ) ; then
diff --git a/include/elf/ChangeLog b/include/elf/ChangeLog
index 02d940f..170e2e9 100644
--- a/include/elf/ChangeLog
+++ b/include/elf/ChangeLog
@@ -1,3 +1,9 @@
+start-sanitize-v850
+Thu Jan 2 19:30:23 1997 Michael Meissner <meissner@tiktok.cygnus.com>
+
+ * v850.h: New file, provide V850 specific definitions.
+
+end-sanitize-v850
Tue Dec 31 14:44:32 1996 Ian Lance Taylor <ian@cygnus.com>
* common.h (DT_AUXILIARY): Define.
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 */