correct ft32 reloc range test
[deliverable/binutils-gdb.git] / bfd / elf32-nds32.h
index b1d920e5ec0fbb82fa76bc99f05f4ff3a80d38ed..bf2e93f581c535d801fc52076a733d9aa4bb551a 100644 (file)
@@ -1,5 +1,5 @@
 /* NDS32-specific support for 32-bit ELF.
-   Copyright (C) 2012-2017 Free Software Foundation, Inc.
+   Copyright (C) 2012-2018 Free Software Foundation, Inc.
    Contributed by Andes Technology Corporation.
 
    This file is part of BFD, the Binary File Descriptor library.
@@ -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.023109 seconds and 4 git commands to generate.