{
static bfd_reloc_code_real_type tab2[] =
{
- [ELF_SUFFIX_NONE] BFD_RELOC_UNUSED ,
- [ELF_SUFFIX_GOT] BFD_RELOC_390_GOT16,
- [ELF_SUFFIX_PLT] BFD_RELOC_UNUSED,
- [ELF_SUFFIX_GOTENT] BFD_RELOC_UNUSED,
- [ELF_SUFFIX_GOTOFF] BFD_RELOC_16_GOTOFF,
- [ELF_SUFFIX_GOTPLT] BFD_RELOC_UNUSED,
- [ELF_SUFFIX_PLTOFF] BFD_RELOC_390_PLTOFF16,
- [ELF_SUFFIX_TLS_GD] BFD_RELOC_UNUSED,
- [ELF_SUFFIX_TLS_GOTIE] BFD_RELOC_UNUSED,
- [ELF_SUFFIX_TLS_IE] BFD_RELOC_UNUSED,
- [ELF_SUFFIX_TLS_LDM] BFD_RELOC_UNUSED,
- [ELF_SUFFIX_TLS_LDO] BFD_RELOC_UNUSED,
- [ELF_SUFFIX_TLS_LE] BFD_RELOC_UNUSED,
+ BFD_RELOC_UNUSED, /* ELF_SUFFIX_NONE */
+ BFD_RELOC_390_GOT16, /* ELF_SUFFIX_GOT */
+ BFD_RELOC_UNUSED, /* ELF_SUFFIX_PLT */
+ BFD_RELOC_UNUSED, /* ELF_SUFFIX_GOTENT */
+ BFD_RELOC_16_GOTOFF, /* ELF_SUFFIX_GOTOFF */
+ BFD_RELOC_UNUSED, /* ELF_SUFFIX_GOTPLT */
+ BFD_RELOC_390_PLTOFF16, /* ELF_SUFFIX_PLTOFF */
+ BFD_RELOC_UNUSED, /* ELF_SUFFIX_TLS_GD */
+ BFD_RELOC_UNUSED, /* ELF_SUFFIX_TLS_GOTIE */
+ BFD_RELOC_UNUSED, /* ELF_SUFFIX_TLS_IE */
+ BFD_RELOC_UNUSED, /* ELF_SUFFIX_TLS_LDM */
+ BFD_RELOC_UNUSED, /* ELF_SUFFIX_TLS_LDO */
+ BFD_RELOC_UNUSED /* ELF_SUFFIX_TLS_LE */
};
reloc = tab2[suffix];
}
{
static bfd_reloc_code_real_type tab4[] =
{
- [ELF_SUFFIX_NONE] BFD_RELOC_UNUSED ,
- [ELF_SUFFIX_GOT] BFD_RELOC_32_GOT_PCREL,
- [ELF_SUFFIX_PLT] BFD_RELOC_390_PLT32,
- [ELF_SUFFIX_GOTENT] BFD_RELOC_UNUSED,
- [ELF_SUFFIX_GOTOFF] BFD_RELOC_32_GOTOFF,
- [ELF_SUFFIX_GOTPLT] BFD_RELOC_390_GOTPLT32,
- [ELF_SUFFIX_PLTOFF] BFD_RELOC_390_PLTOFF32,
- [ELF_SUFFIX_TLS_GD] BFD_RELOC_390_TLS_GD32,
- [ELF_SUFFIX_TLS_GOTIE] BFD_RELOC_390_TLS_GOTIE32,
- [ELF_SUFFIX_TLS_IE] BFD_RELOC_390_TLS_IE32,
- [ELF_SUFFIX_TLS_LDM] BFD_RELOC_390_TLS_LDM32,
- [ELF_SUFFIX_TLS_LDO] BFD_RELOC_390_TLS_LDO32,
- [ELF_SUFFIX_TLS_LE] BFD_RELOC_390_TLS_LE32,
+ BFD_RELOC_UNUSED, /* ELF_SUFFIX_NONE */
+ BFD_RELOC_32_GOT_PCREL, /* ELF_SUFFIX_GOT */
+ BFD_RELOC_390_PLT32, /* ELF_SUFFIX_PLT */
+ BFD_RELOC_UNUSED, /* ELF_SUFFIX_GOTENT */
+ BFD_RELOC_32_GOTOFF, /* ELF_SUFFIX_GOTOFF */
+ BFD_RELOC_390_GOTPLT32, /* ELF_SUFFIX_GOTPLT */
+ BFD_RELOC_390_PLTOFF32, /* ELF_SUFFIX_PLTOFF */
+ BFD_RELOC_390_TLS_GD32, /* ELF_SUFFIX_TLS_GD */
+ BFD_RELOC_390_TLS_GOTIE32, /* ELF_SUFFIX_TLS_GOTIE */
+ BFD_RELOC_390_TLS_IE32, /* ELF_SUFFIX_TLS_IE */
+ BFD_RELOC_390_TLS_LDM32, /* ELF_SUFFIX_TLS_LDM */
+ BFD_RELOC_390_TLS_LDO32, /* ELF_SUFFIX_TLS_LDO */
+ BFD_RELOC_390_TLS_LE32 /* ELF_SUFFIX_TLS_LE */
};
reloc = tab4[suffix];
}
{
static bfd_reloc_code_real_type tab8[] =
{
- [ELF_SUFFIX_NONE] BFD_RELOC_UNUSED ,
- [ELF_SUFFIX_GOT] BFD_RELOC_390_GOT64,
- [ELF_SUFFIX_PLT] BFD_RELOC_390_PLT64,
- [ELF_SUFFIX_GOTENT] BFD_RELOC_UNUSED,
- [ELF_SUFFIX_GOTOFF] BFD_RELOC_390_GOTOFF64,
- [ELF_SUFFIX_GOTPLT] BFD_RELOC_390_GOTPLT64,
- [ELF_SUFFIX_PLTOFF] BFD_RELOC_390_PLTOFF64,
- [ELF_SUFFIX_TLS_GD] BFD_RELOC_390_TLS_GD64,
- [ELF_SUFFIX_TLS_GOTIE] BFD_RELOC_390_TLS_GOTIE64,
- [ELF_SUFFIX_TLS_IE] BFD_RELOC_390_TLS_IE64,
- [ELF_SUFFIX_TLS_LDM] BFD_RELOC_390_TLS_LDM64,
- [ELF_SUFFIX_TLS_LDO] BFD_RELOC_390_TLS_LDO64,
- [ELF_SUFFIX_TLS_LE] BFD_RELOC_390_TLS_LE64,
+ BFD_RELOC_UNUSED, /* ELF_SUFFIX_NONE */
+ BFD_RELOC_390_GOT64, /* ELF_SUFFIX_GOT */
+ BFD_RELOC_390_PLT64, /* ELF_SUFFIX_PLT */
+ BFD_RELOC_UNUSED, /* ELF_SUFFIX_GOTENT */
+ BFD_RELOC_390_GOTOFF64, /* ELF_SUFFIX_GOTOFF */
+ BFD_RELOC_390_GOTPLT64, /* ELF_SUFFIX_GOTPLT */
+ BFD_RELOC_390_PLTOFF64, /* ELF_SUFFIX_PLTOFF */
+ BFD_RELOC_390_TLS_GD64, /* ELF_SUFFIX_TLS_GD */
+ BFD_RELOC_390_TLS_GOTIE64, /* ELF_SUFFIX_TLS_GOTIE */
+ BFD_RELOC_390_TLS_IE64, /* ELF_SUFFIX_TLS_IE */
+ BFD_RELOC_390_TLS_LDM64, /* ELF_SUFFIX_TLS_LDM */
+ BFD_RELOC_390_TLS_LDO64, /* ELF_SUFFIX_TLS_LDO */
+ BFD_RELOC_390_TLS_LE64 /* ELF_SUFFIX_TLS_LE */
};
reloc = tab8[suffix];
}