]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
bfd/ELF: fold BFD_RELOC_<arch>_GLOB_DAT
authorJan Beulich <jbeulich@suse.com>
Mon, 15 Dec 2025 10:28:50 +0000 (11:28 +0100)
committerJan Beulich <jbeulich@suse.com>
Mon, 15 Dec 2025 10:28:50 +0000 (11:28 +0100)
There's no need to have a separate reloc per arch; just like for other
more or less generic ones a single one will (mostly) do. Arm64, C-Sky,
and KVX - sadly - are exceptions.

29 files changed:
bfd/bfd-in2.h
bfd/elf-m10300.c
bfd/elf32-arc.c
bfd/elf32-arm.c
bfd/elf32-cr16.c
bfd/elf32-cris.c
bfd/elf32-i386.c
bfd/elf32-lm32.c
bfd/elf32-m32r.c
bfd/elf32-m68k.c
bfd/elf32-metag.c
bfd/elf32-nds32.c
bfd/elf32-or1k.c
bfd/elf32-ppc.c
bfd/elf32-s390.c
bfd/elf32-sh.c
bfd/elf32-tilepro.c
bfd/elf32-v850.c
bfd/elf32-vax.c
bfd/elf32-xtensa.c
bfd/elf64-ppc.c
bfd/elf64-s390.c
bfd/elf64-x86-64.c
bfd/elfxx-sparc.c
bfd/elfxx-tilegx.c
bfd/libbfd.h
bfd/reloc.c
gas/config/tc-ppc.c
include/elf/cris.h

index 403413574dff61ca1b46f7777e5bc82a9193887f..969c9934e090a348eac9d1ef64d97a2409984bc5 100644 (file)
@@ -3324,6 +3324,7 @@ enum bfd_reloc_code_real
   BFD_RELOC_HI16_S_PLTOFF,
   BFD_RELOC_8_PLTOFF,
   BFD_RELOC_COPY,
+  BFD_RELOC_GLOB_DAT,
   BFD_RELOC_IRELATIVE,
 
   /* Size relocations.  */
@@ -3331,7 +3332,6 @@ enum bfd_reloc_code_real
   BFD_RELOC_SIZE64,
 
   /* Relocations used by 68K ELF.  */
-  BFD_RELOC_68K_GLOB_DAT,
   BFD_RELOC_68K_JMP_SLOT,
   BFD_RELOC_68K_RELATIVE,
   BFD_RELOC_68K_TLS_GD32,
@@ -3396,7 +3396,6 @@ enum bfd_reloc_code_real
   BFD_RELOC_SPARC_PC10,
   BFD_RELOC_SPARC_PC22,
   BFD_RELOC_SPARC_WPLT30,
-  BFD_RELOC_SPARC_GLOB_DAT,
   BFD_RELOC_SPARC_JMP_SLOT,
   BFD_RELOC_SPARC_RELATIVE,
   BFD_RELOC_SPARC_UA16,
@@ -3799,9 +3798,6 @@ enum bfd_reloc_code_real
      bytes in the instruction.  */
   BFD_RELOC_MN10300_GOT16,
 
-  /* Create GOT entry.  */
-  BFD_RELOC_MN10300_GLOB_DAT,
-
   /* Create PLT entry.  */
   BFD_RELOC_MN10300_JMP_SLOT,
 
@@ -3839,7 +3835,6 @@ enum bfd_reloc_code_real
   /* i386/elf relocations.  */
   BFD_RELOC_386_GOT32,
   BFD_RELOC_386_PLT32,
-  BFD_RELOC_386_GLOB_DAT,
   BFD_RELOC_386_JUMP_SLOT,
   BFD_RELOC_386_RELATIVE,
   BFD_RELOC_386_GOTOFF,
@@ -3863,7 +3858,6 @@ enum bfd_reloc_code_real
 
   /* x86-64/elf relocations.  */
   BFD_RELOC_X86_64_GOT32,
-  BFD_RELOC_X86_64_GLOB_DAT,
   BFD_RELOC_X86_64_JUMP_SLOT,
   BFD_RELOC_X86_64_RELATIVE,
   BFD_RELOC_X86_64_GOTPCREL,
@@ -3937,7 +3931,6 @@ enum bfd_reloc_code_real
   BFD_RELOC_PPC_BA16,
   BFD_RELOC_PPC_BA16_BRTAKEN,
   BFD_RELOC_PPC_BA16_BRNTAKEN,
-  BFD_RELOC_PPC_GLOB_DAT,
   BFD_RELOC_PPC_JMP_SLOT,
   BFD_RELOC_PPC_RELATIVE,
   BFD_RELOC_PPC_LOCAL24PC,
@@ -4196,7 +4189,6 @@ enum bfd_reloc_code_real
 
   /* Relocations for setting up GOTs and PLTs for shared libraries.  */
   BFD_RELOC_ARM_JUMP_SLOT,
-  BFD_RELOC_ARM_GLOB_DAT,
   BFD_RELOC_ARM_GOT32,
   BFD_RELOC_ARM_RELATIVE,
   BFD_RELOC_ARM_GOTOFF,
@@ -4317,7 +4309,6 @@ enum bfd_reloc_code_real
   BFD_RELOC_SH_LABEL,
   BFD_RELOC_SH_LOOP_START,
   BFD_RELOC_SH_LOOP_END,
-  BFD_RELOC_SH_GLOB_DAT,
   BFD_RELOC_SH_JMP_SLOT,
   BFD_RELOC_SH_RELATIVE,
   BFD_RELOC_SH_GOTPC,
@@ -4427,7 +4418,6 @@ enum bfd_reloc_code_real
   BFD_RELOC_ARC_32_PCREL,
   BFD_RELOC_ARC_GOT32,
   BFD_RELOC_ARC_GOTPC32,
-  BFD_RELOC_ARC_GLOB_DAT,
   BFD_RELOC_ARC_JMP_SLOT,
   BFD_RELOC_ARC_RELATIVE,
   BFD_RELOC_ARC_GOTOFF,
@@ -4668,7 +4658,6 @@ enum bfd_reloc_code_real
   /* For PIC.  */
   BFD_RELOC_M32R_GOT24,
   BFD_RELOC_M32R_26_PLTREL,
-  BFD_RELOC_M32R_GLOB_DAT,
   BFD_RELOC_M32R_JMP_SLOT,
   BFD_RELOC_M32R_RELATIVE,
   BFD_RELOC_M32R_GOTOFF,
@@ -4764,7 +4753,6 @@ enum bfd_reloc_code_real
   BFD_RELOC_NDS32_GOT20,
   BFD_RELOC_NDS32_9_PLTREL,
   BFD_RELOC_NDS32_25_PLTREL,
-  BFD_RELOC_NDS32_GLOB_DAT,
   BFD_RELOC_NDS32_JMP_SLOT,
   BFD_RELOC_NDS32_RELATIVE,
   BFD_RELOC_NDS32_GOTOFF,
@@ -5003,7 +4991,6 @@ enum bfd_reloc_code_real
   BFD_RELOC_V850_32_GOT,
   BFD_RELOC_V850_22_PLT_PCREL,
   BFD_RELOC_V850_32_PLT_PCREL,
-  BFD_RELOC_V850_GLOB_DAT,
   BFD_RELOC_V850_JMP_SLOT,
   BFD_RELOC_V850_RELATIVE,
   BFD_RELOC_V850_16_GOTOFF,
@@ -5157,7 +5144,6 @@ enum bfd_reloc_code_real
   BFD_RELOC_METAG_PLT,
   BFD_RELOC_METAG_JMP_SLOT,
   BFD_RELOC_METAG_RELATIVE,
-  BFD_RELOC_METAG_GLOB_DAT,
   BFD_RELOC_METAG_TLS_GD,
   BFD_RELOC_METAG_TLS_LDM,
   BFD_RELOC_METAG_TLS_LDO_HI16,
@@ -5481,9 +5467,6 @@ enum bfd_reloc_code_real
   /* 12 bit GOT offset.  */
   BFD_RELOC_390_GOT12,
 
-  /* Create GOT entry.  */
-  BFD_RELOC_390_GLOB_DAT,
-
   /* Create PLT entry.  */
   BFD_RELOC_390_JMP_SLOT,
 
@@ -5909,7 +5892,6 @@ enum bfd_reloc_code_real
   BFD_RELOC_CR16_SWITCH32,
   BFD_RELOC_CR16_GOT_REGREL20,
   BFD_RELOC_CR16_GOTC_REGREL20,
-  BFD_RELOC_CR16_GLOB_DAT,
 
   /* NS CRX Relocations.  */
   BFD_RELOC_CRX_REL4,
@@ -5947,7 +5929,6 @@ enum bfd_reloc_code_real
   BFD_RELOC_CRIS_UNSIGNED_4,
 
   /* Relocs used in ELF shared libraries for CRIS.  */
-  BFD_RELOC_CRIS_GLOB_DAT,
   BFD_RELOC_CRIS_JUMP_SLOT,
   BFD_RELOC_CRIS_RELATIVE,
 
@@ -6002,7 +5983,6 @@ enum bfd_reloc_code_real
   BFD_RELOC_OR1K_PLT26,
   BFD_RELOC_OR1K_PLTA26,
   BFD_RELOC_OR1K_GOTOFF_SLO16,
-  BFD_RELOC_OR1K_GLOB_DAT,
   BFD_RELOC_OR1K_JMP_SLOT,
   BFD_RELOC_OR1K_RELATIVE,
   BFD_RELOC_OR1K_TLS_GD_HI16,
@@ -6046,7 +6026,6 @@ enum bfd_reloc_code_real
   BFD_RELOC_RELC,
 
   /* Relocations used by VAX ELF.  */
-  BFD_RELOC_VAX_GLOB_DAT,
   BFD_RELOC_VAX_JMP_SLOT,
   BFD_RELOC_VAX_RELATIVE,
 
@@ -6140,7 +6119,6 @@ enum bfd_reloc_code_real
   BFD_RELOC_XTENSA_RTLD,
 
   /* Xtensa relocations for ELF shared objects.  */
-  BFD_RELOC_XTENSA_GLOB_DAT,
   BFD_RELOC_XTENSA_JMP_SLOT,
   BFD_RELOC_XTENSA_RELATIVE,
 
@@ -6280,7 +6258,6 @@ enum bfd_reloc_code_real
   BFD_RELOC_LM32_16_GOT,
   BFD_RELOC_LM32_GOTOFF_HI16,
   BFD_RELOC_LM32_GOTOFF_LO16,
-  BFD_RELOC_LM32_GLOB_DAT,
   BFD_RELOC_LM32_JMP_SLOT,
   BFD_RELOC_LM32_RELATIVE,
 
@@ -6976,7 +6953,6 @@ enum bfd_reloc_code_real
   BFD_RELOC_AARCH64_BRANCH9,
 
   /* Tilera TILEPro Relocations.  */
-  BFD_RELOC_TILEPRO_GLOB_DAT,
   BFD_RELOC_TILEPRO_JMP_SLOT,
   BFD_RELOC_TILEPRO_RELATIVE,
   BFD_RELOC_TILEPRO_BROFF_X1,
@@ -7063,7 +7039,6 @@ enum bfd_reloc_code_real
   BFD_RELOC_TILEGX_HW0_LAST,
   BFD_RELOC_TILEGX_HW1_LAST,
   BFD_RELOC_TILEGX_HW2_LAST,
-  BFD_RELOC_TILEGX_GLOB_DAT,
   BFD_RELOC_TILEGX_JMP_SLOT,
   BFD_RELOC_TILEGX_RELATIVE,
   BFD_RELOC_TILEGX_BROFF_X1,
index 0eb9b99e6b650e166855c20c9ca391fdeea8b377..60d2351ca56df107ec912c4c00e3a187f42befb5 100644 (file)
@@ -663,7 +663,7 @@ static const struct mn10300_reloc_map mn10300_reloc_map[] =
   { BFD_RELOC_MN10300_GOT24, R_MN10300_GOT24 },
   { BFD_RELOC_MN10300_GOT16, R_MN10300_GOT16 },
   { BFD_RELOC_COPY, R_MN10300_COPY },
-  { BFD_RELOC_MN10300_GLOB_DAT, R_MN10300_GLOB_DAT },
+  { BFD_RELOC_GLOB_DAT, R_MN10300_GLOB_DAT },
   { BFD_RELOC_MN10300_JMP_SLOT, R_MN10300_JMP_SLOT },
   { BFD_RELOC_MN10300_RELATIVE, R_MN10300_RELATIVE },
   { BFD_RELOC_MN10300_TLS_GD, R_MN10300_TLS_GD },
index f204e21eb3025c262de880d2d90455310cd4d539..ce020052ac0ad4280a0bdf50e03ff3e23bea54d7 100644 (file)
@@ -386,6 +386,7 @@ arc_elf_link_hash_table_create (bfd *abfd)
 #define BFD_RELOC_ARC_PC32     BFD_RELOC_32_PCREL
 #define BFD_RELOC_ARC_PLT32    BFD_RELOC_32_PLT_PCREL
 #define BFD_RELOC_ARC_COPY     BFD_RELOC_COPY
+#define BFD_RELOC_ARC_GLOB_DAT BFD_RELOC_GLOB_DAT
 
 static const struct arc_reloc_map arc_reloc_map[] =
 {
index b3054b4efa52ddd75b96faddc91496bea47c701a..980ac76cccc3cce8c87eb76646ae89a0dc27f98d 100644 (file)
@@ -2016,7 +2016,7 @@ static const struct elf32_arm_reloc_map elf32_arm_reloc_map[] =
     {BFD_RELOC_THUMB_PCREL_BRANCH20, R_ARM_THM_JUMP19},
     {BFD_RELOC_THUMB_PCREL_BRANCH9,  R_ARM_THM_JUMP8},
     {BFD_RELOC_THUMB_PCREL_BRANCH7,  R_ARM_THM_JUMP6},
-    {BFD_RELOC_ARM_GLOB_DAT,        R_ARM_GLOB_DAT},
+    {BFD_RELOC_GLOB_DAT,            R_ARM_GLOB_DAT},
     {BFD_RELOC_ARM_JUMP_SLOT,       R_ARM_JUMP_SLOT},
     {BFD_RELOC_ARM_RELATIVE,        R_ARM_RELATIVE},
     {BFD_RELOC_ARM_GOTOFF,          R_ARM_GOTOFF32},
index 06ba71ac1c4422540b4f40f5a20e1af4209f3f87..3a9571a54f8904915634b659c149d918aae6ba86 100644 (file)
@@ -109,7 +109,7 @@ static const struct cr16_reloc_map cr16_reloc_map[R_CR16_MAX] =
   {BFD_RELOC_CR16_SWITCH32,  R_CR16_SWITCH32},
   {BFD_RELOC_CR16_GOT_REGREL20, R_CR16_GOT_REGREL20},
   {BFD_RELOC_CR16_GOTC_REGREL20, R_CR16_GOTC_REGREL20},
-  {BFD_RELOC_CR16_GLOB_DAT,  R_CR16_GLOB_DAT}
+  {BFD_RELOC_GLOB_DAT,       R_CR16_GLOB_DAT}
 };
 
 static reloc_howto_type cr16_elf_howto_table[] =
index e6b11b99b3681a040bfebd80cd6991514d97d51e..909b4bd3744ae1dd668b9be9b01c61fa2ac165b4 100644 (file)
@@ -399,7 +399,7 @@ static const struct cris_reloc_map cris_reloc_map [] =
   { BFD_RELOC_VTABLE_INHERIT,  R_CRIS_GNU_VTINHERIT },
   { BFD_RELOC_VTABLE_ENTRY,    R_CRIS_GNU_VTENTRY },
   { BFD_RELOC_COPY,            R_CRIS_COPY },
-  { BFD_RELOC_CRIS_GLOB_DAT,   R_CRIS_GLOB_DAT },
+  { BFD_RELOC_GLOB_DAT,                R_CRIS_GLOB_DAT },
   { BFD_RELOC_CRIS_JUMP_SLOT,  R_CRIS_JUMP_SLOT },
   { BFD_RELOC_CRIS_RELATIVE,   R_CRIS_RELATIVE },
   { BFD_RELOC_CRIS_16_GOT,     R_CRIS_16_GOT },
index 85921ecc3b868365bf4e42f6319baadc5033940c..bc60a3a24a7f2aff23b3479028ef6fa3548cf1e1 100644 (file)
@@ -220,8 +220,8 @@ elf_i386_reloc_type_lookup (bfd *abfd,
       TRACE ("BFD_RELOC_COPY");
       return &elf_howto_table[R_386_COPY];
 
-    case BFD_RELOC_386_GLOB_DAT:
-      TRACE ("BFD_RELOC_386_GLOB_DAT");
+    case BFD_RELOC_GLOB_DAT:
+      TRACE ("BFD_RELOC_GLOB_DAT");
       return &elf_howto_table[R_386_GLOB_DAT];
 
     case BFD_RELOC_386_JUMP_SLOT:
index a616564617f4199ae8c116d77d37f3cb3489caad..9808f1a5cf65fb56bed7a54ad4126c2e31081689 100644 (file)
@@ -445,7 +445,7 @@ static const struct lm32_reloc_map lm32_reloc_map[] =
   { BFD_RELOC_LM32_GOTOFF_HI16, R_LM32_GOTOFF_HI16 },
   { BFD_RELOC_LM32_GOTOFF_LO16, R_LM32_GOTOFF_LO16 },
   { BFD_RELOC_COPY,            R_LM32_COPY },
-  { BFD_RELOC_LM32_GLOB_DAT,   R_LM32_GLOB_DAT },
+  { BFD_RELOC_GLOB_DAT,                R_LM32_GLOB_DAT },
   { BFD_RELOC_LM32_JMP_SLOT,   R_LM32_JMP_SLOT },
   { BFD_RELOC_LM32_RELATIVE,   R_LM32_RELATIVE },
 };
index ea266fe2bdde27a988b67db743ddc819b49fedf0..ef18b0fc0b4e97be9b6c8ab393003f100153b8db 100644 (file)
@@ -1212,7 +1212,7 @@ static const struct m32r_reloc_map m32r_reloc_map[] =
   { BFD_RELOC_M32R_GOT24, R_M32R_GOT24 },
   { BFD_RELOC_M32R_26_PLTREL, R_M32R_26_PLTREL },
   { BFD_RELOC_COPY, R_M32R_COPY },
-  { BFD_RELOC_M32R_GLOB_DAT, R_M32R_GLOB_DAT },
+  { BFD_RELOC_GLOB_DAT, R_M32R_GLOB_DAT },
   { BFD_RELOC_M32R_JMP_SLOT, R_M32R_JMP_SLOT },
   { BFD_RELOC_M32R_RELATIVE, R_M32R_RELATIVE },
   { BFD_RELOC_M32R_GOTOFF, R_M32R_GOTOFF },
index efe98b59f39dac08ffb4befa97de976d049e122a..485fa2764c2954afece47e241252f2e9ed1a43d7 100644 (file)
@@ -389,7 +389,7 @@ static const struct
   { BFD_RELOC_16_PLTOFF, R_68K_PLT16O },
   { BFD_RELOC_8_PLTOFF, R_68K_PLT8O },
   { BFD_RELOC_NONE, R_68K_COPY },
-  { BFD_RELOC_68K_GLOB_DAT, R_68K_GLOB_DAT },
+  { BFD_RELOC_GLOB_DAT, R_68K_GLOB_DAT },
   { BFD_RELOC_68K_JMP_SLOT, R_68K_JMP_SLOT },
   { BFD_RELOC_68K_RELATIVE, R_68K_RELATIVE },
   { BFD_RELOC_CTOR, R_68K_32 },
index c9b8226d190beecb0efa224b0f6aa852950286dc..ae5bd5228ad69f507b71be5cb64295587a91de74 100644 (file)
@@ -723,7 +723,7 @@ static const struct metag_reloc_map metag_reloc_map [] =
     { BFD_RELOC_COPY,               R_METAG_COPY },
     { BFD_RELOC_METAG_JMP_SLOT,             R_METAG_JMP_SLOT },
     { BFD_RELOC_METAG_RELATIVE,             R_METAG_RELATIVE },
-    { BFD_RELOC_METAG_GLOB_DAT,             R_METAG_GLOB_DAT },
+    { BFD_RELOC_GLOB_DAT,           R_METAG_GLOB_DAT },
     { BFD_RELOC_METAG_TLS_GD,       R_METAG_TLS_GD },
     { BFD_RELOC_METAG_TLS_LDM,      R_METAG_TLS_LDM },
     { BFD_RELOC_METAG_TLS_LDO_HI16,  R_METAG_TLS_LDO_HI16 },
index 96d7e7bada8e6d77efa8f9419ad5a2aff33953ca..eaa7d54c0c93a3b5c2cd0db6368e873dd91ca536 100644 (file)
@@ -3114,7 +3114,7 @@ static const struct nds32_reloc_map_entry nds32_reloc_map[] =
   {BFD_RELOC_NDS32_9_PLTREL, R_NDS32_9_PLTREL},
   {BFD_RELOC_NDS32_25_PLTREL, R_NDS32_25_PLTREL},
   {BFD_RELOC_COPY, R_NDS32_COPY},
-  {BFD_RELOC_NDS32_GLOB_DAT, R_NDS32_GLOB_DAT},
+  {BFD_RELOC_GLOB_DAT, R_NDS32_GLOB_DAT},
   {BFD_RELOC_NDS32_JMP_SLOT, R_NDS32_JMP_SLOT},
   {BFD_RELOC_NDS32_RELATIVE, R_NDS32_RELATIVE},
   {BFD_RELOC_NDS32_GOTOFF, R_NDS32_GOTOFF},
index 9236280f9c69ba003990eb8b9be3a743f334d735..2482a0eb40b25a9990059cb24da50e60795edd51 100644 (file)
@@ -875,7 +875,7 @@ static const struct or1k_reloc_map or1k_reloc_map[] =
   { BFD_RELOC_OR1K_GOTPC_LO16, R_OR1K_GOTPC_LO16 },
   { BFD_RELOC_OR1K_GOT16,      R_OR1K_GOT16 },
   { BFD_RELOC_OR1K_PLT26,      R_OR1K_PLT26 },
-  { BFD_RELOC_OR1K_GLOB_DAT,   R_OR1K_GLOB_DAT },
+  { BFD_RELOC_GLOB_DAT,                R_OR1K_GLOB_DAT },
   { BFD_RELOC_COPY,            R_OR1K_COPY },
   { BFD_RELOC_OR1K_JMP_SLOT,   R_OR1K_JMP_SLOT },
   { BFD_RELOC_OR1K_RELATIVE,   R_OR1K_RELATIVE },
index 467fbd68a4e9e14e9c4089f9d504471c84e731c2..39713ccc852fbdfeacabcb6e991c110251b7331d 100644 (file)
@@ -754,7 +754,7 @@ ppc_elf_reloc_type_lookup (bfd *abfd ATTRIBUTE_UNUSED,
     case BFD_RELOC_HI16_S_GOTOFF:      r = R_PPC_GOT16_HA;             break;
     case BFD_RELOC_24_PLT_PCREL:       r = R_PPC_PLTREL24;             break;
     case BFD_RELOC_COPY:               r = R_PPC_COPY;                 break;
-    case BFD_RELOC_PPC_GLOB_DAT:       r = R_PPC_GLOB_DAT;             break;
+    case BFD_RELOC_GLOB_DAT:           r = R_PPC_GLOB_DAT;             break;
     case BFD_RELOC_PPC_LOCAL24PC:      r = R_PPC_LOCAL24PC;            break;
     case BFD_RELOC_32_PCREL:           r = R_PPC_REL32;                break;
     case BFD_RELOC_32_PLTOFF:          r = R_PPC_PLT32;                break;
index 14beba4316972d73c96c174d25ac1efd4a941fbd..c8ab5abf5a1dd26c979d3c33800f56623558a569 100644 (file)
@@ -205,7 +205,7 @@ elf_s390_reloc_type_lookup (bfd *abfd ATTRIBUTE_UNUSED,
       return &elf_howto_table[(int) R_390_PLT32];
     case BFD_RELOC_COPY:
       return &elf_howto_table[(int) R_390_COPY];
-    case BFD_RELOC_390_GLOB_DAT:
+    case BFD_RELOC_GLOB_DAT:
       return &elf_howto_table[(int) R_390_GLOB_DAT];
     case BFD_RELOC_390_JMP_SLOT:
       return &elf_howto_table[(int) R_390_JMP_SLOT];
index 4fa3d758fa1c9c245c62ea820b216afb849c78b4..5cc4215326c71409e6b79b4fef75691216c9d7ed 100644 (file)
@@ -356,7 +356,7 @@ static const struct elf_reloc_map sh_reloc_map[] =
   { BFD_RELOC_32_GOT_PCREL, R_SH_GOT32 },
   { BFD_RELOC_32_PLT_PCREL, R_SH_PLT32 },
   { BFD_RELOC_COPY, R_SH_COPY },
-  { BFD_RELOC_SH_GLOB_DAT, R_SH_GLOB_DAT },
+  { BFD_RELOC_GLOB_DAT, R_SH_GLOB_DAT },
   { BFD_RELOC_SH_JMP_SLOT, R_SH_JMP_SLOT },
   { BFD_RELOC_SH_RELATIVE, R_SH_RELATIVE },
   { BFD_RELOC_32_GOTOFF, R_SH_GOTOFF },
index 7836b0e93c0f90de36147763b244781f7691166b..c39323a5f9774c78bde506b14b4346c0ebdb2c9f 100644 (file)
@@ -584,7 +584,7 @@ static const reloc_map tilepro_reloc_map [] =
 
   /* Custom relocations. */
   TH_REMAP (BFD_RELOC_COPY,                   R_TILEPRO_COPY)
-  TH_REMAP (BFD_RELOC_TILEPRO_GLOB_DAT,               R_TILEPRO_GLOB_DAT)
+  TH_REMAP (BFD_RELOC_GLOB_DAT,                       R_TILEPRO_GLOB_DAT)
   TH_REMAP (BFD_RELOC_TILEPRO_JMP_SLOT,               R_TILEPRO_JMP_SLOT)
   TH_REMAP (BFD_RELOC_TILEPRO_RELATIVE,               R_TILEPRO_RELATIVE)
   TH_REMAP (BFD_RELOC_TILEPRO_BROFF_X1,               R_TILEPRO_BROFF_X1)
index 79984a4e7c1f6ef51473de507b5cbb5da6ee2188..36a39f6c7c881e5d7aabb09ee7c2689b70685549 100644 (file)
@@ -1737,7 +1737,7 @@ static const struct v850_elf_reloc_map v850_elf_reloc_map[] =
   { BFD_RELOC_V850_22_PLT_PCREL,          R_V850_22_PLT                 },
   { BFD_RELOC_V850_32_PLT_PCREL,          R_V850_32_PLT                 },
   { BFD_RELOC_COPY,                       R_V850_COPY                   },
-  { BFD_RELOC_V850_GLOB_DAT,              R_V850_GLOB_DAT               },
+  { BFD_RELOC_GLOB_DAT,                           R_V850_GLOB_DAT               },
   { BFD_RELOC_V850_JMP_SLOT,              R_V850_JMP_SLOT               },
   { BFD_RELOC_V850_RELATIVE,              R_V850_RELATIVE               },
   { BFD_RELOC_V850_16_GOTOFF,             R_V850_16_GOTOFF              },
index 0d0bb0d8b15fb7efec2165f37eeefac53be8ecc9..cbcf330faacadaf453b5ff1665eca4db8a0dbad0 100644 (file)
@@ -312,7 +312,7 @@ static const struct
   { BFD_RELOC_32_GOT_PCREL, R_VAX_GOT32 },
   { BFD_RELOC_32_PLT_PCREL, R_VAX_PLT32 },
   { BFD_RELOC_NONE, R_VAX_COPY },
-  { BFD_RELOC_VAX_GLOB_DAT, R_VAX_GLOB_DAT },
+  { BFD_RELOC_GLOB_DAT, R_VAX_GLOB_DAT },
   { BFD_RELOC_VAX_JMP_SLOT, R_VAX_JMP_SLOT },
   { BFD_RELOC_VAX_RELATIVE, R_VAX_RELATIVE },
   { BFD_RELOC_CTOR, R_VAX_32 },
index da0f434c66250b3d1b55b78aa2fd6a1ace31c859..e7fb575acb897723f1d675ace506f7431f8fda76 100644 (file)
@@ -413,8 +413,8 @@ elf_xtensa_reloc_type_lookup (bfd *abfd ATTRIBUTE_UNUSED,
       TRACE ("BFD_RELOC_XTENSA_RTLD");
       return &elf_howto_table[(unsigned) R_XTENSA_RTLD ];
 
-    case BFD_RELOC_XTENSA_GLOB_DAT:
-      TRACE ("BFD_RELOC_XTENSA_GLOB_DAT");
+    case BFD_RELOC_GLOB_DAT:
+      TRACE ("BFD_RELOC_GLOB_DAT");
       return &elf_howto_table[(unsigned) R_XTENSA_GLOB_DAT ];
 
     case BFD_RELOC_XTENSA_JMP_SLOT:
index b8bb96ecdaf60da566a5cbe4c3ff33947c31d303..419840a5de2e323f825b0a7c656b4dcdc53f5f78 100644 (file)
@@ -1079,7 +1079,7 @@ ppc64_elf_reloc_type_lookup (bfd *abfd, bfd_reloc_code_real_type code)
       break;
     case BFD_RELOC_COPY:                       r = R_PPC64_COPY;
       break;
-    case BFD_RELOC_PPC_GLOB_DAT:               r = R_PPC64_GLOB_DAT;
+    case BFD_RELOC_GLOB_DAT:                   r = R_PPC64_GLOB_DAT;
       break;
     case BFD_RELOC_32_PCREL:                   r = R_PPC64_REL32;
       break;
index 16428bcd603f6754d3becd60ec9557b3244508da..f5d0ad4fd8b98a6f8d21314b735925fd15f970d9 100644 (file)
@@ -219,7 +219,7 @@ elf_s390_reloc_type_lookup (bfd *abfd,
       return &elf_howto_table[(int) R_390_PLT32];
     case BFD_RELOC_COPY:
       return &elf_howto_table[(int) R_390_COPY];
-    case BFD_RELOC_390_GLOB_DAT:
+    case BFD_RELOC_GLOB_DAT:
       return &elf_howto_table[(int) R_390_GLOB_DAT];
     case BFD_RELOC_390_JMP_SLOT:
       return &elf_howto_table[(int) R_390_JMP_SLOT];
index dd5bb3daaef8140ca6daf5d5f6226417c75ea7e4..01ed8bab59b107b28f96a0be563ee0192915d0dc 100644 (file)
@@ -235,7 +235,7 @@ static const struct elf_reloc_map x86_64_reloc_map[] =
   { BFD_RELOC_X86_64_GOT32,    R_X86_64_GOT32,},
   { BFD_RELOC_32_PLT_PCREL,    R_X86_64_PLT32,},
   { BFD_RELOC_COPY,            R_X86_64_COPY, },
-  { BFD_RELOC_X86_64_GLOB_DAT, R_X86_64_GLOB_DAT, },
+  { BFD_RELOC_GLOB_DAT,                R_X86_64_GLOB_DAT, },
   { BFD_RELOC_X86_64_JUMP_SLOT, R_X86_64_JUMP_SLOT, },
   { BFD_RELOC_X86_64_RELATIVE, R_X86_64_RELATIVE, },
   { BFD_RELOC_X86_64_GOTPCREL, R_X86_64_GOTPCREL, },
index 1eabf53d9f5e4522566278e57113ad5e27da47ab..6b3391bc76dbf26389f1850ef460474d27804f41 100644 (file)
@@ -375,7 +375,7 @@ _bfd_sparc_elf_reloc_type_lookup (bfd *abfd,
     case BFD_RELOC_COPY:
       return &_bfd_sparc_elf_howto_table[R_SPARC_COPY];
 
-    case BFD_RELOC_SPARC_GLOB_DAT:
+    case BFD_RELOC_GLOB_DAT:
       return &_bfd_sparc_elf_howto_table[R_SPARC_GLOB_DAT];
 
     case BFD_RELOC_SPARC_JMP_SLOT:
index 09f11e3c824a10d3a3d6a367fdaf72aeecdc7f40..63f6859fc54b2d314c98e5afc0062ea6fbf51bb8 100644 (file)
@@ -651,6 +651,7 @@ static const reloc_map tilegx_reloc_map [] =
   TH_REMAP (BFD_RELOC_16_PCREL,                       R_TILEGX_16_PCREL)
   TH_REMAP (BFD_RELOC_8_PCREL,                R_TILEGX_8_PCREL)
   TH_REMAP (BFD_RELOC_COPY,                   R_TILEGX_COPY)
+  TH_REMAP (BFD_RELOC_GLOB_DAT,                       R_TILEGX_GLOB_DAT)
 
 #define SIMPLE_REMAP(t) TH_REMAP (BFD_RELOC_##t, R_##t)
 
@@ -662,7 +663,6 @@ static const reloc_map tilegx_reloc_map [] =
   SIMPLE_REMAP (TILEGX_HW0_LAST)
   SIMPLE_REMAP (TILEGX_HW1_LAST)
   SIMPLE_REMAP (TILEGX_HW2_LAST)
-  SIMPLE_REMAP (TILEGX_GLOB_DAT)
   SIMPLE_REMAP (TILEGX_JMP_SLOT)
   SIMPLE_REMAP (TILEGX_RELATIVE)
   SIMPLE_REMAP (TILEGX_BROFF_X1)
index 8cad7cbadf484a2b66ec61029431bb86fb6a0a21..b3a491102c0105e915cafea0e780adea6b35d1d7 100644 (file)
@@ -1100,10 +1100,10 @@ static const char *const bfd_reloc_code_real_names[] = { "@@uninitialized@@",
   "BFD_RELOC_HI16_S_PLTOFF",
   "BFD_RELOC_8_PLTOFF",
   "BFD_RELOC_COPY",
+  "BFD_RELOC_GLOB_DAT",
   "BFD_RELOC_IRELATIVE",
   "BFD_RELOC_SIZE32",
   "BFD_RELOC_SIZE64",
-  "BFD_RELOC_68K_GLOB_DAT",
   "BFD_RELOC_68K_JMP_SLOT",
   "BFD_RELOC_68K_RELATIVE",
   "BFD_RELOC_68K_TLS_GD32",
@@ -1146,7 +1146,6 @@ static const char *const bfd_reloc_code_real_names[] = { "@@uninitialized@@",
   "BFD_RELOC_SPARC_PC10",
   "BFD_RELOC_SPARC_PC22",
   "BFD_RELOC_SPARC_WPLT30",
-  "BFD_RELOC_SPARC_GLOB_DAT",
   "BFD_RELOC_SPARC_JMP_SLOT",
   "BFD_RELOC_SPARC_RELATIVE",
   "BFD_RELOC_SPARC_UA16",
@@ -1399,7 +1398,6 @@ static const char *const bfd_reloc_code_real_names[] = { "@@uninitialized@@",
   "BFD_RELOC_MN10300_GOT32",
   "BFD_RELOC_MN10300_GOT24",
   "BFD_RELOC_MN10300_GOT16",
-  "BFD_RELOC_MN10300_GLOB_DAT",
   "BFD_RELOC_MN10300_JMP_SLOT",
   "BFD_RELOC_MN10300_RELATIVE",
   "BFD_RELOC_MN10300_SYM_DIFF",
@@ -1417,7 +1415,6 @@ static const char *const bfd_reloc_code_real_names[] = { "@@uninitialized@@",
   "BFD_RELOC_MN10300_16_PCREL",
   "BFD_RELOC_386_GOT32",
   "BFD_RELOC_386_PLT32",
-  "BFD_RELOC_386_GLOB_DAT",
   "BFD_RELOC_386_JUMP_SLOT",
   "BFD_RELOC_386_RELATIVE",
   "BFD_RELOC_386_GOTOFF",
@@ -1439,7 +1436,6 @@ static const char *const bfd_reloc_code_real_names[] = { "@@uninitialized@@",
   "BFD_RELOC_386_TLS_DESC",
   "BFD_RELOC_386_GOT32X",
   "BFD_RELOC_X86_64_GOT32",
-  "BFD_RELOC_X86_64_GLOB_DAT",
   "BFD_RELOC_X86_64_JUMP_SLOT",
   "BFD_RELOC_X86_64_RELATIVE",
   "BFD_RELOC_X86_64_GOTPCREL",
@@ -1505,7 +1501,6 @@ static const char *const bfd_reloc_code_real_names[] = { "@@uninitialized@@",
   "BFD_RELOC_PPC_BA16",
   "BFD_RELOC_PPC_BA16_BRTAKEN",
   "BFD_RELOC_PPC_BA16_BRNTAKEN",
-  "BFD_RELOC_PPC_GLOB_DAT",
   "BFD_RELOC_PPC_JMP_SLOT",
   "BFD_RELOC_PPC_RELATIVE",
   "BFD_RELOC_PPC_LOCAL24PC",
@@ -1701,7 +1696,6 @@ static const char *const bfd_reloc_code_real_names[] = { "@@uninitialized@@",
   "BFD_RELOC_ARM_TLS_LDM32_FDPIC",
   "BFD_RELOC_ARM_TLS_IE32_FDPIC",
   "BFD_RELOC_ARM_JUMP_SLOT",
-  "BFD_RELOC_ARM_GLOB_DAT",
   "BFD_RELOC_ARM_GOT32",
   "BFD_RELOC_ARM_RELATIVE",
   "BFD_RELOC_ARM_GOTOFF",
@@ -1809,7 +1803,6 @@ static const char *const bfd_reloc_code_real_names[] = { "@@uninitialized@@",
   "BFD_RELOC_SH_LABEL",
   "BFD_RELOC_SH_LOOP_START",
   "BFD_RELOC_SH_LOOP_END",
-  "BFD_RELOC_SH_GLOB_DAT",
   "BFD_RELOC_SH_JMP_SLOT",
   "BFD_RELOC_SH_RELATIVE",
   "BFD_RELOC_SH_GOTPC",
@@ -1917,7 +1910,6 @@ static const char *const bfd_reloc_code_real_names[] = { "@@uninitialized@@",
   "BFD_RELOC_ARC_32_PCREL",
   "BFD_RELOC_ARC_GOT32",
   "BFD_RELOC_ARC_GOTPC32",
-  "BFD_RELOC_ARC_GLOB_DAT",
   "BFD_RELOC_ARC_JMP_SLOT",
   "BFD_RELOC_ARC_RELATIVE",
   "BFD_RELOC_ARC_GOTOFF",
@@ -2017,7 +2009,6 @@ static const char *const bfd_reloc_code_real_names[] = { "@@uninitialized@@",
   "BFD_RELOC_M32R_SDA16",
   "BFD_RELOC_M32R_GOT24",
   "BFD_RELOC_M32R_26_PLTREL",
-  "BFD_RELOC_M32R_GLOB_DAT",
   "BFD_RELOC_M32R_JMP_SLOT",
   "BFD_RELOC_M32R_RELATIVE",
   "BFD_RELOC_M32R_GOTOFF",
@@ -2054,7 +2045,6 @@ static const char *const bfd_reloc_code_real_names[] = { "@@uninitialized@@",
   "BFD_RELOC_NDS32_GOT20",
   "BFD_RELOC_NDS32_9_PLTREL",
   "BFD_RELOC_NDS32_25_PLTREL",
-  "BFD_RELOC_NDS32_GLOB_DAT",
   "BFD_RELOC_NDS32_JMP_SLOT",
   "BFD_RELOC_NDS32_RELATIVE",
   "BFD_RELOC_NDS32_GOTOFF",
@@ -2195,7 +2185,6 @@ static const char *const bfd_reloc_code_real_names[] = { "@@uninitialized@@",
   "BFD_RELOC_V850_32_GOT",
   "BFD_RELOC_V850_22_PLT_PCREL",
   "BFD_RELOC_V850_32_PLT_PCREL",
-  "BFD_RELOC_V850_GLOB_DAT",
   "BFD_RELOC_V850_JMP_SLOT",
   "BFD_RELOC_V850_RELATIVE",
   "BFD_RELOC_V850_16_GOTOFF",
@@ -2292,7 +2281,6 @@ static const char *const bfd_reloc_code_real_names[] = { "@@uninitialized@@",
   "BFD_RELOC_METAG_PLT",
   "BFD_RELOC_METAG_JMP_SLOT",
   "BFD_RELOC_METAG_RELATIVE",
-  "BFD_RELOC_METAG_GLOB_DAT",
   "BFD_RELOC_METAG_TLS_GD",
   "BFD_RELOC_METAG_TLS_LDM",
   "BFD_RELOC_METAG_TLS_LDO_HI16",
@@ -2476,7 +2464,6 @@ static const char *const bfd_reloc_code_real_names[] = { "@@uninitialized@@",
   "BFD_RELOC_RX_RELAX",
   "BFD_RELOC_390_12",
   "BFD_RELOC_390_GOT12",
-  "BFD_RELOC_390_GLOB_DAT",
   "BFD_RELOC_390_JMP_SLOT",
   "BFD_RELOC_390_RELATIVE",
   "BFD_RELOC_390_GOTPC",
@@ -2690,7 +2677,6 @@ static const char *const bfd_reloc_code_real_names[] = { "@@uninitialized@@",
   "BFD_RELOC_CR16_SWITCH32",
   "BFD_RELOC_CR16_GOT_REGREL20",
   "BFD_RELOC_CR16_GOTC_REGREL20",
-  "BFD_RELOC_CR16_GLOB_DAT",
   "BFD_RELOC_CRX_REL4",
   "BFD_RELOC_CRX_REL8",
   "BFD_RELOC_CRX_REL8_CMP",
@@ -2721,7 +2707,6 @@ static const char *const bfd_reloc_code_real_names[] = { "@@uninitialized@@",
   "BFD_RELOC_CRIS_UNSIGNED_16",
   "BFD_RELOC_CRIS_LAPCQ_OFFSET",
   "BFD_RELOC_CRIS_UNSIGNED_4",
-  "BFD_RELOC_CRIS_GLOB_DAT",
   "BFD_RELOC_CRIS_JUMP_SLOT",
   "BFD_RELOC_CRIS_RELATIVE",
   "BFD_RELOC_CRIS_32_GOT",
@@ -2757,7 +2742,6 @@ static const char *const bfd_reloc_code_real_names[] = { "@@uninitialized@@",
   "BFD_RELOC_OR1K_PLT26",
   "BFD_RELOC_OR1K_PLTA26",
   "BFD_RELOC_OR1K_GOTOFF_SLO16",
-  "BFD_RELOC_OR1K_GLOB_DAT",
   "BFD_RELOC_OR1K_JMP_SLOT",
   "BFD_RELOC_OR1K_RELATIVE",
   "BFD_RELOC_OR1K_TLS_GD_HI16",
@@ -2793,7 +2777,6 @@ static const char *const bfd_reloc_code_real_names[] = { "@@uninitialized@@",
   "BFD_RELOC_XSTORMY16_24",
   "BFD_RELOC_XSTORMY16_FPTR16",
   "BFD_RELOC_RELC",
-  "BFD_RELOC_VAX_GLOB_DAT",
   "BFD_RELOC_VAX_JMP_SLOT",
   "BFD_RELOC_VAX_RELATIVE",
   "BFD_RELOC_MT_PC16",
@@ -2842,7 +2825,6 @@ static const char *const bfd_reloc_code_real_names[] = { "@@uninitialized@@",
   "BFD_RELOC_IQ2000_OFFSET_21",
   "BFD_RELOC_IQ2000_UHI16",
   "BFD_RELOC_XTENSA_RTLD",
-  "BFD_RELOC_XTENSA_GLOB_DAT",
   "BFD_RELOC_XTENSA_JMP_SLOT",
   "BFD_RELOC_XTENSA_RELATIVE",
   "BFD_RELOC_XTENSA_PLT",
@@ -2913,7 +2895,6 @@ static const char *const bfd_reloc_code_real_names[] = { "@@uninitialized@@",
   "BFD_RELOC_LM32_16_GOT",
   "BFD_RELOC_LM32_GOTOFF_HI16",
   "BFD_RELOC_LM32_GOTOFF_LO16",
-  "BFD_RELOC_LM32_GLOB_DAT",
   "BFD_RELOC_LM32_JMP_SLOT",
   "BFD_RELOC_LM32_RELATIVE",
   "BFD_RELOC_MACH_O_SECTDIFF",
@@ -3166,7 +3147,6 @@ static const char *const bfd_reloc_code_real_names[] = { "@@uninitialized@@",
   "BFD_RELOC_AARCH64_TLSIE_LD_GOTTPREL_LO12_NC",
   "BFD_RELOC_AARCH64_TLSDESC_LD_LO12_NC",
   "BFD_RELOC_AARCH64_BRANCH9",
-  "BFD_RELOC_TILEPRO_GLOB_DAT",
   "BFD_RELOC_TILEPRO_JMP_SLOT",
   "BFD_RELOC_TILEPRO_RELATIVE",
   "BFD_RELOC_TILEPRO_BROFF_X1",
@@ -3251,7 +3231,6 @@ static const char *const bfd_reloc_code_real_names[] = { "@@uninitialized@@",
   "BFD_RELOC_TILEGX_HW0_LAST",
   "BFD_RELOC_TILEGX_HW1_LAST",
   "BFD_RELOC_TILEGX_HW2_LAST",
-  "BFD_RELOC_TILEGX_GLOB_DAT",
   "BFD_RELOC_TILEGX_JMP_SLOT",
   "BFD_RELOC_TILEGX_RELATIVE",
   "BFD_RELOC_TILEGX_BROFF_X1",
index 792ebb8955c2cfdd1c68e9c096c0fa08388e328f..451de44ee764e4df4a628a19013987903e47a446 100644 (file)
@@ -1472,6 +1472,8 @@ ENUMX
   BFD_RELOC_8_PLTOFF
 ENUMX
   BFD_RELOC_COPY
+ENUMX
+  BFD_RELOC_GLOB_DAT
 ENUMX
   BFD_RELOC_IRELATIVE
 ENUMDOC
@@ -1485,8 +1487,6 @@ ENUMDOC
   Size relocations.
 
 ENUM
-  BFD_RELOC_68K_GLOB_DAT
-ENUMX
   BFD_RELOC_68K_JMP_SLOT
 ENUMX
   BFD_RELOC_68K_RELATIVE
@@ -1597,8 +1597,6 @@ ENUMX
   BFD_RELOC_SPARC_PC22
 ENUMX
   BFD_RELOC_SPARC_WPLT30
-ENUMX
-  BFD_RELOC_SPARC_GLOB_DAT
 ENUMX
   BFD_RELOC_SPARC_JMP_SLOT
 ENUMX
@@ -2296,10 +2294,6 @@ ENUM
 ENUMDOC
   This is a 16bit GOT-relative reloc for the mn10300, offset by two
   bytes in the instruction.
-ENUM
-  BFD_RELOC_MN10300_GLOB_DAT
-ENUMDOC
-  Create GOT entry.
 ENUM
   BFD_RELOC_MN10300_JMP_SLOT
 ENUMDOC
@@ -2354,8 +2348,6 @@ ENUM
   BFD_RELOC_386_GOT32
 ENUMX
   BFD_RELOC_386_PLT32
-ENUMX
-  BFD_RELOC_386_GLOB_DAT
 ENUMX
   BFD_RELOC_386_JUMP_SLOT
 ENUMX
@@ -2401,8 +2393,6 @@ ENUMDOC
 
 ENUM
   BFD_RELOC_X86_64_GOT32
-ENUMX
-  BFD_RELOC_X86_64_GLOB_DAT
 ENUMX
   BFD_RELOC_X86_64_JUMP_SLOT
 ENUMX
@@ -2545,8 +2535,6 @@ ENUMX
   BFD_RELOC_PPC_BA16_BRTAKEN
 ENUMX
   BFD_RELOC_PPC_BA16_BRNTAKEN
-ENUMX
-  BFD_RELOC_PPC_GLOB_DAT
 ENUMX
   BFD_RELOC_PPC_JMP_SLOT
 ENUMX
@@ -3015,8 +3003,6 @@ ENUMDOC
 
 ENUM
   BFD_RELOC_ARM_JUMP_SLOT
-ENUMX
-  BFD_RELOC_ARM_GLOB_DAT
 ENUMX
   BFD_RELOC_ARM_GOT32
 ENUMX
@@ -3250,8 +3236,6 @@ ENUMX
   BFD_RELOC_SH_LOOP_START
 ENUMX
   BFD_RELOC_SH_LOOP_END
-ENUMX
-  BFD_RELOC_SH_GLOB_DAT
 ENUMX
   BFD_RELOC_SH_JMP_SLOT
 ENUMX
@@ -3469,8 +3453,6 @@ ENUMX
   BFD_RELOC_ARC_GOT32
 ENUMX
   BFD_RELOC_ARC_GOTPC32
-ENUMX
-  BFD_RELOC_ARC_GLOB_DAT
 ENUMX
   BFD_RELOC_ARC_JMP_SLOT
 ENUMX
@@ -3816,8 +3798,6 @@ ENUM
   BFD_RELOC_M32R_GOT24
 ENUMX
   BFD_RELOC_M32R_26_PLTREL
-ENUMX
-  BFD_RELOC_M32R_GLOB_DAT
 ENUMX
   BFD_RELOC_M32R_JMP_SLOT
 ENUMX
@@ -3951,8 +3931,6 @@ ENUMX
   BFD_RELOC_NDS32_9_PLTREL
 ENUMX
   BFD_RELOC_NDS32_25_PLTREL
-ENUMX
-  BFD_RELOC_NDS32_GLOB_DAT
 ENUMX
   BFD_RELOC_NDS32_JMP_SLOT
 ENUMX
@@ -4334,8 +4312,6 @@ ENUMX
   BFD_RELOC_V850_22_PLT_PCREL
 ENUMX
   BFD_RELOC_V850_32_PLT_PCREL
-ENUMX
-  BFD_RELOC_V850_GLOB_DAT
 ENUMX
   BFD_RELOC_V850_JMP_SLOT
 ENUMX
@@ -4596,8 +4572,6 @@ ENUMX
   BFD_RELOC_METAG_JMP_SLOT
 ENUMX
   BFD_RELOC_METAG_RELATIVE
-ENUMX
-  BFD_RELOC_METAG_GLOB_DAT
 ENUMX
   BFD_RELOC_METAG_TLS_GD
 ENUMX
@@ -5111,10 +5085,6 @@ ENUM
   BFD_RELOC_390_GOT12
 ENUMDOC
   12 bit GOT offset.
-ENUM
-  BFD_RELOC_390_GLOB_DAT
-ENUMDOC
-  Create GOT entry.
 ENUM
   BFD_RELOC_390_JMP_SLOT
 ENUMDOC
@@ -5760,8 +5730,6 @@ ENUMX
   BFD_RELOC_CR16_GOT_REGREL20
 ENUMX
   BFD_RELOC_CR16_GOTC_REGREL20
-ENUMX
-  BFD_RELOC_CR16_GLOB_DAT
 ENUMDOC
   NS CR16 Relocations.
 
@@ -5832,8 +5800,6 @@ ENUMDOC
   These relocs are only used within the CRIS assembler.  They are not
   (at present) written to any object files.
 ENUM
-  BFD_RELOC_CRIS_GLOB_DAT
-ENUMX
   BFD_RELOC_CRIS_JUMP_SLOT
 ENUMX
   BFD_RELOC_CRIS_RELATIVE
@@ -5924,8 +5890,6 @@ ENUMX
   BFD_RELOC_OR1K_PLTA26
 ENUMX
   BFD_RELOC_OR1K_GOTOFF_SLO16
-ENUMX
-  BFD_RELOC_OR1K_GLOB_DAT
 ENUMX
   BFD_RELOC_OR1K_JMP_SLOT
 ENUMX
@@ -6009,8 +5973,6 @@ ENUMDOC
   Self-describing complex relocations.
 
 ENUM
-  BFD_RELOC_VAX_GLOB_DAT
-ENUMX
   BFD_RELOC_VAX_JMP_SLOT
 ENUMX
   BFD_RELOC_VAX_RELATIVE
@@ -6157,8 +6119,6 @@ ENUMDOC
   objects to indicate that the runtime linker should set the value
   to one of its own internal functions or data structures.
 ENUM
-  BFD_RELOC_XTENSA_GLOB_DAT
-ENUMX
   BFD_RELOC_XTENSA_JMP_SLOT
 ENUMX
   BFD_RELOC_XTENSA_RELATIVE
@@ -6370,8 +6330,6 @@ ENUMX
   BFD_RELOC_LM32_GOTOFF_HI16
 ENUMX
   BFD_RELOC_LM32_GOTOFF_LO16
-ENUMX
-  BFD_RELOC_LM32_GLOB_DAT
 ENUMX
   BFD_RELOC_LM32_JMP_SLOT
 ENUMX
@@ -7325,8 +7283,6 @@ ENUMDOC
   The lowest two bits must be zero and are not stored in the
   instruction, giving an 11 bit signed byte offset.
 ENUM
-  BFD_RELOC_TILEPRO_GLOB_DAT
-ENUMX
   BFD_RELOC_TILEPRO_JMP_SLOT
 ENUMX
   BFD_RELOC_TILEPRO_RELATIVE
@@ -7496,8 +7452,6 @@ ENUMX
   BFD_RELOC_TILEGX_HW1_LAST
 ENUMX
   BFD_RELOC_TILEGX_HW2_LAST
-ENUMX
-  BFD_RELOC_TILEGX_GLOB_DAT
 ENUMX
   BFD_RELOC_TILEGX_JMP_SLOT
 ENUMX
index a35cecb59e60c55bbf9844898466bf6e3cca0d53..5187d2038412cc2fb02d0847db9adf71605b5f7d 100644 (file)
@@ -2089,7 +2089,7 @@ ppc_elf_suffix (char **str_p, expressionS *exp_p)
     MAP ("plt@h",              BFD_RELOC_HI16_PLTOFF),
     MAP ("plt@ha",             BFD_RELOC_HI16_S_PLTOFF),
     MAP ("copy",               BFD_RELOC_COPY),
-    MAP ("globdat",            BFD_RELOC_PPC_GLOB_DAT),
+    MAP ("globdat",            BFD_RELOC_GLOB_DAT),
     MAP ("sectoff",            BFD_RELOC_16_BASEREL),
     MAP ("sectoff@l",          BFD_RELOC_LO16_BASEREL),
     MAP ("sectoff@h",          BFD_RELOC_HI16_BASEREL),
@@ -3167,7 +3167,7 @@ fixup_size (bfd_reloc_code_real_type reloc, bool *pc_relative)
     case BFD_RELOC_COPY:
     case BFD_RELOC_PPC_DTPMOD:
     case BFD_RELOC_PPC_DTPREL:
-    case BFD_RELOC_PPC_GLOB_DAT:
+    case BFD_RELOC_GLOB_DAT:
     case BFD_RELOC_PPC_TPREL:
       size = ppc_obj64 ? 8 : 4;
       break;
@@ -7313,7 +7313,7 @@ md_apply_fix (fixS *fixP, valueT *valP, segT seg)
        case BFD_RELOC_PPC_TPREL:
        case BFD_RELOC_PPC_DTPREL:
        case BFD_RELOC_COPY:
-       case BFD_RELOC_PPC_GLOB_DAT:
+       case BFD_RELOC_GLOB_DAT:
        case BFD_RELOC_32_PLT_PCREL:
        case BFD_RELOC_PPC_EMB_NADDR32:
        case BFD_RELOC_PPC64_TOC:
@@ -7480,7 +7480,7 @@ md_apply_fix (fixS *fixP, valueT *valP, segT seg)
        case BFD_RELOC_HI16_PLTOFF:
        case BFD_RELOC_HI16_S_PLTOFF:
        case BFD_RELOC_COPY:
-       case BFD_RELOC_PPC_GLOB_DAT:
+       case BFD_RELOC_GLOB_DAT:
        case BFD_RELOC_16_BASEREL:
        case BFD_RELOC_LO16_BASEREL:
        case BFD_RELOC_HI16_BASEREL:
index aad2c1b4bc91f4d2e75d0977a96ac93fe43791ff..a2a3c83e8a4f095d7ecd7e34eaea64e8d095998d 100644 (file)
@@ -44,7 +44,7 @@ START_RELOC_NUMBERS (elf_cris_reloc_type)
   RELOC_NUMBER (R_CRIS_COPY, 9)
 
   /* Create GOT entry.  Generated by the linker.
-     The BFD equivalent is BFD_RELOC_CRIS_GLOB_DAT.  */
+     The BFD equivalent is BFD_RELOC_GLOB_DAT.  */
   RELOC_NUMBER (R_CRIS_GLOB_DAT, 10)
 
   /* Create PLT entry.  Generated by the linker.