aboutsummaryrefslogtreecommitdiff
path: root/bfd/bfd-in2.h
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>1998-11-05 00:05:50 +0000
committerNick Clifton <nickc@redhat.com>1998-11-05 00:05:50 +0000
commit4aeed4f2922bf1494a0e576cb9cb205b7e2d8448 (patch)
treec864878b121b5ef035be18708448b166026b641c /bfd/bfd-in2.h
parent1898346aa7c97fcae3774954d12b569511ec91e5 (diff)
downloadgdb-4aeed4f2922bf1494a0e576cb9cb205b7e2d8448.zip
gdb-4aeed4f2922bf1494a0e576cb9cb205b7e2d8448.tar.gz
gdb-4aeed4f2922bf1494a0e576cb9cb205b7e2d8448.tar.bz2
Added support for FR30
Diffstat (limited to 'bfd/bfd-in2.h')
-rw-r--r--bfd/bfd-in2.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/bfd/bfd-in2.h b/bfd/bfd-in2.h
index 30fe738..8270cb2 100644
--- a/bfd/bfd-in2.h
+++ b/bfd/bfd-in2.h
@@ -1339,6 +1339,8 @@ enum bfd_architecture
/* start-sanitize-am33 */
#define bfd_mach_am33 330
/* end-sanitize-am33 */
+ bfd_arch_fr30,
+#define bfd_mach_fr30 0x46523330
bfd_arch_last
};
@@ -2151,6 +2153,34 @@ significant 8 bits of a 24 bit word are placed into the least
significant 8 bits of the opcode. */
BFD_RELOC_TIC30_LDP,
+/* This is a 32 bit reloc for the FR30 that stores 20 bits split up into
+two sections. */
+ BFD_RELOC_FR30_20,
+
+/* This is a 16 bit reloc for the FR30 that stores a 6 bit word offset in
+4 bits. */
+ BFD_RELOC_FR30_6_IN_4,
+
+/* This is a 16 bit reloc for the FR30 that stores an 8 bit byte offset
+into 8 bits. */
+ BFD_RELOC_FR30_8_IN_8,
+
+/* This is a 16 bit reloc for the FR30 that stores a 9 bit short offset
+into 8 bits. */
+ BFD_RELOC_FR30_9_IN_8,
+
+/* This is a 16 bit reloc for the FR30 that stores a 10 bit word offset
+into 8 bits. */
+ BFD_RELOC_FR30_10_IN_8,
+
+/* This is a 16 bit reloc for the FR30 that stores a 9 bit pc relative
+short offset into 8 bits. */
+ BFD_RELOC_FR30_9_PCREL,
+
+/* This is a 16 bit reloc for the FR30 that stores a 12 bit pc relative
+short offset into 11 bits. */
+ BFD_RELOC_FR30_12_PCREL,
+
/* These two relocations are used by the linker to determine which of
the entries in a C++ virtual function table are actually used. When
the --gc-sections option is given, the linker will zero out the entries