nds32: Support target directive .ict_model.
[deliverable/binutils-gdb.git] / bfd / elf32-nds32.h
index 7e09e01a3fcc7d53e019a26d9da2c4451f0a0cf3..bf2e93f581c535d801fc52076a733d9aa4bb551a 100644 (file)
@@ -46,6 +46,13 @@ extern "C" {
 #define R_NDS32_RELAX_ENTRY_EX9_FLAG                           (1 << 2)
 /* Enable IFC optimization for this section.  */
 #define R_NDS32_RELAX_ENTRY_IFC_FLAG                           (1 << 3)
+/* Two bits for ICT to comply with files without directive.  */
+/* ICT small model.  */
+#define R_NDS32_RELAX_ENTRY_ICT_SMALL                           (0x2 << 4)
+/* ICT large model.  */
+#define R_NDS32_RELAX_ENTRY_ICT_LARGE                           (0x3 << 4)
+/* Mask for get ict bits.  */
+#define R_NDS32_RELAX_ENTRY_ICT_MASK                            (0x3 << 4)
 
 
 /* Relocation flags for R_NDS32_INSN16.  */
This page took 0.024449 seconds and 4 git commands to generate.