aboutsummaryrefslogtreecommitdiff
path: root/bfd/bfd-in2.h
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2008-12-23 19:10:25 +0000
committerNick Clifton <nickc@redhat.com>2008-12-23 19:10:25 +0000
commit84e94c9023c5d75f0ab10f9aa572003f9612b6ab (patch)
tree3751b6d7a3a336004ab82846b822b41c65e95699 /bfd/bfd-in2.h
parent0cd530490f8751125412c6c061640752724537ed (diff)
downloadgdb-84e94c9023c5d75f0ab10f9aa572003f9612b6ab.zip
gdb-84e94c9023c5d75f0ab10f9aa572003f9612b6ab.tar.gz
gdb-84e94c9023c5d75f0ab10f9aa572003f9612b6ab.tar.bz2
Add LM32 port.
Diffstat (limited to 'bfd/bfd-in2.h')
-rw-r--r--bfd/bfd-in2.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/bfd/bfd-in2.h b/bfd/bfd-in2.h
index 75c7785..779f03a 100644
--- a/bfd/bfd-in2.h
+++ b/bfd/bfd-in2.h
@@ -2035,6 +2035,8 @@ enum bfd_architecture
#define bfd_mach_z80 3 /* With ixl, ixh, iyl, and iyh. */
#define bfd_mach_z80full 7 /* All undocumented instructions. */
#define bfd_mach_r800 11 /* R800: successor with multiplication. */
+ bfd_arch_lm32, /* Lattice Mico32 */
+#define bfd_mach_lm32 1
bfd_arch_last
};
@@ -4412,6 +4414,17 @@ BFD_RELOC_XTENSA_ASM_EXPAND. */
/* 4 bit value. */
BFD_RELOC_Z8K_IMM4L,
+
+/* Lattice Mico32 relocations. */
+ BFD_RELOC_LM32_CALL,
+ BFD_RELOC_LM32_BRANCH,
+ BFD_RELOC_LM32_16_GOT,
+ BFD_RELOC_LM32_GOTOFF_HI16,
+ BFD_RELOC_LM32_GOTOFF_LO16,
+ BFD_RELOC_LM32_COPY,
+ BFD_RELOC_LM32_GLOB_DAT,
+ BFD_RELOC_LM32_JMP_SLOT,
+ BFD_RELOC_LM32_RELATIVE,
BFD_RELOC_UNUSED };
typedef enum bfd_reloc_code_real bfd_reloc_code_real_type;
reloc_howto_type *bfd_reloc_type_lookup