forked from Imagelibrary/binutils-gdb
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>
This commit is contained in:
committed by
Michael J. Eager
parent
938459015c
commit
d605374748
@@ -15279,6 +15279,10 @@ is_8bit_abs_reloc (Filedata * filedata, unsigned int reloc_type)
|
||||
return reloc_type == 54; /* R_RISCV_SET8. */
|
||||
case EM_Z80:
|
||||
return reloc_type == 1; /* R_Z80_8. */
|
||||
case EM_MICROBLAZE:
|
||||
return (reloc_type == 33 /* R_MICROBLAZE_32_NONE. */
|
||||
|| reloc_type == 0 /* R_MICROBLAZE_NONE. */
|
||||
|| reloc_type == 9 /* R_MICROBLAZE_64_NONE. */);
|
||||
default:
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user