aboutsummaryrefslogtreecommitdiff
path: root/bfd/bfd-in2.h
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2002-12-30 19:25:13 +0000
committerNick Clifton <nickc@redhat.com>2002-12-30 19:25:13 +0000
commit2469cfa28442dfd5e08b681dbcfd1ff098c6d420 (patch)
tree4350aa576399c91dfdaab6b961bb78759c300727 /bfd/bfd-in2.h
parent3f8173588efb34476725b62fc46853fd00268139 (diff)
downloadgdb-2469cfa28442dfd5e08b681dbcfd1ff098c6d420.zip
gdb-2469cfa28442dfd5e08b681dbcfd1ff098c6d420.tar.gz
gdb-2469cfa28442dfd5e08b681dbcfd1ff098c6d420.tar.bz2
Add support for msp430.
Diffstat (limited to 'bfd/bfd-in2.h')
-rw-r--r--bfd/bfd-in2.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/bfd/bfd-in2.h b/bfd/bfd-in2.h
index 362cc8f..c727679 100644
--- a/bfd/bfd-in2.h
+++ b/bfd/bfd-in2.h
@@ -1713,6 +1713,20 @@ enum bfd_architecture
bfd_arch_mmix, /* Donald Knuth's educational processor. */
bfd_arch_xstormy16,
#define bfd_mach_xstormy16 1
+ bfd_arch_msp430, /* Texas Instruments MSP430 architecture. */
+#define bfd_mach_msp110 110
+#define bfd_mach_msp11 11
+#define bfd_mach_msp12 12
+#define bfd_mach_msp13 13
+#define bfd_mach_msp14 14
+#define bfd_mach_msp41 41
+#define bfd_mach_msp31 31
+#define bfd_mach_msp32 32
+#define bfd_mach_msp33 33
+#define bfd_mach_msp43 43
+#define bfd_mach_msp44 44
+#define bfd_mach_msp15 15
+#define bfd_mach_msp16 16
bfd_arch_last
};
@@ -3246,6 +3260,13 @@ to follow the 16K memory bank of 68HC12 (seen as mapped in the window). */
BFD_RELOC_VAX_GLOB_DAT,
BFD_RELOC_VAX_JMP_SLOT,
BFD_RELOC_VAX_RELATIVE,
+
+/* msp430 specific relocation codes */
+ BFD_RELOC_MSP430_10_PCREL,
+ BFD_RELOC_MSP430_16_PCREL,
+ BFD_RELOC_MSP430_16,
+ BFD_RELOC_MSP430_16_PCREL_BYTE,
+ BFD_RELOC_MSP430_16_BYTE,
BFD_RELOC_UNUSED };
typedef enum bfd_reloc_code_real bfd_reloc_code_real_type;
reloc_howto_type *