aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNeal Frager <neal.frager@amd.com>2023-10-17 09:40:06 +0100
committerMichael J. Eager <eager@eagercon.com>2023-10-20 07:12:30 -0700
commitd605374748fef3d3b1dea713e78bbef9c8b0fb65 (patch)
treee7f021bf23820d43871e1cca59c98534b8d49303 /include
parent938459015cab4c4bc4965c78c62672b4f18d1d1b (diff)
downloadgdb-d605374748fef3d3b1dea713e78bbef9c8b0fb65.zip
gdb-d605374748fef3d3b1dea713e78bbef9c8b0fb65.tar.gz
gdb-d605374748fef3d3b1dea713e78bbef9c8b0fb65.tar.bz2
bfd: microblaze: Add 32_NONE reloc type
This patch adds the R_MICROBLAZE_32_NONE relocation type. This is a 32-bit reloc that stores the 32-bit pc relative value in two words (with an imm instruction). Add test case to gas test suite. Signed-off-by: Neal Frager <neal.frager@amd.com> Signed-off-by: Michael J. Eager <eager@eagercon.com>
Diffstat (limited to 'include')
-rw-r--r--include/elf/microblaze.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/elf/microblaze.h b/include/elf/microblaze.h
index fecdd7e..164b36d 100644
--- a/include/elf/microblaze.h
+++ b/include/elf/microblaze.h
@@ -61,6 +61,7 @@ START_RELOC_NUMBERS (elf_microblaze_reloc_type)
RELOC_NUMBER (R_MICROBLAZE_TEXTPCREL_64, 30) /* PC-relative TEXT offset. */
RELOC_NUMBER (R_MICROBLAZE_TEXTREL_64, 31) /* TEXT Entry offset 64-bit. */
RELOC_NUMBER (R_MICROBLAZE_TEXTREL_32_LO, 32) /* TEXT Entry offset 32-bit. */
+ RELOC_NUMBER (R_MICROBLAZE_32_NONE, 33)
END_RELOC_NUMBERS (R_MICROBLAZE_max)
/* Global base address names. */