diff options
author | Neal Frager <neal.frager@amd.com> | 2023-10-17 09:40:06 +0100 |
---|---|---|
committer | Michael J. Eager <eager@eagercon.com> | 2023-10-20 07:12:30 -0700 |
commit | d605374748fef3d3b1dea713e78bbef9c8b0fb65 (patch) | |
tree | e7f021bf23820d43871e1cca59c98534b8d49303 /bfd/bfd-in2.h | |
parent | 938459015cab4c4bc4965c78c62672b4f18d1d1b (diff) | |
download | binutils-d605374748fef3d3b1dea713e78bbef9c8b0fb65.zip binutils-d605374748fef3d3b1dea713e78bbef9c8b0fb65.tar.gz binutils-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 'bfd/bfd-in2.h')
-rw-r--r-- | bfd/bfd-in2.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/bfd/bfd-in2.h b/bfd/bfd-in2.h index c1fe48b..3d7dbf6 100644 --- a/bfd/bfd-in2.h +++ b/bfd/bfd-in2.h @@ -6463,6 +6463,11 @@ value relative to the read-write small data area anchor */ expressions of the form "Symbol Op Symbol" */ BFD_RELOC_MICROBLAZE_32_SYM_OP_SYM, +/* This is a 32 bit reloc that stores the 32 bit pc relative +value in two words (with an imm instruction).No relocation is +done here - only used for relaxing */ + BFD_RELOC_MICROBLAZE_32_NONE, + /* This is a 64 bit reloc that stores the 32 bit pc relative value in two words (with an imm instruction). No relocation is done here - only used for relaxing */ |