summaryrefslogtreecommitdiff
path: root/bfd/reloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'bfd/reloc.c')
-rw-r--r--bfd/reloc.c117
1 files changed, 37 insertions, 80 deletions
diff --git a/bfd/reloc.c b/bfd/reloc.c
index 8e1dee5911d..b5e635eb0e4 100644
--- a/bfd/reloc.c
+++ b/bfd/reloc.c
@@ -3183,13 +3183,13 @@ ENUM
BFD_RELOC_ARC_S21H_PCREL
ENUMDOC
ARCompact 21 bit pc-relative branch. The lowest bit must be zero and is
- not stored in the instruction. The remaining 20 bits are installed in
- 2 groups of 10 bits each. The high 10 bits are installed in bits 26
+ not stored in the instruction. The remaining 20 bits are installed in
+ 2 groups of 10 bits each. The high 10 bits are installed in bits 26
through 17 and the remaining 10 bits in bits 15 through 6.
ENUM
BFD_RELOC_ARC_S21W_PCREL
ENUMDOC
- ARCompact 21 bit pc-relative branch. The lowest two bits must be zero and
+ ARCompact 21 bit pc-relative branch. The lowest two bits must be zero and
are not stored in the instruction. The remaining 19 bits are installed in
2 groups of 9 and 10 bits each. The high 9 bits are installed in bits 26
through 18 and the remaining 10 bits in bits 15 through 6.
@@ -3197,9 +3197,9 @@ ENUM
BFD_RELOC_ARC_S25H_PCREL
ENUMDOC
ARCompact 25 bit pc-relative branch. The lowest bit must be zero and is
- not stored in the instruction. The remaining 24 bits are installed in
+ not stored in the instruction. The remaining 24 bits are installed in
3 groups of 10 bits, 10 bits and 4 bits each. The high 10 bits are
- installed in bits 26 through 17, next 10 bits in bits 15 through 6 and the
+ installed in bits 26 through 17, next 10 bits in bits 15 through 6 and the
remaining 4 bits in bits 3 through 0.
ENUM
BFD_RELOC_ARC_S25W_PCREL
@@ -3218,99 +3218,56 @@ ENUMDOC
ENUM
BFD_RELOC_ARC_32_ME
ENUMDOC
- ARCompact Middle-endian 32 bit word relocation
+ ARCompact Middle-endian 32 bit word relocation.
ENUM
- BFD_RELOC_ARC_PC32
+ BFD_RELOC_ARC_PC32
ENUMDOC
- ARCompact PC Relative 32 bit relocation.
-ENUM
- BFD_RELOC_ARC_GOTPC32
-ENUMDOC
- ARC 700 GOT specific relocation. This computes the distance from the current
-pcl to the symbol's global offset table entry.
-ENUM
- BFD_RELOC_ARC_PLT32
-ENUMDOC
- ARC 700 PLT specific relocation. This computes the distance from the base
-of the PLT to the symbols PLT entry.
-ENUM
- BFD_RELOC_ARC_COPY
-ENUMDOC
- ARC 700 Copy relocation. This refers to a location in the writable segment
-and during execution the dynamic linker copies data associated with the shared
-objects symbol to the location specified by the offset. Created for
-dynamic linking by the linker .
-ENUM
-BFD_RELOC_ARC_GLOB_DAT
-ENUMDOC
- ARC 700 Global Data relocaton.This is to set a GOT entry to the address
-of the specified symbol . This allows one to determine the correspondence
-between symbols and GOT entries.
-ENUM
-BFD_RELOC_ARC_JMP_SLOT
-ENUMDOC
- This gives the location of a PLT entrys GOT entry. The dynamic linker
-modifies the GOT entry so that the PLT will transfer control to the designated
-symbols address. Created by the linker.
-ENUM
-BFD_RELOC_ARC_RELATIVE
-ENUMDOC
- This gives the location of a value representing a relative address.
-The dynamic linker adds the load address of the shared library to
-the relative address to compute the final address.
-ENUM
-BFD_RELOC_ARC_GOTOFF
-ENUMDOC
-This gives the difference between a symbols value and the address of the
-Global Offset Table This causes the linker to build the GOT.
-ENUM
-BFD_RELOC_ARC_GOTPC
-ENUMDOC
-This gives the difference between the address of the GOT base and the
-current PC. The symbol referenced is _GLOBAL_OFFSET_TABLE .
-ENUM
-BFD_RELOC_ARC_GOT32
-ENUMDOC
-ARC 700 GOT specific relocation. This computes the distance from the base
-of the GOT to the symbol's global offset table entry.
-ENUM
-BFD_RELOC_ARC_SDA
-ENUMDOC
-small data reloc 1
+ ARCompact PC Relative 32 bit relocation.
ENUM
-BFD_RELOC_ARC_SDA32
+ BFD_RELOC_ARC_GOTPC32
ENUMDOC
-small data reloc 2
+ ARC 700 GOT specific relocation. This computes the distance from the current
+ pcl value to the symbol's global offset table entry.
ENUM
-BFD_RELOC_ARC_SDA_LDST
+ BFD_RELOC_ARC_PLT32
ENUMDOC
-small data reloc 3
+ ARC 700 PLT specific relocation. This computes the distance from the base
+ of the PLT to the symbols PLT entry.
ENUM
-BFD_RELOC_ARC_SDA_LDST1
+ BFD_RELOC_ARC_COPY
ENUMDOC
-small data reloc 4
+ ARC 700 Copy relocation. This refers to a location in the writable segment
+ and during execution the dynamic linker copies data associated with the shared
+ objects symbol to the location specified by the offset. Created for
+ dynamic linking by the linker.
ENUM
-BFD_RELOC_ARC_SDA_LDST2
+ BFD_RELOC_ARC_GLOB_DAT
ENUMDOC
-small data reloc 5
+ ARC 700 Global Data relocaton.This is to set a GOT entry to the address
+ of the specified symbol . This allows one to determine the correspondence
+ between symbols and GOT entries.
ENUM
-BFD_RELOC_ARC_SDA16_LD
+ BFD_RELOC_ARC_JMP_SLOT
ENUMDOC
-small data reloc 6
+ This gives the location of a PLT entrys GOT entry. The dynamic linker
+ modifies the GOT entry so that the PLT will transfer control to the designated
+ symbols address. Created by the linker.
ENUM
-BFD_RELOC_ARC_SDA16_LD1
+ BFD_RELOC_ARC_RELATIVE
ENUMDOC
-small data reloc 7
+ This gives the location of a value representing a relative address.
+ The dynamic linker adds the load address of the shared library to
+ the relative address to compute the final address.
ENUM
-BFD_RELOC_ARC_SDA16_LD2
+ BFD_RELOC_ARC_GOTOFF
ENUMDOC
-small data reloc 8
+ This gives the difference between a symbols value and the address of the
+ Global Offset Table This causes the linker to build the GOT.
ENUM
-BFD_RELOC_ARC_SDA32_ME
+ BFD_RELOC_ARC_GOTPC
ENUMDOC
-small data reloc 9
-COMMENT
-
+ This gives the difference between the address of the GOT base and the
+ current PC. The symbol referenced is _GLOBAL_OFFSET_TABLE.
ENUM
BFD_RELOC_BFIN_16_IMM
ENUMDOC