BFD_RELOC_SH_RELATIVE64,
BFD_RELOC_SH_GOT10BY4,
BFD_RELOC_SH_GOT10BY8,
+ BFD_RELOC_SH_GOT32,
BFD_RELOC_SH_GOTPLT10BY4,
BFD_RELOC_SH_GOTPLT10BY8,
BFD_RELOC_SH_GOTPLT32,
/* 16 bit GOT offset. */
BFD_RELOC_390_GOT16,
+ /* 32 bit GOT offset. */
+ BFD_RELOC_390_GOT32,
+
/* PC relative 12 bit shifted by 1. */
BFD_RELOC_390_PC12DBL,
return &elf_howto_table[(int) R_390_PC32];
case BFD_RELOC_390_GOT12:
return &elf_howto_table[(int) R_390_GOT12];
- case BFD_RELOC_32_GOT_PCREL:
+ case BFD_RELOC_390_GOT32:
return &elf_howto_table[(int) R_390_GOT32];
case BFD_RELOC_32_PLT_PCREL:
return &elf_howto_table[(int) R_390_PLT32];
{ BFD_RELOC_SH_TLS_DTPMOD32, R_SH_TLS_DTPMOD32 },
{ BFD_RELOC_SH_TLS_DTPOFF32, R_SH_TLS_DTPOFF32 },
{ BFD_RELOC_SH_TLS_TPOFF32, R_SH_TLS_TPOFF32 },
- { BFD_RELOC_32_GOT_PCREL, R_SH_GOT32 },
+ { BFD_RELOC_SH_GOT32, R_SH_GOT32 },
{ BFD_RELOC_32_PLT_PCREL, R_SH_PLT32 },
{ BFD_RELOC_COPY, R_SH_COPY },
{ BFD_RELOC_GLOB_DAT, R_SH_GLOB_DAT },
return &elf_howto_table[(int) R_390_PC32];
case BFD_RELOC_390_GOT12:
return &elf_howto_table[(int) R_390_GOT12];
- case BFD_RELOC_32_GOT_PCREL:
+ case BFD_RELOC_390_GOT32:
return &elf_howto_table[(int) R_390_GOT32];
case BFD_RELOC_32_PLT_PCREL:
return &elf_howto_table[(int) R_390_PLT32];
"BFD_RELOC_SH_RELATIVE64",
"BFD_RELOC_SH_GOT10BY4",
"BFD_RELOC_SH_GOT10BY8",
+ "BFD_RELOC_SH_GOT32",
"BFD_RELOC_SH_GOTPLT10BY4",
"BFD_RELOC_SH_GOTPLT10BY8",
"BFD_RELOC_SH_GOTPLT32",
"BFD_RELOC_390_GOT12",
"BFD_RELOC_390_GOTPC",
"BFD_RELOC_390_GOT16",
+ "BFD_RELOC_390_GOT32",
"BFD_RELOC_390_PC12DBL",
"BFD_RELOC_390_PLT12DBL",
"BFD_RELOC_390_PC16DBL",
BFD_RELOC_SH_GOT10BY4
ENUMX
BFD_RELOC_SH_GOT10BY8
+ENUMX
+ BFD_RELOC_SH_GOT32
ENUMX
BFD_RELOC_SH_GOTPLT10BY4
ENUMX
BFD_RELOC_390_GOT16
ENUMDOC
16 bit GOT offset.
+ENUM
+ BFD_RELOC_390_GOT32
+ENUMDOC
+ 32 bit GOT offset.
ENUM
BFD_RELOC_390_PC12DBL
ENUMDOC
if (nbytes == 2)
reloc = BFD_RELOC_390_GOT16;
else if (nbytes == 4)
- reloc = BFD_RELOC_32_GOT_PCREL;
+ reloc = BFD_RELOC_390_GOT32;
else if (nbytes == 8)
reloc = BFD_RELOC_390_GOT64;
}
static bfd_reloc_code_real_type tab4[] =
{
BFD_RELOC_UNUSED, /* ELF_SUFFIX_NONE */
- BFD_RELOC_32_GOT_PCREL, /* ELF_SUFFIX_GOT */
+ BFD_RELOC_390_GOT32, /* ELF_SUFFIX_GOT */
BFD_RELOC_32_PLT_PCREL, /* ELF_SUFFIX_PLT */
BFD_RELOC_UNUSED, /* ELF_SUFFIX_GOTENT */
BFD_RELOC_32_GOTOFF, /* ELF_SUFFIX_GOTOFF */
|| fixP->fx_r_type == BFD_RELOC_390_GOT12
|| fixP->fx_r_type == BFD_RELOC_390_GOT20
|| fixP->fx_r_type == BFD_RELOC_390_GOT16
- || fixP->fx_r_type == BFD_RELOC_32_GOT_PCREL
+ || fixP->fx_r_type == BFD_RELOC_390_GOT32
|| fixP->fx_r_type == BFD_RELOC_390_GOT64
|| fixP->fx_r_type == BFD_RELOC_390_GOTENT
|| fixP->fx_r_type == BFD_RELOC_390_GOTPLT12
{
case BFD_RELOC_390_GOT12:
case BFD_RELOC_390_GOT20:
- case BFD_RELOC_32_GOT_PCREL:
+ case BFD_RELOC_390_GOT32:
case BFD_RELOC_32_GOTOFF:
case BFD_RELOC_64_GOTOFF:
case BFD_RELOC_390_PLTOFF16:
if (fixP->fx_done)
md_number_to_chars (where, value, 4);
break;
- case BFD_RELOC_32_GOT_PCREL:
+ case BFD_RELOC_390_GOT32:
case BFD_RELOC_390_PLTOFF32:
case BFD_RELOC_32_PLT_PCREL:
case BFD_RELOC_390_GOTPLT32:
case BFD_RELOC_SH_DISP20:
switch (exp->X_md)
{
- case BFD_RELOC_32_GOT_PCREL:
+ case BFD_RELOC_SH_GOT32:
*r_type_p = BFD_RELOC_SH_GOT20;
break;
sh_fix_adjustable (fixS *fixP)
{
if (fixP->fx_r_type == BFD_RELOC_32_PLT_PCREL
- || fixP->fx_r_type == BFD_RELOC_32_GOT_PCREL
+ || fixP->fx_r_type == BFD_RELOC_SH_GOT32
|| fixP->fx_r_type == BFD_RELOC_SH_GOT20
|| fixP->fx_r_type == BFD_RELOC_SH_GOTPC
|| fixP->fx_r_type == BFD_RELOC_SH_GOTFUNCDESC
case BFD_RELOC_SH_TLS_IE_32:
S_SET_THREAD_LOCAL (fixP->fx_addsy);
/* Fallthrough */
- case BFD_RELOC_32_GOT_PCREL:
+ case BFD_RELOC_SH_GOT32:
case BFD_RELOC_SH_GOT20:
case BFD_RELOC_SH_GOTPLT32:
case BFD_RELOC_SH_GOTFUNCDESC:
else if ((next_end = sh_end_of_match (next + 1, "GOTPLT")))
reloc_type = BFD_RELOC_SH_GOTPLT32;
else if ((next_end = sh_end_of_match (next + 1, "GOT")))
- reloc_type = BFD_RELOC_32_GOT_PCREL;
+ reloc_type = BFD_RELOC_SH_GOT32;
else if ((next_end = sh_end_of_match (next + 1, "PLT")))
reloc_type = BFD_RELOC_32_PLT_PCREL;
else if ((next_end = sh_end_of_match (next + 1, "TLSGD")))
#define TC_FORCE_RELOCATION_LOCAL(FIX) \
(GENERIC_FORCE_RELOCATION_LOCAL (FIX) \
|| (FIX)->fx_r_type == BFD_RELOC_32_PLT_PCREL \
- || (FIX)->fx_r_type == BFD_RELOC_32_GOT_PCREL \
+ || (FIX)->fx_r_type == BFD_RELOC_SH_GOT32 \
|| (FIX)->fx_r_type == BFD_RELOC_SH_GOTPC)
#define TC_FORCE_RELOCATION_SUB_LOCAL(FIX, SEG) \