include/elf:
[deliverable/binutils-gdb.git] / bfd / reloc.c
index e2e8a52e8f970b813022557f12bd09c2a223d28e..078529d1a357c40fa3f722c73d59c77fa6692127 100644 (file)
@@ -2635,104 +2635,139 @@ ENUMDOC
   Thumb 22 bit pc-relative branch.  The lowest bit must be zero and is
   not stored in the instruction.  The 2nd lowest bit comes from a 1 bit
   field in the instruction.
+
 ENUM
-  BFD_RELOC_ARM_IMMEDIATE
+  BFD_RELOC_THUMB_PCREL_BRANCH7
 ENUMX
-  BFD_RELOC_ARM_ADRL_IMMEDIATE
+  BFD_RELOC_THUMB_PCREL_BRANCH9
 ENUMX
-  BFD_RELOC_ARM_OFFSET_IMM
+  BFD_RELOC_THUMB_PCREL_BRANCH12
 ENUMX
-  BFD_RELOC_ARM_SHIFT_IMM
+  BFD_RELOC_THUMB_PCREL_BRANCH20
 ENUMX
-  BFD_RELOC_ARM_SMI
+  BFD_RELOC_THUMB_PCREL_BRANCH23
 ENUMX
-  BFD_RELOC_ARM_SWI
+  BFD_RELOC_THUMB_PCREL_BRANCH25
+ENUMDOC
+  Thumb 7-, 9-, 12-, 20-, 23-, and 25-bit pc-relative branches.
+  The lowest bit must be zero and is not stored in the instruction.
+  Note that the corresponding ELF R_ARM_THM_JUMPnn constant has an
+  "nn" one smaller in all cases.  Note further that BRANCH23
+  corresponds to R_ARM_THM_CALL.
+
+ENUM
+  BFD_RELOC_ARM_OFFSET_IMM
+ENUMDOC
+  12-bit immediate offset, used in ARM-format ldr and str instructions.
+
+ENUM
+  BFD_RELOC_ARM_THUMB_OFFSET
+ENUMDOC
+  5-bit immediate offset, used in Thumb-format ldr and str instructions.
+
+ENUM
+  BFD_RELOC_ARM_TARGET1
+ENUMDOC
+  Pc-relative or absolute relocation depending on target.  Used for
+  entries in .init_array sections.
+ENUM
+  BFD_RELOC_ARM_ROSEGREL32
+ENUMDOC
+  Read-only segment base relative address.
+ENUM
+  BFD_RELOC_ARM_SBREL32
+ENUMDOC
+  Data segment base relative address.
+ENUM
+  BFD_RELOC_ARM_TARGET2
+ENUMDOC
+  This reloc is used for references to RTTI data from exception handling
+  tables.  The actual definition depends on the target.  It may be a
+  pc-relative or some form of GOT-indirect relocation.
+ENUM
+  BFD_RELOC_ARM_PREL31
+ENUMDOC
+  31-bit PC relative address.
+
+ENUM
+  BFD_RELOC_ARM_JUMP_SLOT
 ENUMX
-  BFD_RELOC_ARM_MULTI
+  BFD_RELOC_ARM_GLOB_DAT
 ENUMX
-  BFD_RELOC_ARM_CP_OFF_IMM
+  BFD_RELOC_ARM_GOT32
 ENUMX
-  BFD_RELOC_ARM_CP_OFF_IMM_S2
+  BFD_RELOC_ARM_PLT32
 ENUMX
-  BFD_RELOC_ARM_ADR_IMM
+  BFD_RELOC_ARM_RELATIVE
 ENUMX
-  BFD_RELOC_ARM_LDR_IMM
+  BFD_RELOC_ARM_GOTOFF
 ENUMX
-  BFD_RELOC_ARM_LITERAL
+  BFD_RELOC_ARM_GOTPC
+ENUMDOC
+  Relocations for setting up GOTs and PLTs for shared libraries.
+
+ENUM
+  BFD_RELOC_ARM_TLS_GD32
 ENUMX
-  BFD_RELOC_ARM_IN_POOL
+  BFD_RELOC_ARM_TLS_LDO32
 ENUMX
-  BFD_RELOC_ARM_OFFSET_IMM8
+  BFD_RELOC_ARM_TLS_LDM32
 ENUMX
-  BFD_RELOC_ARM_HWLITERAL
+  BFD_RELOC_ARM_TLS_DTPOFF32
 ENUMX
-  BFD_RELOC_ARM_THUMB_ADD
+  BFD_RELOC_ARM_TLS_DTPMOD32
 ENUMX
-  BFD_RELOC_ARM_THUMB_IMM
+  BFD_RELOC_ARM_TLS_TPOFF32
 ENUMX
-  BFD_RELOC_ARM_THUMB_SHIFT
+  BFD_RELOC_ARM_TLS_IE32
 ENUMX
-  BFD_RELOC_ARM_THUMB_OFFSET
+  BFD_RELOC_ARM_TLS_LE32
+ENUMDOC
+  ARM thread-local storage relocations.
+
+ENUM
+  BFD_RELOC_ARM_IMMEDIATE
 ENUMX
-  BFD_RELOC_ARM_GOT12
+  BFD_RELOC_ARM_ADRL_IMMEDIATE
 ENUMX
-  BFD_RELOC_ARM_GOT32
+  BFD_RELOC_ARM_T32_IMMEDIATE
 ENUMX
-  BFD_RELOC_ARM_JUMP_SLOT
+  BFD_RELOC_ARM_SHIFT_IMM
 ENUMX
-  BFD_RELOC_ARM_COPY
+  BFD_RELOC_ARM_SMI
 ENUMX
-  BFD_RELOC_ARM_GLOB_DAT
+  BFD_RELOC_ARM_SWI
 ENUMX
-  BFD_RELOC_ARM_PLT32
+  BFD_RELOC_ARM_MULTI
 ENUMX
-  BFD_RELOC_ARM_RELATIVE
+  BFD_RELOC_ARM_CP_OFF_IMM
 ENUMX
-  BFD_RELOC_ARM_GOTOFF
+  BFD_RELOC_ARM_CP_OFF_IMM_S2
 ENUMX
-  BFD_RELOC_ARM_GOTPC
+  BFD_RELOC_ARM_ADR_IMM
 ENUMX
-  BFD_RELOC_ARM_TLS_GD32
+  BFD_RELOC_ARM_LDR_IMM
 ENUMX
-  BFD_RELOC_ARM_TLS_LDO32
+  BFD_RELOC_ARM_LITERAL
 ENUMX
-  BFD_RELOC_ARM_TLS_LDM32
+  BFD_RELOC_ARM_IN_POOL
 ENUMX
-  BFD_RELOC_ARM_TLS_DTPOFF32
+  BFD_RELOC_ARM_OFFSET_IMM8
 ENUMX
-  BFD_RELOC_ARM_TLS_DTPMOD32
+  BFD_RELOC_ARM_T32_OFFSET_U8
 ENUMX
-  BFD_RELOC_ARM_TLS_TPOFF32
+  BFD_RELOC_ARM_T32_OFFSET_IMM
 ENUMX
-  BFD_RELOC_ARM_TLS_IE32
+  BFD_RELOC_ARM_HWLITERAL
 ENUMX
-  BFD_RELOC_ARM_TLS_LE32
+  BFD_RELOC_ARM_THUMB_ADD
+ENUMX
+  BFD_RELOC_ARM_THUMB_IMM
+ENUMX
+  BFD_RELOC_ARM_THUMB_SHIFT
 ENUMDOC
   These relocs are only used within the ARM assembler.  They are not
   (at present) written to any object files.
-ENUM
-  BFD_RELOC_ARM_TARGET1
-ENUMDOC
-  Pc-relative or absolute relocation depending on target.  Used for
-  entries in .init_array sections.
-ENUM
-  BFD_RELOC_ARM_ROSEGREL32
-ENUMDOC
-  Read-only segment base relative address.
-ENUM
-  BFD_RELOC_ARM_SBREL32
-ENUMDOC
-  Data segment base relative address.
-ENUM
-  BFD_RELOC_ARM_TARGET2
-ENUMDOC
-  This reloc is used for References to RTTI dta from exception handling
-  tables.  The actual definition depends on the target.  It may be a
-  pc-relative or some form of GOT-indirect relocation.
-ENUM
-  BFD_RELOC_ARM_PREL31
-ENUMDOC
-  31-bit PC relative address.
 
 ENUM
   BFD_RELOC_SH_PCDISP8BY2
@@ -2917,16 +2952,6 @@ ENUMX
 ENUMDOC
   Renesas / SuperH SH relocs.  Not all of these appear in object files.
 
-ENUM
-  BFD_RELOC_THUMB_PCREL_BRANCH9
-ENUMX
-  BFD_RELOC_THUMB_PCREL_BRANCH12
-ENUMX
-  BFD_RELOC_THUMB_PCREL_BRANCH23
-ENUMDOC
-  Thumb 23-, 12- and 9-bit pc-relative branches.  The lowest bit must
-  be zero and is not stored in the instruction.
-
 ENUM
   BFD_RELOC_ARC_B22_PCREL
 ENUMDOC
This page took 0.029145 seconds and 4 git commands to generate.