Yet more signed overflow fixes
[deliverable/binutils-gdb.git] / include / elf / tic6x.h
index 88000fa1a7f3eb9774d8a0758280a8c4f83a632b..5c8a663cc507c8b8e52d0532a183c6c4d8c167b2 100644 (file)
@@ -1,6 +1,5 @@
 /* TI C6X ELF support for BFD.
-   Copyright 2010
-   Free Software Foundation, Inc.
+   Copyright (C) 2010-2019 Free Software Foundation, Inc.
 
    This file is part of BFD, the Binary File Descriptor library.
 
@@ -53,6 +52,10 @@ START_RELOC_NUMBERS (elf_tic6x_reloc_type)
   RELOC_NUMBER (R_C6000_DSBT_INDEX, 24)
   RELOC_NUMBER (R_C6000_PREL31, 25)
   RELOC_NUMBER (R_C6000_COPY, 26)
+  RELOC_NUMBER (R_C6000_JUMP_SLOT, 27)
+  RELOC_NUMBER (R_C6000_EHTYPE, 28)
+  RELOC_NUMBER (R_C6000_PCR_H16, 29)
+  RELOC_NUMBER (R_C6000_PCR_L16, 30)
   RELOC_NUMBER (R_C6000_ALIGN, 253)
   RELOC_NUMBER (R_C6000_FPHEAD, 254)
   RELOC_NUMBER (R_C6000_NOCMP, 255)
@@ -89,6 +92,13 @@ END_RELOC_NUMBERS (R_TIC6X_max)
 /* Extended program header attributes.  */
 #define SHT_TI_PHATTRS         0x7F000004
 
+/* Processor specific section indices.  These sections do not actually
+   exist.  Symbols with a st_shndx field corresponding to one of these
+   values have a special meaning.  */
+
+/* Small data area common symbol.  */
+#define SHN_TIC6X_SCOMMON      SHN_LORESERVE
+
 /* Processor-specific segment types.  */
 
 /* Extended Segment Attributes.  */
@@ -147,4 +157,10 @@ enum
     C6XABI_Tag_ISA_C674X = 8
   };
 
+/* Special section names.  */
+#define ELF_STRING_C6000_unwind           ".c6xabi.exidx"
+#define ELF_STRING_C6000_unwind_info      ".c6xabi.extab"
+#define ELF_STRING_C6000_unwind_once      ".gnu.linkonce.c6xabi.exidx."
+#define ELF_STRING_C6000_unwind_info_once ".gnu.linkonce.c6xabi.extab."
+
 #endif /* _ELF_TIC6X_H */
This page took 0.024667 seconds and 4 git commands to generate.