X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=bfd%2Fbfd-in2.h;h=779f03ad6bc70f9c616a437e9caaa930744acb61;hb=84e94c9023c5d75f0ab10f9aa572003f9612b6ab;hp=75c7785a860e611aa13dc7998adfc1500236e61b;hpb=0cd530490f8751125412c6c061640752724537ed;p=thirdparty%2Fbinutils-gdb.git diff --git a/bfd/bfd-in2.h b/bfd/bfd-in2.h index 75c7785a860..779f03ad6bc 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