bfd: microblaze: Add 32_NONE reloc type
authorNeal Frager <neal.frager@amd.com>
Tue, 17 Oct 2023 08:40:06 +0000 (09:40 +0100)
committerMichael J. Eager <eager@eagercon.com>
Fri, 20 Oct 2023 14:12:30 +0000 (07:12 -0700)
commitd605374748fef3d3b1dea713e78bbef9c8b0fb65
treee7f021bf23820d43871e1cca59c98534b8d49303
parent938459015cab4c4bc4965c78c62672b4f18d1d1b
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>
bfd/bfd-in2.h
bfd/elf32-microblaze.c
bfd/libbfd.h
bfd/reloc.c
binutils/readelf.c
gas/config/tc-microblaze.c
gas/testsuite/gas/microblaze/reloc_sym.d
gas/testsuite/gas/microblaze/reloc_weaksym.s
include/elf/microblaze.h