From 3b4b0a629a972bf80fc0ac6202f89681fab1df37 Mon Sep 17 00:00:00 2001 From: James Bowman Date: Thu, 12 Oct 2017 18:37:40 -0700 Subject: FT32: support for FT32B processor - part 1 FT32B is a new FT32 family member. It has a code compression scheme, which requires the use of linker relaxations. The change is quite large, so submission is in several parts. Part 1 adds a 15-bit instruction field, and CPU-specific functions for the code compression that are used in binutils and GDB. bfd/ChangeLog: 2017-10-12 James Bowman * bfd-in2.h: Regenerate. * libbfd.h: Regenerate. * elf32-ft32.c: Add HOWTO R_FT32_15. * reloc.c: Add BFD_RELOC_FT32_15. gas/ChangeLog: 2017-10-12 James Bowman * config/tc-ft32.c (md_assemble): Replace FT32_FLD_K8 with K15. (md_apply_fix, tc_gen_reloc): Add BFD_RELOC_FT32_15. include/ChangeLog: 2017-10-12 James Bowman * elf/ft32.h: Add R_FT32_15. * opcode/ft32.h: Replace FT32_FLD_K8 with K15. (ft32_shortcode, sc_compar, ft32_split_shortcode, ft32_merge_shortcode, ft32_merge_shortcode): New functions. opcodes/ChangeLog: 2017-10-12 James Bowman * opcodes/ft32-dis.c (print_insn_ft32): Replace FT32_FLD_K8 with K15. * opcodes/ft32-opc.c (ft32_opc_info): Replace FT32_FLD_K8 with K15. Add jmpix pattern. sim/ChangeLog: 2017-10-12 James Bowman * sim/ft32/interp.c (step_once): Replace FT32_FLD_K8 with K15. --- include/elf/ft32.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/elf') diff --git a/include/elf/ft32.h b/include/elf/ft32.h index 5de1b63..4713bff 100644 --- a/include/elf/ft32.h +++ b/include/elf/ft32.h @@ -32,6 +32,7 @@ START_RELOC_NUMBERS (elf_ft32_reloc_type) RELOC_NUMBER (R_FT32_20, 5) RELOC_NUMBER (R_FT32_17, 6) RELOC_NUMBER (R_FT32_18, 7) + RELOC_NUMBER (R_FT32_15, 11) END_RELOC_NUMBERS (R_FT32_max) #endif /* _ELF_FT32_H */ -- cgit v1.1