summaryrefslogtreecommitdiff
path: root/bfd/reloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'bfd/reloc.c')
-rw-r--r--bfd/reloc.c71
1 files changed, 69 insertions, 2 deletions
diff --git a/bfd/reloc.c b/bfd/reloc.c
index f83dac2782a..6ac71489023 100644
--- a/bfd/reloc.c
+++ b/bfd/reloc.c
@@ -2177,9 +2177,10 @@ ENUMDOC
ENUM
BFD_RELOC_MIPS_JMP
+ENUMX
+ BFD_RELOC_MICROMIPS_JMP
ENUMDOC
- Bits 27..2 of the relocation address shifted right 2 bits;
- simple reloc otherwise.
+ The MIPS jump instruction.
ENUM
BFD_RELOC_MIPS16_JMP
@@ -2195,6 +2196,7 @@ ENUM
BFD_RELOC_HI16
ENUMDOC
High 16 bits of 32-bit value; simple reloc.
+
ENUM
BFD_RELOC_HI16_S
ENUMDOC
@@ -2202,6 +2204,7 @@ ENUMDOC
extended and added to form the final result. If the low 16
bits form a negative number, we need to add one to the high value
to compensate for the borrow when the low bits are added.
+
ENUM
BFD_RELOC_LO16
ENUMDOC
@@ -2245,30 +2248,72 @@ ENUMDOC
ENUM
BFD_RELOC_MIPS_LITERAL
+ENUMX
+ BFD_RELOC_MICROMIPS_LITERAL
ENUMDOC
Relocation against a MIPS literal section.
ENUM
+ BFD_RELOC_MICROMIPS_7_PCREL_S1
+ENUMX
+ BFD_RELOC_MICROMIPS_10_PCREL_S1
+ENUMX
+ BFD_RELOC_MICROMIPS_16_PCREL_S1
+ENUMDOC
+ microMIPS PC-relative relocations.
+
+ENUM
+ BFD_RELOC_MICROMIPS_GPREL16
+ENUMX
+ BFD_RELOC_MICROMIPS_HI16
+ENUMX
+ BFD_RELOC_MICROMIPS_HI16_S
+ENUMX
+ BFD_RELOC_MICROMIPS_LO16
+ENUMDOC
+ microMIPS versions of generic BFD relocs.
+
+ENUM
BFD_RELOC_MIPS_GOT16
ENUMX
+ BFD_RELOC_MICROMIPS_GOT16
+ENUMX
BFD_RELOC_MIPS_CALL16
ENUMX
+ BFD_RELOC_MICROMIPS_CALL16
+ENUMX
BFD_RELOC_MIPS_GOT_HI16
ENUMX
+ BFD_RELOC_MICROMIPS_GOT_HI16
+ENUMX
BFD_RELOC_MIPS_GOT_LO16
ENUMX
+ BFD_RELOC_MICROMIPS_GOT_LO16
+ENUMX
BFD_RELOC_MIPS_CALL_HI16
ENUMX
+ BFD_RELOC_MICROMIPS_CALL_HI16
+ENUMX
BFD_RELOC_MIPS_CALL_LO16
ENUMX
+ BFD_RELOC_MICROMIPS_CALL_LO16
+ENUMX
BFD_RELOC_MIPS_SUB
ENUMX
+ BFD_RELOC_MICROMIPS_SUB
+ENUMX
BFD_RELOC_MIPS_GOT_PAGE
ENUMX
+ BFD_RELOC_MICROMIPS_GOT_PAGE
+ENUMX
BFD_RELOC_MIPS_GOT_OFST
ENUMX
+ BFD_RELOC_MICROMIPS_GOT_OFST
+ENUMX
BFD_RELOC_MIPS_GOT_DISP
ENUMX
+ BFD_RELOC_MICROMIPS_GOT_DISP
+ENUMX
BFD_RELOC_MIPS_SHIFT5
ENUMX
BFD_RELOC_MIPS_SHIFT6
@@ -2281,16 +2326,24 @@ ENUMX
ENUMX
BFD_RELOC_MIPS_HIGHEST
ENUMX
+ BFD_RELOC_MICROMIPS_HIGHEST
+ENUMX
BFD_RELOC_MIPS_HIGHER
ENUMX
+ BFD_RELOC_MICROMIPS_HIGHER
+ENUMX
BFD_RELOC_MIPS_SCN_DISP
ENUMX
+ BFD_RELOC_MICROMIPS_SCN_DISP
+ENUMX
BFD_RELOC_MIPS_REL16
ENUMX
BFD_RELOC_MIPS_RELGOT
ENUMX
BFD_RELOC_MIPS_JALR
ENUMX
+ BFD_RELOC_MICROMIPS_JALR
+ENUMX
BFD_RELOC_MIPS_TLS_DTPMOD32
ENUMX
BFD_RELOC_MIPS_TLS_DTPREL32
@@ -2301,21 +2354,35 @@ ENUMX
ENUMX
BFD_RELOC_MIPS_TLS_GD
ENUMX
+ BFD_RELOC_MICROMIPS_TLS_GD
+ENUMX
BFD_RELOC_MIPS_TLS_LDM
ENUMX
+ BFD_RELOC_MICROMIPS_TLS_LDM
+ENUMX
BFD_RELOC_MIPS_TLS_DTPREL_HI16
ENUMX
+ BFD_RELOC_MICROMIPS_TLS_DTPREL_HI16
+ENUMX
BFD_RELOC_MIPS_TLS_DTPREL_LO16
ENUMX
+ BFD_RELOC_MICROMIPS_TLS_DTPREL_LO16
+ENUMX
BFD_RELOC_MIPS_TLS_GOTTPREL
ENUMX
+ BFD_RELOC_MICROMIPS_TLS_GOTTPREL
+ENUMX
BFD_RELOC_MIPS_TLS_TPREL32
ENUMX
BFD_RELOC_MIPS_TLS_TPREL64
ENUMX
BFD_RELOC_MIPS_TLS_TPREL_HI16
ENUMX
+ BFD_RELOC_MICROMIPS_TLS_TPREL_HI16
+ENUMX
BFD_RELOC_MIPS_TLS_TPREL_LO16
+ENUMX
+ BFD_RELOC_MICROMIPS_TLS_TPREL_LO16
ENUMDOC
MIPS ELF relocations.
COMMENT